Warning, /plasma/plasma-workspace/kcms/colors/README.i18n is written in an unsupported language. File is not indexed.
0001 There are two sets of preview strings in the color kcm, with special translation needs. In general, length of the translations, and "gist"-level clarity is more important than precise translation. It should be easy to identify what color role a string represents, but there are size considerations that should be taken into account. The tooltips should be translated normally. 0002 0003 0004 0005 When translating the color kcm, it is helpful to understand the intended meaning of the various color roles in order to chose the best possible translation if more than one would be possible. Hopefully the sets (view, window, button, selection, tooltip) are obvious, as well as normal background/foreground. The others are as follows: 0006 0007 Alternate [Background]: used in lists when every other row uses a different color; "different". 0008 Inactive: comments, something which is old, unimportant/uninteresting/secondary text 0009 Active: e.g. something new, something active (currently engaged in activity), something requesting attention, a hovered hyperlink 0010 Link: hyperlink, somewhere the user can go, new history 0011 Visited: visited hyperlinks, somewhere the user has been, old history 0012 Negative: "bad", untrusted, unreliable, a mistake, an error the user made, an error that occurred 0013 Neutral: warning, encrypted, anything "between" negative and positive 0014 Positive: success, completion messages, trusted content 0015 0016 For Link, although other uses are possible, translate as referring to hyperlinks to minimize user confusion. 0017 0018 0019 0020 The "generic" preview uses these strings (all with disambiguation "color-kcm-preview"): 0021 - Window Text 0022 - Push Button 0023 - Normal Text 0024 - Selected Text 0025 - link 0026 - visited 0027 - a 0028 - i 0029 - ! 0030 - = 0031 - + 0032 0033 The two-word strings may be translated normally, though it is suggested to omit the translation of "Text" if the strings would be excessively (around 20+ characters) long and doing so does not cause confusion (i.e. substantially change the conveyed meaning). The "link" and "visited" strings should be translated according to the notes above, ideally keeping the length to four to eight characters; abbreviation (to not less than four characters if possible) is acceptable as the tooltips will provide more complete descriptions. 0034 0035 The remaining one-character strings represent (respectively) the text roles active (a), inactive (i), negative (!), neutral (=) and positive (+). These should be translated as one- or two-character strings which uniquely correspond to the aforementioned text roles, ideally taking the first letter of the corresponding translation, or maintaining the symbols (!, =, +) as-is if culturally appropriate. 0036 0037 Ideographic languages (e.g. Japanese, Mandarin, etc.) where the single-character strings can be replaced with one or two characters representing the full word should do so. These should also, if needed, consider a phonetic representation or relevant phrase for the longer elements, to keep the translations close to the same number of characters as the English. 0038 0039 0040 0041 The "set" preview uses these strings (all with disambiguation "color-kcm-set-preview"): 0042 - normal 0043 - link 0044 - visited 0045 - active 0046 - inactive 0047 - alternate 0048 - negative 0049 - neutral 0050 - positive 0051 - hover 0052 - focus 0053 0054 These live in a preview widget that is two rows tall by nine items wide, and is often the determining factor in the minimum width of the dialog. For this reason, it is important to keep the strings SHORT. To ensure each text block is of sufficient size to provide an adequate preview, each should be at least a few characters long, but please try to limit them to no more than eight or ten characters on average. Abbreviation is fine and encouraged if necessary to achieve this average. In particular, PLEASE avoid adding the translated equivalent of " text" to these strings if at all possible; the tooltips will disambiguate if required. If these objectives cannot be achieved via direct translation, semantic translation (e.g. "negative" -> i18n("oops!"), "neutral" -> i18n("meh")) would be better. (Ideographic languages, which may need to ADD text to achieve a minimum length, should ignore the previous two sentences.) Note also that "hover" and "focus" are actually "decoration" roles, so e.g. "hover text" is incorrect (should be "hover decoration").