Skip to content

Commit

Permalink
Let's call this just 'language-code'.
Browse files Browse the repository at this point in the history
  • Loading branch information
dnouri committed Mar 30, 2012
1 parent 3b73537 commit c878ace
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions deform/locale/deform.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: deform 0.9.4\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2012-03-28 23:21+0900\n"
"POT-Creation-Date: 2012-03-30 16:17+0200\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"
Expand Down Expand Up @@ -91,7 +91,7 @@ msgstr ""

#. Default: en
#: deform/templates/richtext.pt:15
msgid "language-code-for-tiny-mce-initalization"
msgid "language-code"
msgstr ""

#: deform/templates/sequence_item.pt:6
Expand Down
Binary file modified deform/locale/ja/LC_MESSAGES/deform.mo
Binary file not shown.
7 changes: 5 additions & 2 deletions deform/locale/ja/LC_MESSAGES/deform.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: deform 0.9.3\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2012-03-28 23:21+0900\n"
"POT-Creation-Date: 2012-03-30 16:17+0200\n"
"PO-Revision-Date: 2012-03-28 23:47+0900\n"
"Last-Translator: OCHIAI, Gouji <gjo.ext@gmail.com>\n"
"Language-Team: ja <LL@li.org>\n"
Expand Down Expand Up @@ -91,7 +91,7 @@ msgstr "このセクションで問題がありました"

#. Default: en
#: deform/templates/richtext.pt:15
msgid "language-code-for-tiny-mce-initalization"
msgid "language-code"
msgstr "ja"

#: deform/templates/sequence_item.pt:6
Expand All @@ -117,3 +117,6 @@ msgstr "選択中"
msgid "Not Selected"
msgstr "未選択"

#~ msgid "language-code-for-tiny-mce-initalization"
#~ msgstr "ja"

2 changes: 1 addition & 1 deletion deform/templates/richtext.pt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
jqoid_preload.remove();
tinyMCE.init({
mode: 'exact',
language: '<tal:block tal:omit-tag="" i18n:translate="language-code-for-tiny-mce-initalization">en</tal:block>',
language: '<tal:block i18n:translate="language-code">en</tal:block>',
elements: oid,
strict_loading_mode: true,
height: '${field.widget.height}',
Expand Down

0 comments on commit c878ace

Please sign in to comment.