Closed (duplicate)
Project:
Drupal core
Version:
7.x-dev
Component:
translation.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 May 2008 at 19:38 UTC
Updated:
30 Sep 2008 at 07:46 UTC
Jump to comment: Most recent file
Comments
Comment #1
gábor hojtsyThis is both coding style violating for D7 and D6, although since coding style around . changed, it needs different patches for D6 and D7. D6 uses '. and .' (sticks dots to the strings and uses a space at the other side of the dot), D7 uses ' . and . ' (has a space on both sides of the dot).
Comment #2
meba commentedfixing
Comment #3
damien tournoud commentedI'm not sure about this. We should do:
Because (1) I'm pretty sure some languages will require to invert the language and the source, (2) it's good practice to put as much context as possible in source strings, and just 'source' is too small not to collide with other use-cases.
Comment #4
meba commentedThis was my idea, however I wanted to keep bold text as it's good for UI, but HTML is not good for localized strings, so...Any other suggestions? Gabor?
Comment #5
damien tournoud commentedSorry, I missed the
<strong>tags. Just do that:The fact that HTML is not good for localized strings is just an urban myth. There is no point in removing semantically-relevant tags from the strings, especially when it's at the cost of removing context from the strings by breaking them into pieces.
Comment #6
meba commentedMarking as duplicate of #312982: Fix for one untranslatable string, this issue is older, but the new one has proper patch.