Skip to content

Commit 5e5dbba

Browse files
jnptkericof
andauthored
Add translation for Authors folder (#51)
* Add translation for Authors folder * Fix language detection support * Tests: Always compile .mo files --------- Co-authored-by: Érico Andrei <[email protected]>
1 parent 666ecae commit 5e5dbba

File tree

8 files changed

+305
-92
lines changed

8 files changed

+305
-92
lines changed

src/collective/blog/locales/collective.blog.pot

+44-16
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
msgid ""
55
msgstr ""
66
"Project-Id-Version: PACKAGE VERSION\n"
7-
"POT-Creation-Date: 2023-11-13 14:04+0000\n"
7+
"POT-Creation-Date: 2023-12-04 13:40+0000\n"
88
"PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n"
99
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1010
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -25,36 +25,44 @@ msgstr ""
2525
msgid "A Blog Post"
2626
msgstr ""
2727

28-
#: collective/blog/profiles/default/types/Blog.xml
28+
#: collective/blog/profiles/default/types/BlogFolder.xml
2929
msgid "A folderish content item representing a Blog"
3030
msgstr ""
3131

32-
#: collective/blog/profiles/default/types/Blog.xml
32+
#: collective/blog/interfaces.py:14
33+
msgid "Authors container inside the Blog"
34+
msgstr ""
35+
36+
#: collective/blog/profiles/default/types/BlogFolder.xml
3337
msgid "Blog"
3438
msgstr ""
3539

3640
#: collective/blog/profiles/default/types/Author.xml
3741
msgid "Blog Author"
3842
msgstr ""
3943

44+
#: collective/blog/behaviors/configure.zcml:13
45+
msgid "Blog Behavior"
46+
msgstr ""
47+
4048
#: collective/blog/profiles/default/types/Post.xml
4149
msgid "Blog Post"
4250
msgstr ""
4351

44-
#: collective/blog/behaviors/configure.zcml:13
45-
msgid "Blog Behavior"
52+
#: collective/blog/controlpanel/controlpanel.py:16
53+
msgid "Blog Settings"
4654
msgstr ""
4755

4856
#: collective/blog/profiles.zcml:13
49-
msgid "Blog: Install"
57+
msgid "Blog Support for Plone"
5058
msgstr ""
5159

5260
#: collective/blog/profiles.zcml:21
53-
msgid "Blog: Uninstall"
61+
msgid "Blog Support for Plone: Uninstall"
5462
msgstr ""
5563

5664
#: collective/blog/profiles/default/types/Author.xml
57-
#: collective/blog/profiles/default/types/Blog.xml
65+
#: collective/blog/profiles/default/types/BlogFolder.xml
5866
#: collective/blog/profiles/default/types/Post.xml
5967
msgid "Edit"
6068
msgstr ""
@@ -72,42 +80,62 @@ msgid "Uninstall Blog setup."
7280
msgstr ""
7381

7482
#: collective/blog/profiles/default/types/Author.xml
75-
#: collective/blog/profiles/default/types/Blog.xml
83+
#: collective/blog/profiles/default/types/BlogFolder.xml
7684
#: collective/blog/profiles/default/types/Post.xml
7785
msgid "View"
7886
msgstr ""
7987

88+
#. Default: "Our Authors"
89+
#: collective/blog/subscribers/blog.py:12
90+
msgid "authors_folder_desc"
91+
msgstr ""
92+
93+
#. Default: "authors"
94+
#: collective/blog/subscribers/blog.py:10
95+
msgid "authors_folder_id"
96+
msgstr ""
97+
98+
#. Default: "Authors"
99+
#: collective/blog/subscribers/blog.py:11
100+
msgid "authors_folder_title"
101+
msgstr ""
102+
80103
#. Default: "Contributors"
81-
#: collective/blog/content/post.py:41
104+
#: collective/blog/content/post.py:42
82105
msgid "contributors"
83106
msgstr ""
84107

85108
#. 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."
86-
#: collective/blog/content/post.py:25
109+
#: collective/blog/content/post.py:26
87110
msgid "help_authors"
88111
msgstr ""
89112

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

95118
#. Default: "Copyright statement or other rights information on this item."
96-
#: collective/blog/content/post.py:58
119+
#: collective/blog/content/post.py:59
97120
msgid "help_copyrights"
98121
msgstr ""
99122

123+
#. Default: "Should we create the Authors container inside the Blog?"
124+
#: collective/blog/interfaces.py:15
125+
msgid "help_enable_authors_folder"
126+
msgstr ""
127+
100128
#. Default: "Authors"
101-
#: collective/blog/content/post.py:24
129+
#: collective/blog/content/post.py:25
102130
msgid "label_authors"
103131
msgstr ""
104132

105133
#. Default: "Rights"
106-
#: collective/blog/content/post.py:57
134+
#: collective/blog/content/post.py:58
107135
msgid "label_copyrights"
108136
msgstr ""
109137

110138
#. Default: "Metadata"
111-
#: collective/blog/content/post.py:19
139+
#: collective/blog/content/post.py:20
112140
msgid "label_schema_metadata"
113141
msgstr ""
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
msgid ""
22
msgstr ""
33
"Project-Id-Version: PACKAGE VERSION\n"
4-
"POT-Creation-Date: 2023-11-13 14:04+0000\n"
4+
"POT-Creation-Date: 2023-12-04 13:40+0000\n"
55
"PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n"
66
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
77
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -16,42 +16,50 @@ msgstr ""
1616

1717
#: collective/blog/profiles/default/types/Author.xml
1818
msgid "A Blog Author"
19-
msgstr ""
19+
msgstr " "
2020

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

25-
#: collective/blog/profiles/default/types/Blog.xml
25+
#: collective/blog/profiles/default/types/BlogFolder.xml
2626
msgid "A folderish content item representing a Blog"
2727
msgstr ""
2828

29-
#: collective/blog/profiles/default/types/Blog.xml
29+
#: collective/blog/interfaces.py:14
30+
msgid "Authors container inside the Blog"
31+
msgstr ""
32+
33+
#: collective/blog/profiles/default/types/BlogFolder.xml
3034
msgid "Blog"
3135
msgstr ""
3236

3337
#: collective/blog/profiles/default/types/Author.xml
3438
msgid "Blog Author"
3539
msgstr ""
3640

41+
#: collective/blog/behaviors/configure.zcml:13
42+
msgid "Blog Behavior"
43+
msgstr ""
44+
3745
#: collective/blog/profiles/default/types/Post.xml
3846
msgid "Blog Post"
3947
msgstr ""
4048

41-
#: collective/blog/behaviors/configure.zcml:13
42-
msgid "Blog Behavior"
49+
#: collective/blog/controlpanel/controlpanel.py:16
50+
msgid "Blog Settings"
4351
msgstr ""
4452

4553
#: collective/blog/profiles.zcml:13
46-
msgid "Blog: Install"
54+
msgid "Blog Support for Plone"
4755
msgstr ""
4856

4957
#: collective/blog/profiles.zcml:21
50-
msgid "Blog: Uninstall"
58+
msgid "Blog Support for Plone: Uninstall"
5159
msgstr ""
5260

5361
#: collective/blog/profiles/default/types/Author.xml
54-
#: collective/blog/profiles/default/types/Blog.xml
62+
#: collective/blog/profiles/default/types/BlogFolder.xml
5563
#: collective/blog/profiles/default/types/Post.xml
5664
msgid "Edit"
5765
msgstr ""
@@ -69,42 +77,62 @@ msgid "Uninstall Blog setup."
6977
msgstr ""
7078

7179
#: collective/blog/profiles/default/types/Author.xml
72-
#: collective/blog/profiles/default/types/Blog.xml
80+
#: collective/blog/profiles/default/types/BlogFolder.xml
7381
#: collective/blog/profiles/default/types/Post.xml
7482
msgid "View"
7583
msgstr ""
7684

85+
#. Default: "Our Authors"
86+
#: collective/blog/subscribers/blog.py:12
87+
msgid "authors_folder_desc"
88+
msgstr "Unsere Autoren"
89+
90+
#. Default: "authors"
91+
#: collective/blog/subscribers/blog.py:10
92+
msgid "authors_folder_id"
93+
msgstr "autoren"
94+
95+
#. Default: "Authors"
96+
#: collective/blog/subscribers/blog.py:11
97+
msgid "authors_folder_title"
98+
msgstr "Autoren"
99+
77100
#. Default: "Contributors"
78-
#: collective/blog/content/post.py:41
101+
#: collective/blog/content/post.py:42
79102
msgid "contributors"
80103
msgstr ""
81104

82105
#. 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."
83-
#: collective/blog/content/post.py:25
106+
#: collective/blog/content/post.py:26
84107
msgid "help_authors"
85108
msgstr ""
86109

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

92115
#. Default: "Copyright statement or other rights information on this item."
93-
#: collective/blog/content/post.py:58
116+
#: collective/blog/content/post.py:59
94117
msgid "help_copyrights"
95118
msgstr ""
96119

120+
#. Default: "Should we create the Authors container inside the Blog?"
121+
#: collective/blog/interfaces.py:15
122+
msgid "help_enable_authors_folder"
123+
msgstr ""
124+
97125
#. Default: "Authors"
98-
#: collective/blog/content/post.py:24
126+
#: collective/blog/content/post.py:25
99127
msgid "label_authors"
100128
msgstr ""
101129

102130
#. Default: "Rights"
103-
#: collective/blog/content/post.py:57
131+
#: collective/blog/content/post.py:58
104132
msgid "label_copyrights"
105133
msgstr ""
106134

107135
#. Default: "Metadata"
108-
#: collective/blog/content/post.py:19
136+
#: collective/blog/content/post.py:20
109137
msgid "label_schema_metadata"
110138
msgstr ""

0 commit comments

Comments
 (0)