mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
When cross-references in the original paragraph and the translated paragraph do not match, a warning is emitted. It is useful, because it allows to catch mistakes, but it can also be an annoyance since sometimes it is expected that the cross-references will not match. For example, a reference that is repeated in the original text may need to be factored out for good style in the target language. Another example: if the translator needs to translate a universally understood term in the source language into a term that not everyone knows is the translation of this original term, adding a reference to the glossary can be warranted. This allows the translated message to start with '#noqa' in order to disable the warning.
104 lines
2.2 KiB
Plaintext
104 lines
2.2 KiB
Plaintext
# SOME DESCRIPTIVE TITLE.
|
|
# Copyright (C) 2012, foof
|
|
# This file is distributed under the same license as the foo package.
|
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
|
#
|
|
#, fuzzy
|
|
msgid ""
|
|
msgstr ""
|
|
"Project-Id-Version: sphinx 1.0\n"
|
|
"Report-Msgid-Bugs-To: \n"
|
|
"POT-Creation-Date: 2012-11-22 08:28+0000\n"
|
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
"MIME-Version: 1.0\n"
|
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
|
|
msgid "i18n with literal block"
|
|
msgstr "I18N WITH LITERAL BLOCK"
|
|
|
|
msgid "Correct literal block::"
|
|
msgstr "CORRECT LITERAL BLOCK::"
|
|
|
|
msgid "Missing literal block::"
|
|
msgstr "MISSING LITERAL BLOCK::"
|
|
|
|
msgid "That's all."
|
|
msgstr "THAT'S ALL."
|
|
|
|
msgid "included raw.txt"
|
|
msgstr "INCLUDED RAW.TXT"
|
|
|
|
msgid "code blocks"
|
|
msgstr "CODE-BLOCKS"
|
|
|
|
msgid ""
|
|
"def main\n"
|
|
" 'result'\n"
|
|
"end"
|
|
msgstr ""
|
|
"def main\n"
|
|
" 'RESULT'\n"
|
|
"end"
|
|
|
|
msgid "example of C language"
|
|
msgstr "EXAMPLE OF C LANGUAGE"
|
|
|
|
msgid ""
|
|
"#include <stdlib.h>\n"
|
|
"int main(int argc, char** argv)\n"
|
|
"{\n"
|
|
" return 0;\n"
|
|
"}"
|
|
msgstr ""
|
|
"#include <STDLIB.H>\n"
|
|
"int main(int ARGC, char** ARGV)\n"
|
|
"{\n"
|
|
" return 0;\n"
|
|
"}"
|
|
|
|
msgid ""
|
|
"#include <stdio.h>\n"
|
|
"int main(int argc, char** argv)\n"
|
|
"{\n"
|
|
" return 0;\n"
|
|
"}"
|
|
msgstr ""
|
|
"#include <STDIO.H>\n"
|
|
"int main(int ARGC, char** ARGV)\n"
|
|
"{\n"
|
|
" return 0;\n"
|
|
"}"
|
|
|
|
msgid "literal-block\n"
|
|
"in list"
|
|
msgstr "LITERAL-BLOCK\n"
|
|
"IN LIST"
|
|
|
|
msgid "test_code_for_noqa()\n"
|
|
"continued()"
|
|
msgstr ""
|
|
"# TRAILING noqa SHOULD NOT GET STRIPPED\n"
|
|
"# FROM THIS BLOCK. #noqa"
|
|
|
|
msgid "doctest blocks"
|
|
msgstr "DOCTEST-BLOCKS"
|
|
|
|
msgid ""
|
|
">>> import sys # sys importing\n"
|
|
">>> def main(): # define main function\n"
|
|
"... sys.stdout.write('hello') # call write method of stdout object\n"
|
|
">>>\n"
|
|
">>> if __name__ == '__main__': # if run this py file as python script\n"
|
|
"... main() # call main"
|
|
msgstr ""
|
|
">>> import sys # SYS IMPORTING\n"
|
|
">>> def main(): # DEFINE MAIN FUNCTION\n"
|
|
"... sys.stdout.write('hello') # CALL WRITE METHOD OF STDOUT OBJECT\n"
|
|
">>>\n"
|
|
">>> if __name__ == '__main__': # IF RUN THIS PY FILE AS PYTHON SCRIPT\n"
|
|
"... main() # CALL MAIN"
|
|
|