Skip to content
This repository was archived by the owner on Mar 10, 2026. It is now read-only.
This repository was archived by the owner on Mar 10, 2026. It is now read-only.

Web interface: Job template header german translation #4756

Closed

Description

@michaelrsweet

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.

Activity

  1. michaelrsweet commented on Jan 13, 2016

    @michaelrsweet
    ContributorAuthor

    CUPS.org User: mike

    Fixed in Subversion repository.

    Thanks!

  2. michaelrsweet commented on Jan 13, 2016

    @michaelrsweet
    ContributorAuthor

    "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

  3. added this to the Stable milestone on Mar 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions