Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Links in Russian and Polish job templates shouldn't be localized #3422

Closed
michaelrsweet opened this issue Nov 20, 2009 · 2 comments
Closed
Milestone

Comments

@michaelrsweet
Copy link
Collaborator

Version: 1.4-current
CUPS.org User: jpopelka

With russian localization links are also localized like
http://localhost:631/jobs?which_jobs=в�е
http://localhost:631/jobs?which_jobs=�аве��ено
and that causes showing no (all/completed) jobs.

I'm adding patch fixing templates/ru/jobs-header.tmpl

For original report see
https://bugzilla.redhat.com/show_bug.cgi?id=539354

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

Fixed in Subversion repository.

@michaelrsweet
Copy link
Collaborator Author

"jobs-localize.patch":

diff -up cups-1.4.2/templates/pl/jobs-header.tmpl.localize cups-1.4.2/templates/pl/jobs-header.tmpl
--- cups-1.4.2/templates/pl/jobs-header.tmpl.localize 2009-02-25 17:48:35.000000000 +0100
+++ cups-1.4.2/templates/pl/jobs-header.tmpl 2009-11-20 13:56:58.000000000 +0100
@@ -2,4 +2,4 @@
{?which_jobs=completed?:

}
{?which_jobs=all?:}

-

{total=0?Brak zada�:Wy�wietlanie {#job_id} z {total} {?which_jobs=?aktywnych:{which_jobs=wszystkich?:zako�czonych}} zada�{total=1?:s}}.


+

{total=0?Brak zada�:Wy�wietlanie {#job_id} z {total} {?which_jobs=?aktywnych:{which_jobs=all?:zako�czonych}} zada�{total=1?:s}}.


diff -up cups-1.4.2/templates/ru/jobs-header.tmpl.localize cups-1.4.2/templates/ru/jobs-header.tmpl
--- cups-1.4.2/templates/ru/jobs-header.tmpl.localize 2009-02-17 20:04:25.000000000 +0100
+++ cups-1.4.2/templates/ru/jobs-header.tmpl 2009-11-20 13:53:54.000000000 +0100
@@ -1,5 +1,6 @@

{?which_jobs=?:} -{?which_jobs=completed?:} -{?which_jobs=all?:}
+{?which_jobs=completed?:} +{?which_jobs=all?:} + +

{total=0?�е� заданий:�адание {#job_id} из {total} {?which_jobs=?ак�ивн��:{which_jobs=all?:заве��енн��}}.

-

{total=0?�е� заданий:�адание {#job_id} из {total} {?which_jobs=?ак�ивн��:{which_jobs=в�е�?:заве��енн��}}.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant