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.)

CommentFileSizeAuthor
#3 950028-2.patch1.38 KBamateescu
#1 950028.patch1.91 KBamateescu

Comments

amateescu’s picture

Status: Active » Needs review
StatusFileSize
new1.91 KB

Here is a patch.

amateescu’s picture

Issue tags: +String freeze

Added tag per beta 2 release announcement.

amateescu’s picture

StatusFileSize
new1.38 KB

Actually, i think "Strong" for password strength should be the default, so we only need to add a context to font weight.

gábor hojtsy’s picture

Agreed that we need to add context to at least one. They need to have different translations in Hungarian too.

amateescu’s picture

@Gábor, care to RTBC.. before string freeze? :)

tstoeckler’s picture

Status: Needs review » Reviewed & tested by the community

Setting 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.

gábor hojtsy’s picture

I 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.

amateescu’s picture

Great, now let's see if the patch still applies.

amateescu’s picture

#3: 950028-2.patch queued for re-testing.

amateescu’s picture

#3: 950028-2.patch queued for re-testing.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed to HEAD. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.