dirwalk comments re: font scoring -> POT/PO files; Japanese tweaks
Ensuring that commentary about what font-scoring strings like "oO" and ",.?!" are for make their way to the POT and PO files. Also, adding some Hiragana to some of these strings in ja.po (and updating some (c) dates in its comments).
This commit is contained in:
parent
1f22332415
commit
5ccc950447
131 changed files with 10663 additions and 10150 deletions
|
|
@ -229,29 +229,36 @@ void loadfont_callback(SDL_Surface * screen, SDL_Texture * texture,
|
|||
// especially important for users who have scroll buttons disabled.
|
||||
// Translators should do whatever is needed to put crummy fonts last.
|
||||
|
||||
// distinct uppercase and lowercase (e.g., 'o' vs. 'O')
|
||||
user_font_styles[num_font_styles]->score +=
|
||||
charset_works(font, gettext("oO"));
|
||||
charset_works(
|
||||
font, /* distinct uppercase and lowercase (e.g., 'o' vs. 'O') */ gettext("oO")
|
||||
);
|
||||
|
||||
// common punctuation (e.g., '?', '!', '.', ',', etc.)
|
||||
user_font_styles[num_font_styles]->score +=
|
||||
charset_works(font, gettext(",.?!"));
|
||||
charset_works(
|
||||
font, /* common punctuation (e.g., '?', '!', '.', ',', etc.) */ gettext(",.?!")
|
||||
);
|
||||
|
||||
// uncommon punctuation (e.g., '@', '#', '*', etc.)
|
||||
user_font_styles[num_font_styles]->score +=
|
||||
charset_works(font, gettext("`\%_@$~#{<(^&*"));
|
||||
charset_works(
|
||||
font, /* uncommon punctuation (e.g., '@', '#', '*', etc.) */ gettext("`\%_@$~#{<(^&*")
|
||||
);
|
||||
|
||||
// digits (e.g., '0', '1' and '7')
|
||||
user_font_styles[num_font_styles]->score +=
|
||||
charset_works(font, gettext("017"));
|
||||
charset_works(
|
||||
font, /* digits (e.g., '0', '1' and '7') */ gettext("017")
|
||||
);
|
||||
|
||||
// distinct circle-like characters (e.g., 'O' (capital oh) vs. '0' (zero))
|
||||
user_font_styles[num_font_styles]->score +=
|
||||
charset_works(font, gettext("O0"));
|
||||
charset_works(
|
||||
font, /* distinct circle-like characters (e.g., 'O' (capital oh) vs. '0' (zero)) */ gettext("O0")
|
||||
);
|
||||
|
||||
// distinct line-like characters (e.g., 'l' (lowercase elle) vs. '1' (one) vs. 'I' (capital aye))
|
||||
user_font_styles[num_font_styles]->score +=
|
||||
charset_works(font, gettext("1Il|"));
|
||||
charset_works(
|
||||
font, /* distinct line-like characters (e.g., 'l' (lowercase elle) vs. '1' (one) vs. 'I' (capital aye)) */ gettext("1Il|")
|
||||
);
|
||||
|
||||
// translation spares -- design not finalized
|
||||
#if 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue