The string "Strong" is used in two different ways in core: To describe password strength (on /user/n/edit), and to describe font weight (on /filter/tips). In Norwegian, we need to translate strong-not-weak (password) differently from strong-to-describe-font-weight. (We call a strong font a "fat font" in Norwegian, but a "fat password" looks really weird.)
For Norwegian, the contexts "font weight" and "opposite of weak" are fine. But I guess other languages might have other needs. I'll drop a heads up about this issue in the translation mailing list and in http://groups.drupal.org/translations so people speaking other languages can join in.
Also, I don't know if we should add contexts to both variants of the string, or pick one as default and add context to all other meanings.
Background on string contexts: http://drupal.org/update/modules/6/7#locale_context
(I'll add the phrase "translation context" here as well, in case someone's searching for that. But "string context" seems to be the most frequently used phrase. I've added "string context" as issue tag, I guess we'll see more of these issues as more translators get their teeth into 7.x.)
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 950028-2.patch | 1.38 KB | amateescu |
| #1 | 950028.patch | 1.91 KB | amateescu |
Comments
Comment #1
amateescu commentedHere is a patch.
Comment #2
amateescu commentedAdded tag per beta 2 release announcement.
Comment #3
amateescu commentedActually, i think "Strong" for password strength should be the default, so we only need to add a context to font weight.
Comment #4
gábor hojtsyAgreed that we need to add context to at least one. They need to have different translations in Hungarian too.
Comment #5
amateescu commented@Gábor, care to RTBC.. before string freeze? :)
Comment #6
tstoecklerSetting to RTBC. The patch is sound and has been agreed on above.
It might make sense to run this by Gábor Hojtsy nonetheless, as we currently have only one context in core, so it's probably good to get the second one right in terms of setting a good precedence.
EDIT: Grammar.
Comment #7
gábor hojtsyI entirely agree a context here is desired. Font weight seems like a reasonable context name, although we did not yet agree or discuss for that matter any standard for naming (our other core context is "Long month name" for May). I think this will be fine.
Comment #8
amateescu commentedGreat, now let's see if the patch still applies.
Comment #9
amateescu commented#3: 950028-2.patch queued for re-testing.
Comment #10
amateescu commented#3: 950028-2.patch queued for re-testing.
Comment #11
webchickCommitted to HEAD. Thanks!