You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.
Reporter: avarab[at]gmail.com [Submitted to the original trac issue database at 8.55pm, Thursday, 4th June 2009]
Some of the translations in .rjs files in rails_port/app/views/browse/ use string concat to glue together translations. This will make hard or impossible to translate in some languages:
Where i18n_hack is a JavaScript function that takes a string and a hash and replaces all occurrences of "{{size}}" in the string with the appropriate hash key.
My JavaScript-fu isn't sufficient to write that function in a way that won't break on some random browser:)
The text was updated successfully, but these errors were encountered:
Reporter: avarab[at]gmail.com
[Submitted to the original trac issue database at 8.55pm, Thursday, 4th June 2009]
Some of the translations in .rjs files in rails_port/app/views/browse/ use string concat to glue together translations. This will make hard or impossible to translate in some languages:
The sanest way to do this is probably something like e.g. this:
Where i18n_hack is a JavaScript function that takes a string and a hash and replaces all occurrences of "{{size}}" in the string with the appropriate hash key.
My JavaScript-fu isn't sufficient to write that function in a way that won't break on some random browser:)
The text was updated successfully, but these errors were encountered: