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

Web interface: Job template header german translation #4756

Closed
michaelrsweet opened this issue Jan 13, 2016 · 2 comments
Closed

Web interface: Job template header german translation #4756

michaelrsweet opened this issue Jan 13, 2016 · 2 comments
Milestone

Comments

@michaelrsweet
Copy link
Collaborator

Version: 2.0-current
CUPS.org User: glauche

The strings "Auftrag/Aufträge" are not shown correctly in the web interface output. The attached patch provides a fix, applicable to the master branch. The problem exists since the re-introduction of a german translation in commit #45bfe940eaabc6b8934f683d3149e23ecfbee48e.

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

Fixed in Subversion repository.

Thanks!

@michaelrsweet
Copy link
Collaborator Author

"0001-Properly-select-strings-in-german-job-header-templat.patch":

From 5acb429fc4f97cba4dcca28664b98ad7b71638c5 Mon Sep 17 00:00:00 2001
From: Volkmar Glauche volkmar.glauche@uniklinik-freiburg.de
Date: Wed, 13 Jan 2016 11:34:45 +0100
Subject: [PATCH] Properly select strings in german job header template.


templates/de/jobs-header.tmpl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/de/jobs-header.tmpl b/templates/de/jobs-header.tmpl
index e3935fe..4855f6b 100644
--- a/templates/de/jobs-header.tmpl
+++ b/templates/de/jobs-header.tmpl
@@ -2,4 +2,4 @@
{?which_jobs=completed?:

}
{?which_jobs=all?:}

-

{total=0?Keine Aufträge:Zeige {#job_id} von {total} {?which_jobs=?aktiven:{which_jobs=all?:beendeten}} {total=1?:s}Auftrag:Aufträgen}.

+

{total=0?Keine Aufträge:Zeige {#job_id} von {total} {?which_jobs=?aktiven:{which_jobs=all?:beendeten}} {total=1?Auftrag:Aufträgen}}.

2.4.10

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