Uploaded image for project: 'XWiki Infrastructure'
  1. XWiki Infrastructure
  2. XINFRA-94

Translations: #@deprecated annotation extends to all following translations

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • l10n.xwiki.org
    • None

    Description

      For example in
      xwiki-platform-core/xwiki-platform-legacy/xwiki-platform-legacy-oldcore/target/classes/ApplicationResources.properties
      around line 4566:

      #@deprecated platform.extension.updater.reloadHint
      platform.extension.distributionWizard.extensionsStepReloadHint=...
      
      annotations.title=Annotations
      ... more translations following
      

      The annotation not only applies to 'platform.extension.distributionWizard.extensionsStepReloadHint', but also to 'annotations.title' (and seemingly all following translation keys, e.g.:

      http://l10n.xwiki.org/xwiki/bin/inline/Platform/PlatformXWikiCoreResources_-1260871922_annotations-title_de

      sometimes this seems even to cause translations be moved to different keys than the deprecated ones:

      http://l10n.xwiki.org/xwiki/bin/view/Platform/PlatformXWikiCoreResources_-1961266956_admin-analytics-account-description_de

      Seems the value of the last key has been used instead of the deprecated one to move that translation:

      #@deprecated admin.analytics.account.description
      admin.analytics.sectiondesc=...
      
      dashboard.gadget.actions.tooltip=....
      

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            camil7 Clemens Robbenhaar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: