Skip to content

Commit

Permalink
Add translation for Authors folder (#51)
Browse files Browse the repository at this point in the history
* Add translation for Authors folder

* Fix language detection support

* Tests: Always compile .mo files

---------

Co-authored-by: Érico Andrei <ericof@gmail.com>
  • Loading branch information
jnptk and ericof authored Dec 4, 2023
1 parent 666ecae commit 5e5dbba
Show file tree
Hide file tree
Showing 8 changed files with 305 additions and 92 deletions.
60 changes: 44 additions & 16 deletions src/collective/blog/locales/collective.blog.pot
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2023-11-13 14:04+0000\n"
"POT-Creation-Date: 2023-12-04 13:40+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"
Expand All @@ -25,36 +25,44 @@ msgstr ""
msgid "A Blog Post"
msgstr ""

#: collective/blog/profiles/default/types/Blog.xml
#: collective/blog/profiles/default/types/BlogFolder.xml
msgid "A folderish content item representing a Blog"
msgstr ""

#: collective/blog/profiles/default/types/Blog.xml
#: collective/blog/interfaces.py:14
msgid "Authors container inside the Blog"
msgstr ""

#: collective/blog/profiles/default/types/BlogFolder.xml
msgid "Blog"
msgstr ""

#: collective/blog/profiles/default/types/Author.xml
msgid "Blog Author"
msgstr ""

#: collective/blog/behaviors/configure.zcml:13
msgid "Blog Behavior"
msgstr ""

#: collective/blog/profiles/default/types/Post.xml
msgid "Blog Post"
msgstr ""

#: collective/blog/behaviors/configure.zcml:13
msgid "Blog Behavior"
#: collective/blog/controlpanel/controlpanel.py:16
msgid "Blog Settings"
msgstr ""

#: collective/blog/profiles.zcml:13
msgid "Blog: Install"
msgid "Blog Support for Plone"
msgstr ""

#: collective/blog/profiles.zcml:21
msgid "Blog: Uninstall"
msgid "Blog Support for Plone: Uninstall"
msgstr ""

#: collective/blog/profiles/default/types/Author.xml
#: collective/blog/profiles/default/types/Blog.xml
#: collective/blog/profiles/default/types/BlogFolder.xml
#: collective/blog/profiles/default/types/Post.xml
msgid "Edit"
msgstr ""
Expand All @@ -72,42 +80,62 @@ msgid "Uninstall Blog setup."
msgstr ""

#: collective/blog/profiles/default/types/Author.xml
#: collective/blog/profiles/default/types/Blog.xml
#: collective/blog/profiles/default/types/BlogFolder.xml
#: collective/blog/profiles/default/types/Post.xml
msgid "View"
msgstr ""

#. Default: "Our Authors"
#: collective/blog/subscribers/blog.py:12
msgid "authors_folder_desc"
msgstr ""

#. Default: "authors"
#: collective/blog/subscribers/blog.py:10
msgid "authors_folder_id"
msgstr ""

#. Default: "Authors"
#: collective/blog/subscribers/blog.py:11
msgid "authors_folder_title"
msgstr ""

#. Default: "Contributors"
#: collective/blog/content/post.py:41
#: collective/blog/content/post.py:42
msgid "contributors"
msgstr ""

#. Default: "Persons responsible for creating the content of this post. Please enter a list of user names, one per line. The principal creator should come first."
#: collective/blog/content/post.py:25
#: collective/blog/content/post.py:26
msgid "help_authors"
msgstr ""

#. Default: "The names of people that have contributed to this item. Each contributor should be on a separate line."
#: collective/blog/content/post.py:42
#: collective/blog/content/post.py:43
msgid "help_contributors"
msgstr ""

#. Default: "Copyright statement or other rights information on this item."
#: collective/blog/content/post.py:58
#: collective/blog/content/post.py:59
msgid "help_copyrights"
msgstr ""

#. Default: "Should we create the Authors container inside the Blog?"
#: collective/blog/interfaces.py:15
msgid "help_enable_authors_folder"
msgstr ""

#. Default: "Authors"
#: collective/blog/content/post.py:24
#: collective/blog/content/post.py:25
msgid "label_authors"
msgstr ""

#. Default: "Rights"
#: collective/blog/content/post.py:57
#: collective/blog/content/post.py:58
msgid "label_copyrights"
msgstr ""

#. Default: "Metadata"
#: collective/blog/content/post.py:19
#: collective/blog/content/post.py:20
msgid "label_schema_metadata"
msgstr ""
62 changes: 45 additions & 17 deletions src/collective/blog/locales/de/LC_MESSAGES/collective.blog.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2023-11-13 14:04+0000\n"
"POT-Creation-Date: 2023-12-04 13:40+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"
Expand All @@ -16,42 +16,50 @@ msgstr ""

#: collective/blog/profiles/default/types/Author.xml
msgid "A Blog Author"
msgstr ""
msgstr " "

#: collective/blog/profiles/default/types/Post.xml
msgid "A Blog Post"
msgstr ""

#: collective/blog/profiles/default/types/Blog.xml
#: collective/blog/profiles/default/types/BlogFolder.xml
msgid "A folderish content item representing a Blog"
msgstr ""

#: collective/blog/profiles/default/types/Blog.xml
#: collective/blog/interfaces.py:14
msgid "Authors container inside the Blog"
msgstr ""

#: collective/blog/profiles/default/types/BlogFolder.xml
msgid "Blog"
msgstr ""

#: collective/blog/profiles/default/types/Author.xml
msgid "Blog Author"
msgstr ""

#: collective/blog/behaviors/configure.zcml:13
msgid "Blog Behavior"
msgstr ""

#: collective/blog/profiles/default/types/Post.xml
msgid "Blog Post"
msgstr ""

#: collective/blog/behaviors/configure.zcml:13
msgid "Blog Behavior"
#: collective/blog/controlpanel/controlpanel.py:16
msgid "Blog Settings"
msgstr ""

#: collective/blog/profiles.zcml:13
msgid "Blog: Install"
msgid "Blog Support for Plone"
msgstr ""

#: collective/blog/profiles.zcml:21
msgid "Blog: Uninstall"
msgid "Blog Support for Plone: Uninstall"
msgstr ""

#: collective/blog/profiles/default/types/Author.xml
#: collective/blog/profiles/default/types/Blog.xml
#: collective/blog/profiles/default/types/BlogFolder.xml
#: collective/blog/profiles/default/types/Post.xml
msgid "Edit"
msgstr ""
Expand All @@ -69,42 +77,62 @@ msgid "Uninstall Blog setup."
msgstr ""

#: collective/blog/profiles/default/types/Author.xml
#: collective/blog/profiles/default/types/Blog.xml
#: collective/blog/profiles/default/types/BlogFolder.xml
#: collective/blog/profiles/default/types/Post.xml
msgid "View"
msgstr ""

#. Default: "Our Authors"
#: collective/blog/subscribers/blog.py:12
msgid "authors_folder_desc"
msgstr "Unsere Autoren"

#. Default: "authors"
#: collective/blog/subscribers/blog.py:10
msgid "authors_folder_id"
msgstr "autoren"

#. Default: "Authors"
#: collective/blog/subscribers/blog.py:11
msgid "authors_folder_title"
msgstr "Autoren"

#. Default: "Contributors"
#: collective/blog/content/post.py:41
#: collective/blog/content/post.py:42
msgid "contributors"
msgstr ""

#. Default: "Persons responsible for creating the content of this post. Please enter a list of user names, one per line. The principal creator should come first."
#: collective/blog/content/post.py:25
#: collective/blog/content/post.py:26
msgid "help_authors"
msgstr ""

#. Default: "The names of people that have contributed to this item. Each contributor should be on a separate line."
#: collective/blog/content/post.py:42
#: collective/blog/content/post.py:43
msgid "help_contributors"
msgstr ""

#. Default: "Copyright statement or other rights information on this item."
#: collective/blog/content/post.py:58
#: collective/blog/content/post.py:59
msgid "help_copyrights"
msgstr ""

#. Default: "Should we create the Authors container inside the Blog?"
#: collective/blog/interfaces.py:15
msgid "help_enable_authors_folder"
msgstr ""

#. Default: "Authors"
#: collective/blog/content/post.py:24
#: collective/blog/content/post.py:25
msgid "label_authors"
msgstr ""

#. Default: "Rights"
#: collective/blog/content/post.py:57
#: collective/blog/content/post.py:58
msgid "label_copyrights"
msgstr ""

#. Default: "Metadata"
#: collective/blog/content/post.py:19
#: collective/blog/content/post.py:20
msgid "label_schema_metadata"
msgstr ""
Loading

0 comments on commit 5e5dbba

Please sign in to comment.