Near-duplicate strings in programs ("Open", "_Open" etc.)
- From: Åsmund Skjæveland <aasmunds student matnat uio no>
- To: GNOME i18n list <gnome-i18n gnome org>
- Subject: Near-duplicate strings in programs ("Open", "_Open" etc.)
- Date: Sat, 15 Apr 2006 12:02:52 +0200
A suggestion for the applications of the future:
Many programs have lots of near-duplicate strings that differ only by
'_' or '.'. For example, both 'Open' and '_Open' are listed in most
programs. Also, many GConf description schemas have a 'long' and
'short' description that sometimes only differs in that the long ends
with a period, while the short one doesn't.
Can't these near-duplicates be merged somehow? For example
(pseudocode):
g_menu_item(item, _("_Open"));
g_menu_item_desc(item, strrep(_("_Open"), "_", ""));
I.e., instead of merking both "Open" and "_Open" in source as
translatable, mark only "_Open" and remove the "_" from the
translation as needed.
I'm not saying this is a huge problem, but the less duplicate strings,
the better.
--
Åsmund Skjæveland {
aasmunds fys uio no
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]