Commit 296a2a45 authored by Julien Cristau's avatar Julien Cristau
Browse files

[devtools] restore i18n of string removed in 4001cfe2f44d

Removing that string from the po files means that after running i18ncube
against newer cubicweb, we lose the translation when running on older
cubicweb's, which is probably not a good idea.
parent c06ef8a2e4df
......@@ -167,6 +167,11 @@ def _generate_schema_pot(w, vreg, schema, libconfig=None):
if not eschema.final:
add_msg(w, 'This %s:' % etype)
add_msg(w, 'New %s' % etype)
if libconfig is not None: # processing a cube
# As of 3.20.3 we no longer use it, but keeping this string
# allows developers to run i18ncube with new cubicweb and still
# have the right translations at runtime for older versions
add_msg(w, 'This %s' % etype)
if eschema.description and not eschema.description in done:
done.add(eschema.description)
add_msg(w, eschema.description)
......
......@@ -21,6 +21,9 @@ msgstr ""
msgid "Forum_plural"
msgstr ""
msgid "This Forum"
msgstr ""
msgid "This Forum:"
msgstr ""
......@@ -47,6 +50,9 @@ msgstr ""
msgid "ForumThread_plural"
msgstr ""
msgid "This ForumThread"
msgstr ""
msgid "This ForumThread:"
msgstr ""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment