[cups.bugs] [MOD] STR #2524: PageSize does not get translated in globalized PPD files
Dmitry Sharov
dsharov at mackiev.com
Thu Sep 20 03:28:01 PDT 2007
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
*<locale>.PageSize and *<locale>.Translation PageSize texts are not
localized while creating globalized PPD files with ppdc.
Proposed fix:
Index: ppdc/ppdc-driver.cxx
===================================================================
--- ppdc/ppdc-driver.cxx (revision 354)
+++ ppdc/ppdc-driver.cxx (working copy)
@@ -1098,14 +1098,14 @@
// Then the page sizes...
cupsFilePrintf(fp, "*%s.Translation PageSize/%s: \"\"%s",
locale->value,
- catalog->find_message("Media Size"), lf);
+ locatalog->find_message("Media Size"), lf);
for (m = (ppdcMediaSize *)sizes->first();
m;
m = (ppdcMediaSize *)sizes->next())
{
cupsFilePrintf(fp, "*%s.PageSize %s/%s: \"\"%s", locale->value,
- m->name->value, catalog->find_message(m->text->value),
+ m->name->value, locatalog->find_message(m->text->value),
lf);
}
Link: http://www.cups.org/str.php?L2524
Version: 1.2-current
More information about the cups
mailing list