-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/german translation #131
Conversation
b1ca9c4
to
1c0adc4
Compare
The German translation for this string in CKAN contains an extra variable that is not in the original string. This causes an error on viewing some dataset activities.
4d2d7a7
to
6e1aa42
Compare
This template is here not to be overriden, but so that when we update our translation files, we keep the translations in the template. This is necessary because one of the translations is wrong in CKAN core and causes an error when the template is used.
#: ckanext/switzerland/templates/package/snippets/resource_item.html:25 | ||
msgid "Preview" | ||
msgstr "" | ||
|
||
#: ckanext/switzerland/templates/package/snippets/resource_item.html:28 | ||
msgid "More information" | ||
msgstr "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these strings were removed from the template because we now just invoke {{ super() }}
where they were.
#: ckanext/switzerland/templates/snippets/changes/resource_extras.html:87 | ||
msgid "" | ||
"Changed value of field <q>{key}</q> to <q>{new_val}</q> in resource " | ||
"{resource_link} in {pkg_link}" | ||
msgstr "" | ||
"Wert des Feldes <q>{key}</q> wurde geändert zu <q>{new_val}</q> in der " | ||
"Ressource {resource_link} in {pkg_link}" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is the string that is translated wrongly in CKAN and causes errors (the msgstr has an extra variable that is not in the msgid). Double checked that this is our correct translation. ;)
No description provided.