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

V9: Cleaning up unused or duplicated language keys #11111

Merged
merged 9 commits into from
Sep 22, 2021

Conversation

elit0451
Copy link
Contributor

@elit0451 elit0451 commented Sep 16, 2021

Details

  • This PR removes all the language keys which are duplicate in a language file or are not referenced anywhere in the codebase;
  • The majority of the removed keys were keys, connected to packages and members, which are no longer needed for v9.
List of removed language keys

area alias = "actions"
      SetPermissionsForThePage - cs, cy, da, de, en, en_us, es, fr, nl, pl, ru, tr, zh
      toPublish - da, he, it, ja, ko, pt, sv, zh, zh_tw
      LastRunInfoAction - he

area alias = "apps"
      umbListView - it

area alias = "blockEditor"
      labelTemplatePlaceholder - da, en, en_us, nl, tr

area alias = "buttons"
      saveAndSchedule - cs, cy, da, de, en, en_us, fr, nb, nl, ru, sv, tr
      showPage - cs, cy, da, en, en_us, fr, nl, tr
      rollback - cs, cy, da, de, en_us, fr, nl
      submitChangesAndClose – cy, da, en, en_us, nl, tr
      schedPublish - tr

area alias = "codefile"
      createFolderFailedById - cs, cy, da, de, en, en_us, fr, nl, tr
      createFolderFailedByName - cs, cy, da, de, en, en_us, fr, nl, tr

area alias = "colors"
      black - cy
      green - cy
      yellow - cy
      orange - cy
      bluegrey - cy
      grey - cy
      brown - cy
      lightblue - cy
      cyan - cy
      lightgreen - cy
      lime - cy
      amber - cy
      deeporange - cy
      red - cy
      pink - cy
      purple - cy
      deeppurple - cy
      indigo - cy
      
area alias = "content"
      languagesToPublishForFirstTime - cs, cy, da, de, en, en_us, fr, nl, tr
      languagesToSave - cs, cy, da, de, en, en_us, fr, nl, tr
      languagesToSaveForFirstTime - cs, cy, da, de, en, en_us, fr, nl, tr
      publishedLanguages - cs, cy, da, de, en, en_us, fr, nl, tr
      unpublishedLanguages - cs, cy, da, de, en, en_us, fr, nl, tr
      unmodifiedLanguages - cs, cy, da, de, en, en_us, fr, nl, tr
      untouchedLanguagesForFirstTime - cs, cy, da, de, en, en_us, fr, nl, tr
      nestedContentCopyAllItemsName - da
      variantsToSendForApproval - cy, da, en, en_us, nl, tr
      variantsToSchedule - cy, da, en, en_us, nl, tr
      variantsToUnpublish - cy, da, en, en_us, nl, tr
      
area alias = "contentTypeEditor"
      grup - tr
      allowTemplatesHeading - tr
      allowTemplatesDescription - tr
      CompositionDescription - tr
      CompositionInUse - tr
      CompositionRemoveWarning - tr
      moveUnderneath - tr
      CompositionUsageHeading - tr
      CompositionUsageSpecification - tr
      değişkenHeading - tr
      değişkenDescription – tr
      noTabs - cy
      addNewTab - cy
      addAnotherTab - cy
      allowAsRootCheckbox - cy
      thisEditorUpdateSettings - cy
      
area alias = "create"
      newEmptyPartialViewMacro - cy
      
area alias = "defaultdialogs"
      macroContainerSettings - cs, cy, da, de, en, en_us, fr, nl, tr
      confirmremovereferenceto – cy, da, en, en_us, nl, tr
      confirmdeleteXofX – cy, en, tr
      selectUserGroups - sv
      templateContentAreaHelp - cy
      createFolder - cy
      linkToFile - cy
      
area alias = "dictionaryItem"
      changeKey – cy

area alias = "editcontenttype"
      allowAtRoot - cy
      allowAtRootDesc - cy
      allowedchildnodetypes - cy
      contenttypecompositions - cy
      create - cy
      deletetab - cy
      description - cy
      newtab - cy
      tab - cy
      thumbnail - cy
      hasListView - cy
      hasListViewDesc - cy
      currentListView - cy
      currentListViewDesc - cy
      
area alias = "editdatatype"
      allPropTypes - cs, cy, da, de, en, en_us, es, fr, nl, pl, ru, tr
      willBeDeleted - cs, cy, da, de, en, en_us, es, fr, nl, pl, ru, tr
      yesDelete - cs, cy, da, de, en, en_us, es, fr, nl, pl, ru, tr
      andAllRelated - cs, cy, da, de, en, en_us, es, fr, nl, pl, ru, tr
      
area alias = "errors"
      macroErrorLoadingUsercontrol - cy
      macroErrorLoadingCustomControl - cy
      macroErrorLoadingMacroEngineScript - cy
      macroErrorParsingXSLTFile - cy
      macroErrorReadingXSLTFile - cy
      pythonErrorHeader - cy
      pythonErrorText - cy
      xsltErrorHeader - cy
      xsltErrorText - cy
      missingPropertyEditorErrorMessage - cy
      
area alias = "general"
      includeFromsubFolders - cs, cy, da, de, en, en_us, fr, nl, tr
      installing - cs, cy, da, en, en_us, nl, tr
      more - cy

area alias = "grid"
      placeholderImageCaption - All files
      warning - cs, da, en, en_us, nl, tr
      rte - cy
      embed - cy
      headline - cy
      quote - cy
      settingDialogDetails - cy
      
area alias = "healthcheck"
      rectifySuccessMessage - cs, cy, de, en, en_us, es, fr, nl, pl, ru, tr, zh, zh_tw
      customErrorsCheckSuccessMessage - cs, cy, de, en, en_us, es, fr, nl, pl, ru, tr, zh, zh_tw
      customErrorsCheckErrorMessage - cs, cy, de, en, en_us, es, fr, nl, pl, ru, tr, zh, zh_tw
      customErrorsCheckRectifySuccessMessage - cs, cy, de, en, en_us, es, fr, nl, pl, ru, tr, zh, zh_tw
      macroErrorModeCheckRectifySuccessMessage - cs, cy, de, en, en_us, es, fr, nl, pl, ru, tr, zh, zh_tw
      trySkipIisCustomErrorsCheckSuccessMessage - cs, cy, de, en, en_us, es, fr, nl, pl, ru, tr, zh, zh_tw
      trySkipIisCustomErrorsCheckErrorMessage - cs, cy, de, en, en_us, es, fr, nl, pl, ru, tr, zh, zh_tw
      trySkipIisCustomErrorsCheckRectifySuccessMessage - cs, cy, de, en, en_us, es, fr, nl, pl, ru, tr, zh, zh_tw
      configurationServiceFileNotFound - cs, cy, de, en, en_us, es, fr, pl, ru, tr
      configurationServiceNodeNotFound - cs, cy, de, en, en_us, es, fr, nl, pl, ru, tr, zh, zh_tw
      configurationServiceError - cs, cy, de, en, en_us, es, fr, nl, pl, ru, tr, zh, zh_tw
      databaseSchemaValidationCheckDatabaseOk - cs, cy, de, en, en_us, fr, nl, tr
      databaseSchemaValidationCheckDatabaseErrors - cs, cy, de, en, en_us, fr, nl, tr
      databaseSchemaValidationCheckDatabaseLogMessage - cs, cy, de, en, en_us, fr, nl, tr
      httpsCheckEnableHttpsError - cs, cy, de, en, en_us, es, fr, nl, pl, ru, tr, zh, zh_tw
      httpsCheckEnableHttpsButton - cs, cy, de, en, en_us, es, fr, nl, pl, ru, tr, zh, zh_tw
      httpsCheckEnableHttpsDescription - cs, cy, de, en, en_us, es, fr, nl, pl, ru, tr, zh, zh_tw
      httpsCheckEnableHttpsSuccess - cs, cy, de, en, en_us, es, fr, nl, pl, ru, tr, zh, zh_tw
      rectifyButton - cs, cy, de, en, en_us, es, fr, nl, pl, ru, tr, zh, zh_tw
      cannotRectifyShouldNotEqual - cs, cy, de, en, en_us, es, fr, nl, pl, ru, tr, zh, zh_tw
      cannotRectifyShouldEqualWithValue - cs, cy, de, en, en_us, es, fr, nl, pl, ru, tr, zh, zh_tw
      valueToRectifyNotProvided - cs, cy, de, en, en_us, es, fr, nl, pl, ru, tr, zh, zh_tw
      compilationDebugCheckRectifySuccessMessage - cs, cy, de, en, en_us, es, fr, nl, pl, ru, tr, zh, zh_tw
      traceModeCheckSuccessMessage - cs, cy, de, en, en_us, es, fr, nl, pl, ru, tr, zh, zh_tw
      traceModeCheckErrorMessage - cs, cy, de, en, en_us, es, fr, nl, pl, ru, tr, zh, zh_tw
      traceModeCheckRectifySuccessMessage - cs, cy, de, en, en_us, es, fr, nl, pl, ru, tr, zh, zh_tw
      folderPermissionsCheckMessage - cs, cy, de, en, en_us, es, fr, nl, pl, ru, tr, zh, zh_tw
      requiredFolderPermissionFailed - cs, cy, de, en, en_us, es, fr, nl, pl, ru, tr, zh, zh_tw
      optionalFolderPermissionFailed - cs, cy, de, en, en_us, es, fr, nl, pl, ru, tr, zh, zh_tw
      filePermissionsCheckMessage - cs, cy, de, en, en_us, es, fr, nl, pl, ru, tr, zh, zh_tw
      requiredFilePermissionFailed - cs, cy, de, en, en_us, es, fr, nl, pl, ru, tr, zh, zh_tw
      optionalFilePermissionFailed - cs, cy, de, en, en_us, es, fr, nl, pl, ru, tr, zh, zh_tw
      setHeaderInConfig - cs, cy, de, en, en_us, es, fr, nl, pl, ru, tr, zh, zh_tw
      clickJackingSetHeaderInConfigDescription - cs, cy, de, en, en_us, es, fr, nl, pl, ru, tr, zh, zh_tw
      clickJackingSetHeaderInConfigSuccess - cs, cy, de, en, en_us, es, fr, nl, pl, ru, tr, zh, zh_tw
      setHeaderInConfigError - cs, cy, de, en, en_us, es, fr, nl, pl, ru, tr, zh, zh_tw
      noSniffSetHeaderInConfigDescription - cs, cy, de, en, en_us, fr, nl, ru, tr
      noSniffSetHeaderInConfigSuccess - cs, cy, de, en, en_us, fr, nl, ru, tr
      hSTSSetHeaderInConfigDescription - cs, cy, de, en, en_us, fr, nl, ru, tr
      hSTSSetHeaderInConfigSuccess - cs, cy, de, en, en_us, fr, nl, ru, tr
      xssProtectionSetHeaderInConfigDescription - cs, cy, de, en, en_us, fr, nl, ru, tr
      xssProtectionSetHeaderInConfigSuccess - cs, cy, de, en, en_us, fr, nl, ru, tr
      checkAllGroups - cs, cy, en, en_us, nl, tr
      fileNotFound – cy, de, en, en_us, es, fr, nl, pl, ru, zh, zh_tw
      httpsCheckInvalidUrl - zh
      tls12HealthCheckSuccess - cy
      tls12HealthCheckWarn - cy

area alias = "help"
      goTo - cy
      helpTopicsFor - cy
      videoChaptersFor - cy
      
area alias = "imagecropper"
      saveCrop - cs, cy, da, de, en, en_us, es, fr, nl, pl, ru, sv, tr
      addCrop - cs, cy, da, de, en, en_us, es, fr, nl, pl, ru, sv, tr
      
area alias = "installer"
      theEndFowseHelp - tr

area alias = "media"
      dragFilesHereToUpload - cs, cy, da, de, en, en_us, fr, nl, tr
      moveFailed - cs, cy, da, de, en, en_us, fr, nl, tr
      copyFailed - cs, cy, da, de, en, en_us, fr, nl, tr
      dropFilesHere - cy
      urls - cy
      onlyAllowedFiles - cy

area alias = "mediaPicker"
      resetMediaCrop - da, en, en_us
      confirmRemoveMediaEntryMessage - da, en, en_us

area alias = "notifications"
      notificationSavedFor - tr
      
area alias = "packager"
      dropHere - cs, cy, da, de, en, en_us, es, fr, nl, pl, ru, tr
      accept - cs, cy, da, de, en, en_us, es, fr, nl, pl, ru, tr
      termsOfUse - cs, cy, da, de, en, en_us, es, fr, nl, pl, ru, tr
      pathToFile - cs, cy, da, de, en, en_us, fr, nl, tr
      pathToFileDescription - cs, cy, da, de, en, en_us, fr, nl, tr
      installFinish - cs, cy, da, de, en, en_us, es, fr, nl, pl, ru, tr
      packageAuthorUrl - cs, cy, da, de, en, en_us, fr, nl, tr
      packageFiles - cs, cy, da, de, en, en_us, fr, nl, tr
      packageIconUrl - cs, cy, da, de, en, en_us, fr, nl, tr
      packageInstall - cs, cy, da, de, en, en_us, es, fr, nl, pl, ru, tr
      packageLicenseUrl - cs, cy, da, de, en, en_us, fr, nl, tr
      packageProperties - cs, cy, da, de, en, en_us, fr, nl, tr
      packageVersionUpgrade - cs, cy, da, de, en_us, fr, nl
      packageAlreadyInstalled - cs, cy, da, de, en, en_us, es, fr, nl, pl, ru, tr, zh, zh_tw
      targetVersionMismatch - cs, cy, da, de, en, en_us, es, fr, nl, pl, ru, tr, zh, zh_tw
      installStateUninstalling - cs, cy, de, nl, zh, zh_tw
      installStateDownloading - cs, cy, de, nl, zh, zh_tw
      installStateImporting - cs, cy, de, nl, zh, zh_tw
      installStateInstalling - cs, cy, de, nl, zh, zh_tw
      installStateRestarting - cs, cy, de, nl, zh, zh_tw
      installStateComplete - de, cy, nl, zh, zh_tw
      installStateCompleted – cy, de, nl, zh
      orClickHereToUpload – cy
      uploadPackage - cy
      localPackageDescription - cy
      uploadAnother - cy
      cancelAndUploadAnother - cy
      installStateUploading - cy
      viewPackageWebsite - cy
      packageDemonstration - cy
      packageNoUpgrades - cy
      packageUpgradeDownload - cy
      packageUpgradeHeader - cy
      packageUpgradeInstructions - cy
      packageUpgradeText - cy
      packageVersionHistory - cy

area alias = "placeholders"
      a11yCreate – cy, en, fr, tr

area alias = "preview"
      returnToPreviewButton - da

area alias = "recycleBin"
      noRestoreRelation - cy
      restoreUnderRecycled - cy

area alias = "redirectUrls"
      confirmRemove - cs, cy, da, de, en, en_us, es, fr, nl, pl, ru, tr, zh, zh_tw
      removeButton - cy
      
area alias = "references"
      noDocumentTypes - cs, cy, da, en, en_us, fr, nl, tr
      noMediaTypes - cs, cy, da, en, en_us, fr, nl, tr
      noMemberTypes - cs, cy, da, en, en_us, fr, nl, tr
      labelsedByDocumentTypes - da

area alias = "sections"
      analytics - cy
      
area alias = "shortcuts"
      toggleAllowSegmentVariants – cy, da, en, en_us, nl, tr

area alias = "speechBubbles"
      editMemberGroupSaved - cs, cy, da, de, en, en_us, fr, nl, tr
      smallerViewErrorHeader - tr
      editContentPublishedWithExpireDateText - cy
      editContentSavedWithReleaseDateText - cy
      editMemberGroupSaved - cy
      pythonErrorHeader - cy
      pythonErrorText - cy
      pythonSavedHeader - cy
      pythonSavedText - cy
      xsltErrorHeader - cy
      xsltErrorText - cy
      xsltPermissionErrorText - cy
      xsltSavedHeader - cy
      xsltSavedText - cy
      scriptSavedHeader - cy
      scriptSavedText - cy
      scriptErrorHeader - cy
      scriptErrorText - cy
      cssErrorText - cy
      enableUsersError - cy
      disableUsersError - cy
      enableUserError - cy
      disableUserError - cy
      unlockUsersError - cy
      unlockUserError - cy
      
area alias = "template"
      copyToClipboard - cs, cy, da, en, en_us, fr, nl, tr
      greatThanEqual - tr
      noMastertemplate - cy
      buildQuery - cy

area alias = "templateEditor"
      addFallbackField - cs, cy, da, de, en, en_us, es, fr, nl, pl, ru, tr
      fallbackField - cs, cy, da, de, en, en_us, es, fr, nl, pl, ru, tr
      convertLineBreaksDescription - cs, cy, da, de, en, en_us, es, fr, nl, pl, ru, tr
      formatAndEncoding - cs, cy, da, de, en, en_us, es, fr, nl, pl, ru, tr
      formatAsDateDescr - cs, cy, da, de, en, en_us, es, fr, nl, pl, ru, tr
      modifyOutput - cs, cy, da, de, en, en_us, es, fr, nl, pl, ru, tr
      separator - cs, cy, da, de, en, en_us, es, fr, nl, pl, ru, tr
      
area alias = "translation"
      assignedTasks - cy
      assignedTasksHelp - cy
      closeTask - cy
      downloadAllAsXml - cy
      downloadTaskAsXml - cy
      mailSubject - cy
      ownedTasks - cy
      ownedTasksHelp - cy
      noLanguageSelected - cy
      taskAssignedBy - cy
      taskOpened - cy
      
area alias = "treeHeaders"
      python - cy
      xslt - cy
      analytics - cy

area alias = "user"
      invite - cs, da, de, en, en_us, fr, nl, ru, sv, tr

Test

  • We need to make sure that no keys were mistakenly removed and that can easily be seen if there is no place in the back-office where we see [language key] (translation failing).

…-keys-cleanup

# Conflicts:
#	src/Umbraco.Web.UI/umbraco/config/lang/nl.xml
@bergmania bergmania merged commit 9b357ab into v9/dev Sep 22, 2021
@bergmania bergmania deleted the v9/feature/language-keys-cleanup branch September 22, 2021 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants