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

        Marcus Carlson created issue -
        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.
        Patrick Corless made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s 4.2.2 [ 10265 ]
        Affects Version/s 4.2.1 [ 10272 ]
        Affects Version/s 4.2 [ 10243 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24863 Wed Jun 22 12:20:22 MDT 2011 patrick.corless PDF-301 applied community patch for Norwegian translation error.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/resources/MessageBundle_no.properties
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24864 Wed Jun 22 12:26:01 MDT 2011 patrick.corless PDF-301 applied community patch for Norwegian translation error on inserting i18n parameters.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/resources/MessageBundle_no.properties
        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.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: