Skip to content

Commit

Permalink
Merge pull request #569 from oat-sa/feature/REL-612/fix-jp-translations
Browse files Browse the repository at this point in the history
Feature/rel 612/fix jp translations
  • Loading branch information
siwane authored Feb 17, 2022
2 parents b56ade8 + 4fe96d0 commit f03c100
Show file tree
Hide file tree
Showing 7 changed files with 153 additions and 23 deletions.
4 changes: 2 additions & 2 deletions locales/ja-JP/category.rdf.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: TAO 3.4.0-sprint143\n"
"PO-Revision-Date: 2020-12-18T09:14:34\n"
"Project-Id-Version: TAO 2021.11\n"
"PO-Revision-Date: 2022-02-14T10:57:02\n"
"Last-Translator: TAO Translation Team <translation@tao.lu>\n"
"MIME-Version: 1.0\n"
"Language: ja-JP\n"
Expand Down
4 changes: 2 additions & 2 deletions locales/ja-JP/indexation.rdf.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: TAO 3.4.0-sprint143\n"
"PO-Revision-Date: 2020-12-18T09:14:34\n"
"Project-Id-Version: TAO 2021.11\n"
"PO-Revision-Date: 2022-02-14T10:57:02\n"
"Last-Translator: TAO Translation Team <translation@tao.lu>\n"
"MIME-Version: 1.0\n"
"Language: ja-JP\n"
Expand Down
24 changes: 12 additions & 12 deletions locales/ja-JP/messages.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: TAO 3.4.0-sprint143\n"
"PO-Revision-Date: 2020-12-18T09:14:34\n"
"Project-Id-Version: TAO 2022.01\n"
"PO-Revision-Date: 2022-02-17T14:38:22\n"
"Last-Translator: TAO Translation Team <translation@tao.lu>\n"
"MIME-Version: 1.0\n"
"Language: ja-JP\n"
Expand All @@ -22,14 +22,11 @@ msgstr "実際の大きさ"
msgid "and"
msgstr ""

msgid "and all of its content?"
msgstr ""

msgid "Are you sure you want to delete the class"
msgstr ""
msgid "Are you sure you want to delete the class %s and all of its content?"
msgstr "クラス%sとその全てのアイテムを削除しますか?"

msgid "Are you sure you want to delete the item"
msgstr ""
msgid "Are you sure you want to delete the item %s?"
msgstr "%sを削除してよろしいですか?"

msgid "Are you sure you want to delete this class and all of its content?"
msgstr ""
Expand Down Expand Up @@ -81,10 +78,10 @@ msgstr "以後表示しない!"
msgid "Duplicate"
msgstr "複製"

msgid "Edit Item"
msgid "Edit item"
msgstr "アイテム編集"

msgid "Edit item"
msgid "Edit Item"
msgstr "アイテム編集"

#, tao-public
Expand Down Expand Up @@ -131,7 +128,7 @@ msgid "Last updated on %2s"
msgstr ""

msgid "Manage item class schema"
msgstr ""
msgstr "スキーマ管理"

#, tao-public
msgid "Manage items"
Expand Down Expand Up @@ -233,6 +230,9 @@ msgstr "実行ディレクトリーを作成できません。"
msgid "Unable to delete the selected resource"
msgstr ""

msgid "Unable to delete the selected resource because you do not have the required rights to delete part of its content."
msgstr ""

msgid "Unable to render the item from %s : %s %s"
msgstr ""

Expand Down
2 changes: 1 addition & 1 deletion locales/ja-JP/messages_po.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions locales/ja-JP/taoItemRunner.rdf.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: TAO 3.4.0-sprint143\n"
"PO-Revision-Date: 2020-12-18T09:14:34\n"
"Project-Id-Version: TAO 2021.11\n"
"PO-Revision-Date: 2022-02-14T10:57:02\n"
"Last-Translator: TAO Translation Team <translation@tao.lu>\n"
"MIME-Version: 1.0\n"
"Language: ja-JP\n"
Expand Down
134 changes: 132 additions & 2 deletions locales/ja-JP/taoitem.rdf.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: TAO 3.4.0-sprint143\n"
"PO-Revision-Date: 2020-12-18T09:14:34\n"
"Project-Id-Version: TAO 2021.11\n"
"PO-Revision-Date: 2022-02-14T10:57:02\n"
"Last-Translator: TAO Translation Team <translation@tao.lu>\n"
"MIME-Version: 1.0\n"
"Language: ja-JP\n"
Expand Down Expand Up @@ -175,6 +175,136 @@ msgctxt "http://www.w3.org/2000/01/rdf-schema#comment"
msgid "The Item Author and Manager Role"
msgstr ""

# http://www.tao.lu/Ontologies/TAOItem.rdf#ItemRole
msgctxt "http://www.w3.org/2000/01/rdf-schema#label"
msgid "Item Role"
msgstr ""

# http://www.tao.lu/Ontologies/TAOItem.rdf#ItemRole
msgctxt "http://www.w3.org/2000/01/rdf-schema#comment"
msgid "Item Role Class"
msgstr ""

# http://www.tao.lu/Ontologies/TAOItem.rdf#ItemClassNavigatorRole
msgctxt "http://www.w3.org/2000/01/rdf-schema#label"
msgid "Item Class Navigator"
msgstr ""

# http://www.tao.lu/Ontologies/TAOItem.rdf#ItemClassNavigatorRole
msgctxt "http://www.w3.org/2000/01/rdf-schema#comment"
msgid "Item Class Navigator Role"
msgstr ""

# http://www.tao.lu/Ontologies/TAOItem.rdf#ItemClassEditorRole
msgctxt "http://www.w3.org/2000/01/rdf-schema#label"
msgid "Item Class Editor"
msgstr ""

# http://www.tao.lu/Ontologies/TAOItem.rdf#ItemClassEditorRole
msgctxt "http://www.w3.org/2000/01/rdf-schema#comment"
msgid "Item Class Editor Role"
msgstr ""

# http://www.tao.lu/Ontologies/TAOItem.rdf#ItemClassCreatorRole
msgctxt "http://www.w3.org/2000/01/rdf-schema#label"
msgid "Item Class Creator"
msgstr ""

# http://www.tao.lu/Ontologies/TAOItem.rdf#ItemClassCreatorRole
msgctxt "http://www.w3.org/2000/01/rdf-schema#comment"
msgid "Item Class Creator Role"
msgstr ""

# http://www.tao.lu/Ontologies/TAOItem.rdf#ItemClassSchemaManagerRole
msgctxt "http://www.w3.org/2000/01/rdf-schema#label"
msgid "Item Class Schema Manager"
msgstr ""

# http://www.tao.lu/Ontologies/TAOItem.rdf#ItemClassSchemaManagerRole
msgctxt "http://www.w3.org/2000/01/rdf-schema#comment"
msgid "Item Class Schema Manager Role"
msgstr ""

# http://www.tao.lu/Ontologies/TAOItem.rdf#ItemViewerRole
msgctxt "http://www.w3.org/2000/01/rdf-schema#label"
msgid "Item Viewer"
msgstr ""

# http://www.tao.lu/Ontologies/TAOItem.rdf#ItemViewerRole
msgctxt "http://www.w3.org/2000/01/rdf-schema#comment"
msgid "Item Viewer Role"
msgstr ""

# http://www.tao.lu/Ontologies/TAOItem.rdf#ItemReplicatorRole
msgctxt "http://www.w3.org/2000/01/rdf-schema#label"
msgid "Item Manager"
msgstr ""

# http://www.tao.lu/Ontologies/TAOItem.rdf#ItemReplicatorRole
msgctxt "http://www.w3.org/2000/01/rdf-schema#comment"
msgid "Item Manager Role"
msgstr ""

# http://www.tao.lu/Ontologies/TAOItem.rdf#ItemPreviewerRole
msgctxt "http://www.w3.org/2000/01/rdf-schema#label"
msgid "Item Previewer"
msgstr ""

# http://www.tao.lu/Ontologies/TAOItem.rdf#ItemPreviewerRole
msgctxt "http://www.w3.org/2000/01/rdf-schema#comment"
msgid "Item Previewer Role"
msgstr ""

# http://www.tao.lu/Ontologies/TAOItem.rdf#ItemPropertiesEditorRole
msgctxt "http://www.w3.org/2000/01/rdf-schema#label"
msgid "Item Properties Editor"
msgstr ""

# http://www.tao.lu/Ontologies/TAOItem.rdf#ItemPropertiesEditorRole
msgctxt "http://www.w3.org/2000/01/rdf-schema#comment"
msgid "Item Properties Editor Role"
msgstr ""

# http://www.tao.lu/Ontologies/TAOItem.rdf#ItemContentCreatorRole
msgctxt "http://www.w3.org/2000/01/rdf-schema#label"
msgid "Item Content Creator"
msgstr ""

# http://www.tao.lu/Ontologies/TAOItem.rdf#ItemContentCreatorRole
msgctxt "http://www.w3.org/2000/01/rdf-schema#comment"
msgid "Item Content Creator Role"
msgstr ""

# http://www.tao.lu/Ontologies/TAOItem.rdf#ItemResourceCreatorRole
msgctxt "http://www.w3.org/2000/01/rdf-schema#label"
msgid "Item Resource Creator"
msgstr ""

# http://www.tao.lu/Ontologies/TAOItem.rdf#ItemResourceCreatorRole
msgctxt "http://www.w3.org/2000/01/rdf-schema#comment"
msgid "Item Resource Creator Role"
msgstr ""

# http://www.tao.lu/Ontologies/TAOItem.rdf#ItemImporterRole
msgctxt "http://www.w3.org/2000/01/rdf-schema#label"
msgid "Item Importer"
msgstr ""

# http://www.tao.lu/Ontologies/TAOItem.rdf#ItemImporterRole
msgctxt "http://www.w3.org/2000/01/rdf-schema#comment"
msgid "Item Importer Role"
msgstr ""

# http://www.tao.lu/Ontologies/TAOItem.rdf#ItemDeleterRole
msgctxt "http://www.w3.org/2000/01/rdf-schema#label"
msgid "Item Deleter"
msgstr ""

# http://www.tao.lu/Ontologies/TAOItem.rdf#ItemDeleterRole
msgctxt "http://www.w3.org/2000/01/rdf-schema#comment"
msgid "Item Deleter Role"
msgstr ""

# http://www.tao.lu/Ontologies/TAOItem.rdf#ItemAuthor
msgctxt "http://www.w3.org/2000/01/rdf-schema#comment"
msgid "The Item Author Role"
Expand Down
4 changes: 2 additions & 2 deletions views/js/controller/items/action.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ define([
const name = prepareName($('a.clicked', actionContext.tree).text().trim());
if (relatedTests.length === 0) {
confirmDialog(
`${__('Are you sure you want to delete the item')} <b>${name}</b>?`,
__('Are you sure you want to delete the item %s?', `<b>${name}</b>`),
() => accept(actionContext, this.url, resolve, reject),
() => cancel(reject)
);
Expand Down Expand Up @@ -114,7 +114,7 @@ define([
const name = prepareName($('a.clicked', actionContext.tree).text().trim());
if (relatedTests.length === 0) {
confirmDeleteDialog(
`${__('Are you sure you want to delete the class')} <b>${name}</b> ${__('and all of its content?')}`,
__('Are you sure you want to delete the class %s and all of its content?', `<b>${name}</b>`),
() => accept(actionContext, this.url, resolve, reject),
() => cancel(reject)
);
Expand Down

0 comments on commit f03c100

Please sign in to comment.