From 8ed69a97a1640ac1b8175e5374941264ea7113a6 Mon Sep 17 00:00:00 2001 From: Matt Kiazyk Date: Mon, 9 May 2022 20:59:21 -0500 Subject: [PATCH] Update InstallationStepDescription using positional specifiers --- Xcodes/Resources/Licenses.rtf | 2 +- Xcodes/Resources/en.lproj/Localizable.strings | 4 +++- Xcodes/Resources/es.lproj/Localizable.strings | 4 +++- Xcodes/Resources/fr.lproj/Localizable.strings | 4 +++- Xcodes/Resources/ru.lproj/Localizable.strings | 4 +++- 5 files changed, 13 insertions(+), 5 deletions(-) diff --git a/Xcodes/Resources/Licenses.rtf b/Xcodes/Resources/Licenses.rtf index f2290ab..4800d6a 100644 --- a/Xcodes/Resources/Licenses.rtf +++ b/Xcodes/Resources/Licenses.rtf @@ -1,4 +1,4 @@ -{\rtf1\ansi\ansicpg1252\cocoartf2580 +{\rtf1\ansi\ansicpg1252\cocoartf2638 \cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fnil\fcharset0 .SFNS-Regular;} {\colortbl;\red255\green255\blue255;} {\*\expandedcolortbl;;} diff --git a/Xcodes/Resources/en.lproj/Localizable.strings b/Xcodes/Resources/en.lproj/Localizable.strings index 15dad55..1d5a779 100644 --- a/Xcodes/Resources/en.lproj/Localizable.strings +++ b/Xcodes/Resources/en.lproj/Localizable.strings @@ -40,7 +40,9 @@ "NoXcodeSelected" = "No Xcode Selected"; // Installation Steps -"InstallationStepDescription" = "Step %d of %d: %@"; +// When localizing. Items will be replaced in order. ie "Step 1 of 6: Downloading" +// So if changing order, make sure the positional specficier is retained. ex: "%3$@: Step %1$d of %2$d" +"InstallationStepDescription" = "Step %1$d of %2$d: %3$@"; "DownloadingPercentDescription" = "Downloading: %d%% complete"; "StopInstallation" = "Stop installation"; "DownloadingError" = "No download information found"; diff --git a/Xcodes/Resources/es.lproj/Localizable.strings b/Xcodes/Resources/es.lproj/Localizable.strings index 37234be..4c3a2fd 100644 --- a/Xcodes/Resources/es.lproj/Localizable.strings +++ b/Xcodes/Resources/es.lproj/Localizable.strings @@ -40,7 +40,9 @@ "NoXcodeSelected" = "No se ha seleccionado un Xcode"; // Installation Steps -"InstallationStepDescription" = "Paso %d de %d: %@"; +// When localizing. Items will be replaced in order. ie "Step 1 of 6: Downloading" +// So if changing order, make sure the positional specficier is retained. ex: "%3$@: Step %1$d of %2$d" +"InstallationStepDescription" = "Paso %1$d de %2$d: %3$@"; "DownloadingPercentDescription" = "Descargando: %d%% completado"; "StopInstallation" = "Detener Instalación"; "DownloadingError" = "No se encontró información de descarga"; diff --git a/Xcodes/Resources/fr.lproj/Localizable.strings b/Xcodes/Resources/fr.lproj/Localizable.strings index 1488374..62c8bad 100644 --- a/Xcodes/Resources/fr.lproj/Localizable.strings +++ b/Xcodes/Resources/fr.lproj/Localizable.strings @@ -40,7 +40,9 @@ "NoXcodeSelected" = "Aucun XCode Sélectionné"; // Installation Steps -"InstallationStepDescription" = "Étape %d de %d : %@"; +// When localizing. Items will be replaced in order. ie "Step 1 of 6: Downloading" +// So if changing order, make sure the positional specficier is retained. ex: "%3$@: Step %1$d of %2$d" +"InstallationStepDescription" = "Étape %1$d de %2$d: %3$@"; "DownloadingPercentDescription" = "Téléchargement: %d%% téléchargé"; "StopInstallation" = "Arrêter l'installation"; "DownloadingError" = "Aucune information de téléchargement trouvée"; diff --git a/Xcodes/Resources/ru.lproj/Localizable.strings b/Xcodes/Resources/ru.lproj/Localizable.strings index b0b6693..57ae018 100644 --- a/Xcodes/Resources/ru.lproj/Localizable.strings +++ b/Xcodes/Resources/ru.lproj/Localizable.strings @@ -39,7 +39,9 @@ "NoXcodeSelected" = "Xcode не выбран"; // Installation Steps -"InstallationStepDescription" = "Шаг %d из %d: %@"; +// When localizing. Items will be replaced in order. ie "Step 1 of 6: Downloading" +// So if changing order, make sure the positional specficier is retained. ex: "%3$@: Step %1$d of %2$d" +"InstallationStepDescription" = "Шаг %1$d из %2$d: %3$@"; "DownloadingPercentDescription" = "Скачивание: %d% завершено"; "StopInstallation" = "Остановить установку"; "DownloadingError" = "Информация о загрузке не найдена";