refs #1235: i18n: 'literal-block' node can be translated if 'literal-block' is set to gettext_additional_targets.

This commit is contained in:
shimizukawa
2015-02-22 13:51:02 +09:00
parent d5dca56ff8
commit c53fa4b369
9 changed files with 187 additions and 10 deletions

View File

@@ -28,3 +28,40 @@ msgstr "MISSING LITERAL BLOCK::"
msgid "That's all."
msgstr "THAT'S ALL."
msgid "code blocks"
msgstr "CODE-BLOCKS"
msgid ""
"def main\n"
" 'result'\n"
"end"
msgstr ""
"def main\n"
" 'RESULT'\n"
"end"
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"
"}"

View File

@@ -11,3 +11,31 @@ Correct literal block::
Missing literal block::
That's all.
code blocks
==============
.. highlight:: ruby
::
def main
'result'
end
::
#include <stdlib.h>
int main(int argc, char** argv)
{
return 0;
}
.. code-block:: c
#include <stdio.h>
int main(int argc, char** argv)
{
return 0;
}