ICEpdf
  1. ICEpdf
  2. PDF-301

Error in norwegian translation

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.1
    • Fix Version/s: 4.2.2
    • Component/s: Viewer RI
    • Labels:
      None
    • Environment:
      All
    • Workaround Exists:
      Yes
    • Workaround Description:
      Edit the translation file directly

      Description

      The translation for number of pages in the viewer is incorrect. "(0)" vs "{0}"

        Activity

        Hide
        Patrick Corless added a comment -


        Would it be possible to post the file in question? Otherwise there isn't much that can be done to to help.

        Show
        Patrick Corless added a comment - Would it be possible to post the file in question? Otherwise there isn't much that can be done to to help.
        Hide
        Marcus Carlson added a comment -

        @Patrick, here's a patch for it:

        Index: icepdf/viewer/src/org/icepdf/ri/resources/MessageBundle_no.properties
        ===================================================================
        — icepdf/viewer/src/org/icepdf/ri/resources/MessageBundle_no.properties (revision 24689)
        +++ icepdf/viewer/src/org/icepdf/ri/resources/MessageBundle_no.properties (arbetskopia)
        @@ -72,7 +72,7 @@
        viewer.toolbar.navigation.nextPage.tooltip = Neste side
        viewer.toolbar.navigation.lastPage.label =
        viewer.toolbar.navigation.lastPage.tooltip = Siste side
        -viewer.toolbar.pageIndicator = av (0)
        +viewer.toolbar.pageIndicator = av

        {0}

        viewer.toolbar.zoom.label =
        viewer.toolbar.zoom.tooltip = Zoom
        viewer.toolbar.zoom.out.label =

        Show
        Marcus Carlson added a comment - @Patrick, here's a patch for it: Index: icepdf/viewer/src/org/icepdf/ri/resources/MessageBundle_no.properties =================================================================== — icepdf/viewer/src/org/icepdf/ri/resources/MessageBundle_no.properties (revision 24689) +++ icepdf/viewer/src/org/icepdf/ri/resources/MessageBundle_no.properties (arbetskopia) @@ -72,7 +72,7 @@ viewer.toolbar.navigation.nextPage.tooltip = Neste side viewer.toolbar.navigation.lastPage.label = viewer.toolbar.navigation.lastPage.tooltip = Siste side -viewer.toolbar.pageIndicator = av (0) +viewer.toolbar.pageIndicator = av {0} viewer.toolbar.zoom.label = viewer.toolbar.zoom.tooltip = Zoom viewer.toolbar.zoom.out.label =
        Hide
        Patrick Corless added a comment -

        Thanks Marcus, I'll make sure this get in the next release.

        Show
        Patrick Corless added a comment - Thanks Marcus, I'll make sure this get in the next release.
        Hide
        Patrick Corless added a comment -

        Applied fix for missing parameter format

        {0}

        in a few places which would keep the correct value form showing up in the RI via i18n internationalization.

        Show
        Patrick Corless added a comment - Applied fix for missing parameter format {0} in a few places which would keep the correct value form showing up in the RI via i18n internationalization.

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Marcus Carlson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: