X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=doc%2Fhelp%2Ftranslation.html;h=a4ada4a70eab5429253824d0bc430a134e40ddbe;hb=eac3a0a01bf37d95f4129b28296cb697c54b2613;hp=8fa6efe23959ce65a7d6aa0be6ade596c07b11f5;hpb=22c9029b44a790ba1ee894027431dcea1ec2aeab;p=thirdparty%2Fcups.git diff --git a/doc/help/translation.html b/doc/help/translation.html index 8fa6efe23..a4ada4a70 100644 --- a/doc/help/translation.html +++ b/doc/help/translation.html @@ -141,7 +141,7 @@ subdirectories for each locale, e.g. "fr" for French, "de" for German, "fr_ca" for French in Canada, and so forth.

Template files are HTML files with special formatting -characters in them that allow substition of variables and arrays. +characters in them that allow substitution of variables and arrays. The CUPS CGI programs (admin.cgi, classes.cgi, help.cgi, jobs.cgi, and printers.cgi) use these @@ -441,7 +441,7 @@ translated all of the templates, add the locale to the subscription-added.tmpl - This template shows "subscription xyz added". + This template shows "subscription ... added". subscription-canceled.tmpl @@ -466,7 +466,7 @@ translated all of the templates, add the locale to the

Inserting Attributes and Values

Template files consist of HTML with variable substitutions for -named inside curley braces "{name}". Variable names are generally +named inside curly braces "{name}". Variable names are generally the IPP attribute names with the hyphen ("-") replaced by the underscore ("_") character. For example, the job-printer-uri attribute is renamed to @@ -518,7 +518,7 @@ in the job_id array:

</TABLE> -

Arrays can be nested, however all elements within the curley +

Arrays can be nested, however all elements within the curly braces ("{" and "}") are indexed using the innermost array.

Conditional Tests