Repository: isis Updated Branches: refs/heads/master 23fd0eea8 -> db5061034
ISIS-903: changing file name suffix for .po files rather than _en-GB.po it should be -en_GB.po (etc) Project: http://git-wip-us.apache.org/repos/asf/isis/repo Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/a4498ac8 Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/a4498ac8 Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/a4498ac8 Branch: refs/heads/master Commit: a4498ac8b76d216bf892587696211acd920b5923 Parents: 23fd0ee Author: Dan Haywood <[email protected]> Authored: Fri Feb 20 13:16:57 2015 +0000 Committer: Dan Haywood <[email protected]> Committed: Fri Feb 20 13:16:57 2015 +0000 ---------------------------------------------------------------------- .../core/runtime/services/i18n/po/PoReader.java | 10 +- .../core/runtime/services/i18n/po/PoWriter.java | 8 +- .../main/webapp/WEB-INF/translations-en_GB.po | 155 +++++++++++++++++++ .../src/main/webapp/WEB-INF/translations.po | 8 +- .../main/webapp/WEB-INF/translations_en-GB.po | 155 ------------------- .../main/webapp/WEB-INF/translations-en-GB.po | 155 +++++++++++++++++++ .../src/main/webapp/WEB-INF/translations.po | 8 +- .../main/webapp/WEB-INF/translations_en-GB.po | 155 ------------------- 8 files changed, 330 insertions(+), 324 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/isis/blob/a4498ac8/core/runtime/src/main/java/org/apache/isis/core/runtime/services/i18n/po/PoReader.java ---------------------------------------------------------------------- diff --git a/core/runtime/src/main/java/org/apache/isis/core/runtime/services/i18n/po/PoReader.java b/core/runtime/src/main/java/org/apache/isis/core/runtime/services/i18n/po/PoReader.java index 435bb4e..3054965 100644 --- a/core/runtime/src/main/java/org/apache/isis/core/runtime/services/i18n/po/PoReader.java +++ b/core/runtime/src/main/java/org/apache/isis/core/runtime/services/i18n/po/PoReader.java @@ -33,6 +33,8 @@ import org.apache.isis.applib.services.i18n.TranslationsResolver; class PoReader extends PoAbstract { public static final String LOCATION_BASE_URL = "isis.services.translation.po.locationBaseUrl"; + public static final String DASH = "-"; + public static final String UNDERSCORE = "_"; public static Logger LOG = LoggerFactory.getLogger(PoReader.class); private final Map<Locale, Map<ContextAndMsgId, String>> translationByKeyByLocale = Maps.newHashMap(); @@ -185,9 +187,13 @@ class PoReader extends PoAbstract { final List<String> candidates = Lists.newArrayList(); if(!Strings.isNullOrEmpty(language)) { if(!Strings.isNullOrEmpty(country)) { - candidates.add(basename + "_" + language + "-" + country+ ".po"); + candidates.add(basename + DASH + language + UNDERSCORE + country+ ".po"); + candidates.add(basename + DASH + language + DASH + country+ ".po"); + candidates.add(basename + UNDERSCORE + language + UNDERSCORE + country+ ".po"); + candidates.add(basename + UNDERSCORE + language + DASH + country+ ".po"); } - candidates.add(basename + "_" + language + ".po"); + candidates.add(basename + DASH + language + ".po"); + candidates.add(basename + UNDERSCORE + language + ".po"); } for (final String candidate : candidates) { http://git-wip-us.apache.org/repos/asf/isis/blob/a4498ac8/core/runtime/src/main/java/org/apache/isis/core/runtime/services/i18n/po/PoWriter.java ---------------------------------------------------------------------- diff --git a/core/runtime/src/main/java/org/apache/isis/core/runtime/services/i18n/po/PoWriter.java b/core/runtime/src/main/java/org/apache/isis/core/runtime/services/i18n/po/PoWriter.java index d9962bd..2ed2fdd 100644 --- a/core/runtime/src/main/java/org/apache/isis/core/runtime/services/i18n/po/PoWriter.java +++ b/core/runtime/src/main/java/org/apache/isis/core/runtime/services/i18n/po/PoWriter.java @@ -62,10 +62,10 @@ class PoWriter extends PoAbstract { buf.append("\n#"); buf.append("\n# Translate this file to each required language and place in WEB-INF, eg:"); buf.append("\n#"); - buf.append("\n# /WEB-INF/translations_en-US.po"); - buf.append("\n# /WEB-INF/translations_en.po"); - buf.append("\n# /WEB-INF/translations_fr-FR.po"); - buf.append("\n# /WEB-INF/translations_fr.po"); + buf.append("\n# /WEB-INF/translations-en_US.po"); + buf.append("\n# /WEB-INF/translations-en.po"); + buf.append("\n# /WEB-INF/translations-fr_FR.po"); + buf.append("\n# /WEB-INF/translations-fr.po"); buf.append("\n# /WEB-INF/translations.po"); buf.append("\n#"); buf.append("\n# If the app uses TranslatableString (eg for internationalized validation"); http://git-wip-us.apache.org/repos/asf/isis/blob/a4498ac8/example/application/simpleapp/webapp/src/main/webapp/WEB-INF/translations-en_GB.po ---------------------------------------------------------------------- diff --git a/example/application/simpleapp/webapp/src/main/webapp/WEB-INF/translations-en_GB.po b/example/application/simpleapp/webapp/src/main/webapp/WEB-INF/translations-en_GB.po new file mode 100644 index 0000000..4e2c823 --- /dev/null +++ b/example/application/simpleapp/webapp/src/main/webapp/WEB-INF/translations-en_GB.po @@ -0,0 +1,155 @@ +############################################################################## +# +# .pot file +# +# Translate this file to each required language and place in WEB-INF, eg: +# +# /WEB-INF/translations_en-US.po +# /WEB-INF/translations_en.po +# /WEB-INF/translations_fr-FR.po +# /WEB-INF/translations_fr.po +# /WEB-INF/translations.po +# +############################################################################## + +#: org.apache.isis.core.runtime.services.i18n.po.TranslationServicePoMenu#downloadTranslations(java.lang.String) +msgid ".pot file name" +msgstr "" + + +#: org.apache.isis.core.runtime.services.i18n.po.TranslationServicePoMenu#resetTranslationCache() +msgid "Clear translation cache" +msgstr "Reload .po files" + + +#: domainapp.dom.modules.simple.SimpleObjects#create() +msgid "Create" +msgstr "" + + +#: org.apache.isis.core.runtime.services.i18n.po.TranslationServicePoMenu#downloadTranslations() +msgid "Download Translations" +msgstr "Download .pot file" + + +#: domainapp.dom.modules.simple.SimpleObject#updateName() +msgid "Exclamation mark is not allowed" +msgstr "No exclamation marks, chum!" + + +#: domainapp.dom.modules.simple.SimpleObjects#findByName() +msgid "Find By Name" +msgstr "" + + +#: org.apache.isis.applib.fixturescripts.FixtureResult#fixtureScriptClassName +msgid "Fixture script" +msgstr "" + + +#: domainapp.dom.app.homepage.HomePageService#homePage() +msgid "Home Page" +msgstr "" + + +#: domainapp.dom.modules.simple.SimpleObjects#listAll() +msgid "List All" +msgstr "" + + +#: domainapp.fixture.scenarios.RecreateSimpleObjects#lookup() +#: org.apache.isis.applib.fixturescripts.FixtureScript#lookup() +#: org.apache.isis.applib.services.bookmark.BookmarkHolderActionContributions#lookup() +msgid "Lookup" +msgstr "" + + +#: domainapp.dom.modules.simple.SimpleObjects#create(java.lang.String) +#: domainapp.dom.modules.simple.SimpleObjects#findByName(java.lang.String) +msgid "Name" +msgstr "" + + +#: domainapp.dom.modules.simple.SimpleObject#updateName(java.lang.String) +msgid "New name" +msgstr "" + + +#: org.apache.isis.applib.services.bookmark.BookmarkHolderAssociationContributions#object() +msgid "Object" +msgstr "" + + +#: domainapp.dom.modules.simple.SimpleObject#title() +msgid "Object: {name}" +msgstr "" + + +#: domainapp.fixture.DomainAppFixturesService#runFixtureScript(org.apache.isis.applib.fixturescripts.FixtureScript,java.lang.String) +#: org.apache.isis.applib.fixturescripts.FixtureScripts#runFixtureScript(org.apache.isis.applib.fixturescripts.FixtureScript,java.lang.String) +msgid "Parameters" +msgstr "" + + +#: domainapp.fixture.DomainAppFixturesService +#: org.apache.isis.core.runtime.services.i18n.po.TranslationServicePoMenu +msgid "Prototyping" +msgstr "" + + +#: domainapp.fixture.DomainAppFixturesService#recreateObjectsAndReturnFirst() +msgid "Recreate Objects And Return First" +msgstr "" + + +#: org.apache.isis.applib.fixturescripts.FixtureResult#object +msgid "Result" +msgstr "" + + +#: org.apache.isis.applib.fixturescripts.FixtureResult#className +msgid "Result class" +msgstr "" + + +#: org.apache.isis.applib.fixturescripts.FixtureResult#key +msgid "Result key" +msgstr "" + + +#: domainapp.fixture.DomainAppFixturesService#runFixtureScript() +#: org.apache.isis.applib.fixturescripts.FixtureScripts#runFixtureScript() +msgid "Run Fixture Script" +msgstr "" + + +#: domainapp.fixture.scenarios.RecreateSimpleObjects +#: org.apache.isis.applib.fixturescripts.FixtureScript +msgid "Script" +msgstr "" + + +#: domainapp.fixture.DomainAppFixturesService#runFixtureScript(org.apache.isis.applib.fixturescripts.FixtureScript,java.lang.String) +#: org.apache.isis.applib.fixturescripts.FixtureScripts#runFixtureScript(org.apache.isis.applib.fixturescripts.FixtureScript,java.lang.String) +msgid "Script-specific parameters (if any). The format depends on the script implementation (eg key=value, CSV, JSON, XML etc)" +msgstr "" + + +#: domainapp.dom.modules.simple.SimpleObject#updateName() +msgid "Update Name" +msgstr "" + + +#: domainapp.fixture.scenarios.RecreateSimpleObjects#withDiscoverability() +#: org.apache.isis.applib.fixturescripts.FixtureScript#withDiscoverability() +msgid "With Discoverability" +msgstr "" + + + + + +############################################################################## +# end of .pot file +############################################################################## + http://git-wip-us.apache.org/repos/asf/isis/blob/a4498ac8/example/application/simpleapp/webapp/src/main/webapp/WEB-INF/translations.po ---------------------------------------------------------------------- diff --git a/example/application/simpleapp/webapp/src/main/webapp/WEB-INF/translations.po b/example/application/simpleapp/webapp/src/main/webapp/WEB-INF/translations.po index 2058a3d..bf9281a 100644 --- a/example/application/simpleapp/webapp/src/main/webapp/WEB-INF/translations.po +++ b/example/application/simpleapp/webapp/src/main/webapp/WEB-INF/translations.po @@ -4,10 +4,10 @@ # # Translate this file to each required language and place in WEB-INF, eg: # -# /WEB-INF/translations_en-US.po -# /WEB-INF/translations_en.po -# /WEB-INF/translations_fr-FR.po -# /WEB-INF/translations_fr.po +# /WEB-INF/translations-en_US.po +# /WEB-INF/translations-en.po +# /WEB-INF/translations-fr_FR.po +# /WEB-INF/translations-fr.po # /WEB-INF/translations.po # ############################################################################## http://git-wip-us.apache.org/repos/asf/isis/blob/a4498ac8/example/application/simpleapp/webapp/src/main/webapp/WEB-INF/translations_en-GB.po ---------------------------------------------------------------------- diff --git a/example/application/simpleapp/webapp/src/main/webapp/WEB-INF/translations_en-GB.po b/example/application/simpleapp/webapp/src/main/webapp/WEB-INF/translations_en-GB.po deleted file mode 100644 index 4e2c823..0000000 --- a/example/application/simpleapp/webapp/src/main/webapp/WEB-INF/translations_en-GB.po +++ /dev/null @@ -1,155 +0,0 @@ -############################################################################## -# -# .pot file -# -# Translate this file to each required language and place in WEB-INF, eg: -# -# /WEB-INF/translations_en-US.po -# /WEB-INF/translations_en.po -# /WEB-INF/translations_fr-FR.po -# /WEB-INF/translations_fr.po -# /WEB-INF/translations.po -# -############################################################################## - -#: org.apache.isis.core.runtime.services.i18n.po.TranslationServicePoMenu#downloadTranslations(java.lang.String) -msgid ".pot file name" -msgstr "" - - -#: org.apache.isis.core.runtime.services.i18n.po.TranslationServicePoMenu#resetTranslationCache() -msgid "Clear translation cache" -msgstr "Reload .po files" - - -#: domainapp.dom.modules.simple.SimpleObjects#create() -msgid "Create" -msgstr "" - - -#: org.apache.isis.core.runtime.services.i18n.po.TranslationServicePoMenu#downloadTranslations() -msgid "Download Translations" -msgstr "Download .pot file" - - -#: domainapp.dom.modules.simple.SimpleObject#updateName() -msgid "Exclamation mark is not allowed" -msgstr "No exclamation marks, chum!" - - -#: domainapp.dom.modules.simple.SimpleObjects#findByName() -msgid "Find By Name" -msgstr "" - - -#: org.apache.isis.applib.fixturescripts.FixtureResult#fixtureScriptClassName -msgid "Fixture script" -msgstr "" - - -#: domainapp.dom.app.homepage.HomePageService#homePage() -msgid "Home Page" -msgstr "" - - -#: domainapp.dom.modules.simple.SimpleObjects#listAll() -msgid "List All" -msgstr "" - - -#: domainapp.fixture.scenarios.RecreateSimpleObjects#lookup() -#: org.apache.isis.applib.fixturescripts.FixtureScript#lookup() -#: org.apache.isis.applib.services.bookmark.BookmarkHolderActionContributions#lookup() -msgid "Lookup" -msgstr "" - - -#: domainapp.dom.modules.simple.SimpleObjects#create(java.lang.String) -#: domainapp.dom.modules.simple.SimpleObjects#findByName(java.lang.String) -msgid "Name" -msgstr "" - - -#: domainapp.dom.modules.simple.SimpleObject#updateName(java.lang.String) -msgid "New name" -msgstr "" - - -#: org.apache.isis.applib.services.bookmark.BookmarkHolderAssociationContributions#object() -msgid "Object" -msgstr "" - - -#: domainapp.dom.modules.simple.SimpleObject#title() -msgid "Object: {name}" -msgstr "" - - -#: domainapp.fixture.DomainAppFixturesService#runFixtureScript(org.apache.isis.applib.fixturescripts.FixtureScript,java.lang.String) -#: org.apache.isis.applib.fixturescripts.FixtureScripts#runFixtureScript(org.apache.isis.applib.fixturescripts.FixtureScript,java.lang.String) -msgid "Parameters" -msgstr "" - - -#: domainapp.fixture.DomainAppFixturesService -#: org.apache.isis.core.runtime.services.i18n.po.TranslationServicePoMenu -msgid "Prototyping" -msgstr "" - - -#: domainapp.fixture.DomainAppFixturesService#recreateObjectsAndReturnFirst() -msgid "Recreate Objects And Return First" -msgstr "" - - -#: org.apache.isis.applib.fixturescripts.FixtureResult#object -msgid "Result" -msgstr "" - - -#: org.apache.isis.applib.fixturescripts.FixtureResult#className -msgid "Result class" -msgstr "" - - -#: org.apache.isis.applib.fixturescripts.FixtureResult#key -msgid "Result key" -msgstr "" - - -#: domainapp.fixture.DomainAppFixturesService#runFixtureScript() -#: org.apache.isis.applib.fixturescripts.FixtureScripts#runFixtureScript() -msgid "Run Fixture Script" -msgstr "" - - -#: domainapp.fixture.scenarios.RecreateSimpleObjects -#: org.apache.isis.applib.fixturescripts.FixtureScript -msgid "Script" -msgstr "" - - -#: domainapp.fixture.DomainAppFixturesService#runFixtureScript(org.apache.isis.applib.fixturescripts.FixtureScript,java.lang.String) -#: org.apache.isis.applib.fixturescripts.FixtureScripts#runFixtureScript(org.apache.isis.applib.fixturescripts.FixtureScript,java.lang.String) -msgid "Script-specific parameters (if any). The format depends on the script implementation (eg key=value, CSV, JSON, XML etc)" -msgstr "" - - -#: domainapp.dom.modules.simple.SimpleObject#updateName() -msgid "Update Name" -msgstr "" - - -#: domainapp.fixture.scenarios.RecreateSimpleObjects#withDiscoverability() -#: org.apache.isis.applib.fixturescripts.FixtureScript#withDiscoverability() -msgid "With Discoverability" -msgstr "" - - - - - -############################################################################## -# end of .pot file -############################################################################## - http://git-wip-us.apache.org/repos/asf/isis/blob/a4498ac8/example/archetype/simpleapp/src/main/resources/archetype-resources/webapp/src/main/webapp/WEB-INF/translations-en-GB.po ---------------------------------------------------------------------- diff --git a/example/archetype/simpleapp/src/main/resources/archetype-resources/webapp/src/main/webapp/WEB-INF/translations-en-GB.po b/example/archetype/simpleapp/src/main/resources/archetype-resources/webapp/src/main/webapp/WEB-INF/translations-en-GB.po new file mode 100644 index 0000000..8f25fa7 --- /dev/null +++ b/example/archetype/simpleapp/src/main/resources/archetype-resources/webapp/src/main/webapp/WEB-INF/translations-en-GB.po @@ -0,0 +1,155 @@ +############################################################################## +# +# .pot file +# +# Translate this file to each required language and place in WEB-INF, eg: +# +# /WEB-INF/translations-en_US.po +# /WEB-INF/translations-en.po +# /WEB-INF/translations-fr_FR.po +# /WEB-INF/translations-fr.po +# /WEB-INF/translations.po +# +############################################################################## + +#: org.apache.isis.core.runtime.services.i18n.po.TranslationServicePoMenu#downloadTranslations(java.lang.String) +msgid ".pot file name" +msgstr "" + + +#: org.apache.isis.core.runtime.services.i18n.po.TranslationServicePoMenu#resetTranslationCache() +msgid "Clear translation cache" +msgstr "Reload .po files" + + +#: domainapp.dom.modules.simple.SimpleObjects#create() +msgid "Create" +msgstr "" + + +#: org.apache.isis.core.runtime.services.i18n.po.TranslationServicePoMenu#downloadTranslations() +msgid "Download Translations" +msgstr "Download .pot file" + + +#: domainapp.dom.modules.simple.SimpleObject#updateName() +msgid "Exclamation mark is not allowed" +msgstr "No exclamation marks, chum!" + + +#: domainapp.dom.modules.simple.SimpleObjects#findByName() +msgid "Find By Name" +msgstr "" + + +#: org.apache.isis.applib.fixturescripts.FixtureResult#fixtureScriptClassName +msgid "Fixture script" +msgstr "" + + +#: domainapp.dom.app.homepage.HomePageService#homePage() +msgid "Home Page" +msgstr "" + + +#: domainapp.dom.modules.simple.SimpleObjects#listAll() +msgid "List All" +msgstr "" + + +#: domainapp.fixture.scenarios.RecreateSimpleObjects#lookup() +#: org.apache.isis.applib.fixturescripts.FixtureScript#lookup() +#: org.apache.isis.applib.services.bookmark.BookmarkHolderActionContributions#lookup() +msgid "Lookup" +msgstr "" + + +#: domainapp.dom.modules.simple.SimpleObjects#create(java.lang.String) +#: domainapp.dom.modules.simple.SimpleObjects#findByName(java.lang.String) +msgid "Name" +msgstr "" + + +#: domainapp.dom.modules.simple.SimpleObject#updateName(java.lang.String) +msgid "New name" +msgstr "" + + +#: org.apache.isis.applib.services.bookmark.BookmarkHolderAssociationContributions#object() +msgid "Object" +msgstr "" + + +#: domainapp.dom.modules.simple.SimpleObject#title() +msgid "Object: {name}" +msgstr "" + + +#: domainapp.fixture.DomainAppFixturesService#runFixtureScript(org.apache.isis.applib.fixturescripts.FixtureScript,java.lang.String) +#: org.apache.isis.applib.fixturescripts.FixtureScripts#runFixtureScript(org.apache.isis.applib.fixturescripts.FixtureScript,java.lang.String) +msgid "Parameters" +msgstr "" + + +#: domainapp.fixture.DomainAppFixturesService +#: org.apache.isis.core.runtime.services.i18n.po.TranslationServicePoMenu +msgid "Prototyping" +msgstr "" + + +#: domainapp.fixture.DomainAppFixturesService#recreateObjectsAndReturnFirst() +msgid "Recreate Objects And Return First" +msgstr "" + + +#: org.apache.isis.applib.fixturescripts.FixtureResult#object +msgid "Result" +msgstr "" + + +#: org.apache.isis.applib.fixturescripts.FixtureResult#className +msgid "Result class" +msgstr "" + + +#: org.apache.isis.applib.fixturescripts.FixtureResult#key +msgid "Result key" +msgstr "" + + +#: domainapp.fixture.DomainAppFixturesService#runFixtureScript() +#: org.apache.isis.applib.fixturescripts.FixtureScripts#runFixtureScript() +msgid "Run Fixture Script" +msgstr "" + + +#: domainapp.fixture.scenarios.RecreateSimpleObjects +#: org.apache.isis.applib.fixturescripts.FixtureScript +msgid "Script" +msgstr "" + + +#: domainapp.fixture.DomainAppFixturesService#runFixtureScript(org.apache.isis.applib.fixturescripts.FixtureScript,java.lang.String) +#: org.apache.isis.applib.fixturescripts.FixtureScripts#runFixtureScript(org.apache.isis.applib.fixturescripts.FixtureScript,java.lang.String) +msgid "Script-specific parameters (if any). The format depends on the script implementation (eg key=value, CSV, JSON, XML etc)" +msgstr "" + + +#: domainapp.dom.modules.simple.SimpleObject#updateName() +msgid "Update Name" +msgstr "" + + +#: domainapp.fixture.scenarios.RecreateSimpleObjects#withDiscoverability() +#: org.apache.isis.applib.fixturescripts.FixtureScript#withDiscoverability() +msgid "With Discoverability" +msgstr "" + + + + + +############################################################################## +# end of .pot file +############################################################################## + http://git-wip-us.apache.org/repos/asf/isis/blob/a4498ac8/example/archetype/simpleapp/src/main/resources/archetype-resources/webapp/src/main/webapp/WEB-INF/translations.po ---------------------------------------------------------------------- diff --git a/example/archetype/simpleapp/src/main/resources/archetype-resources/webapp/src/main/webapp/WEB-INF/translations.po b/example/archetype/simpleapp/src/main/resources/archetype-resources/webapp/src/main/webapp/WEB-INF/translations.po index 2058a3d..bf9281a 100644 --- a/example/archetype/simpleapp/src/main/resources/archetype-resources/webapp/src/main/webapp/WEB-INF/translations.po +++ b/example/archetype/simpleapp/src/main/resources/archetype-resources/webapp/src/main/webapp/WEB-INF/translations.po @@ -4,10 +4,10 @@ # # Translate this file to each required language and place in WEB-INF, eg: # -# /WEB-INF/translations_en-US.po -# /WEB-INF/translations_en.po -# /WEB-INF/translations_fr-FR.po -# /WEB-INF/translations_fr.po +# /WEB-INF/translations-en_US.po +# /WEB-INF/translations-en.po +# /WEB-INF/translations-fr_FR.po +# /WEB-INF/translations-fr.po # /WEB-INF/translations.po # ############################################################################## http://git-wip-us.apache.org/repos/asf/isis/blob/a4498ac8/example/archetype/simpleapp/src/main/resources/archetype-resources/webapp/src/main/webapp/WEB-INF/translations_en-GB.po ---------------------------------------------------------------------- diff --git a/example/archetype/simpleapp/src/main/resources/archetype-resources/webapp/src/main/webapp/WEB-INF/translations_en-GB.po b/example/archetype/simpleapp/src/main/resources/archetype-resources/webapp/src/main/webapp/WEB-INF/translations_en-GB.po deleted file mode 100644 index 4e2c823..0000000 --- a/example/archetype/simpleapp/src/main/resources/archetype-resources/webapp/src/main/webapp/WEB-INF/translations_en-GB.po +++ /dev/null @@ -1,155 +0,0 @@ -############################################################################## -# -# .pot file -# -# Translate this file to each required language and place in WEB-INF, eg: -# -# /WEB-INF/translations_en-US.po -# /WEB-INF/translations_en.po -# /WEB-INF/translations_fr-FR.po -# /WEB-INF/translations_fr.po -# /WEB-INF/translations.po -# -############################################################################## - -#: org.apache.isis.core.runtime.services.i18n.po.TranslationServicePoMenu#downloadTranslations(java.lang.String) -msgid ".pot file name" -msgstr "" - - -#: org.apache.isis.core.runtime.services.i18n.po.TranslationServicePoMenu#resetTranslationCache() -msgid "Clear translation cache" -msgstr "Reload .po files" - - -#: domainapp.dom.modules.simple.SimpleObjects#create() -msgid "Create" -msgstr "" - - -#: org.apache.isis.core.runtime.services.i18n.po.TranslationServicePoMenu#downloadTranslations() -msgid "Download Translations" -msgstr "Download .pot file" - - -#: domainapp.dom.modules.simple.SimpleObject#updateName() -msgid "Exclamation mark is not allowed" -msgstr "No exclamation marks, chum!" - - -#: domainapp.dom.modules.simple.SimpleObjects#findByName() -msgid "Find By Name" -msgstr "" - - -#: org.apache.isis.applib.fixturescripts.FixtureResult#fixtureScriptClassName -msgid "Fixture script" -msgstr "" - - -#: domainapp.dom.app.homepage.HomePageService#homePage() -msgid "Home Page" -msgstr "" - - -#: domainapp.dom.modules.simple.SimpleObjects#listAll() -msgid "List All" -msgstr "" - - -#: domainapp.fixture.scenarios.RecreateSimpleObjects#lookup() -#: org.apache.isis.applib.fixturescripts.FixtureScript#lookup() -#: org.apache.isis.applib.services.bookmark.BookmarkHolderActionContributions#lookup() -msgid "Lookup" -msgstr "" - - -#: domainapp.dom.modules.simple.SimpleObjects#create(java.lang.String) -#: domainapp.dom.modules.simple.SimpleObjects#findByName(java.lang.String) -msgid "Name" -msgstr "" - - -#: domainapp.dom.modules.simple.SimpleObject#updateName(java.lang.String) -msgid "New name" -msgstr "" - - -#: org.apache.isis.applib.services.bookmark.BookmarkHolderAssociationContributions#object() -msgid "Object" -msgstr "" - - -#: domainapp.dom.modules.simple.SimpleObject#title() -msgid "Object: {name}" -msgstr "" - - -#: domainapp.fixture.DomainAppFixturesService#runFixtureScript(org.apache.isis.applib.fixturescripts.FixtureScript,java.lang.String) -#: org.apache.isis.applib.fixturescripts.FixtureScripts#runFixtureScript(org.apache.isis.applib.fixturescripts.FixtureScript,java.lang.String) -msgid "Parameters" -msgstr "" - - -#: domainapp.fixture.DomainAppFixturesService -#: org.apache.isis.core.runtime.services.i18n.po.TranslationServicePoMenu -msgid "Prototyping" -msgstr "" - - -#: domainapp.fixture.DomainAppFixturesService#recreateObjectsAndReturnFirst() -msgid "Recreate Objects And Return First" -msgstr "" - - -#: org.apache.isis.applib.fixturescripts.FixtureResult#object -msgid "Result" -msgstr "" - - -#: org.apache.isis.applib.fixturescripts.FixtureResult#className -msgid "Result class" -msgstr "" - - -#: org.apache.isis.applib.fixturescripts.FixtureResult#key -msgid "Result key" -msgstr "" - - -#: domainapp.fixture.DomainAppFixturesService#runFixtureScript() -#: org.apache.isis.applib.fixturescripts.FixtureScripts#runFixtureScript() -msgid "Run Fixture Script" -msgstr "" - - -#: domainapp.fixture.scenarios.RecreateSimpleObjects -#: org.apache.isis.applib.fixturescripts.FixtureScript -msgid "Script" -msgstr "" - - -#: domainapp.fixture.DomainAppFixturesService#runFixtureScript(org.apache.isis.applib.fixturescripts.FixtureScript,java.lang.String) -#: org.apache.isis.applib.fixturescripts.FixtureScripts#runFixtureScript(org.apache.isis.applib.fixturescripts.FixtureScript,java.lang.String) -msgid "Script-specific parameters (if any). The format depends on the script implementation (eg key=value, CSV, JSON, XML etc)" -msgstr "" - - -#: domainapp.dom.modules.simple.SimpleObject#updateName() -msgid "Update Name" -msgstr "" - - -#: domainapp.fixture.scenarios.RecreateSimpleObjects#withDiscoverability() -#: org.apache.isis.applib.fixturescripts.FixtureScript#withDiscoverability() -msgid "With Discoverability" -msgstr "" - - - - - -############################################################################## -# end of .pot file -############################################################################## -
