diff --git a/client/modules/IDE/components/Preferences/index.jsx b/client/modules/IDE/components/Preferences/index.jsx index c74614d70e..292955fb17 100644 --- a/client/modules/IDE/components/Preferences/index.jsx +++ b/client/modules/IDE/components/Preferences/index.jsx @@ -627,10 +627,9 @@ export default function Preferences() { versionInfo.isVersion2 ? 'beta.' : '' }p5js.org/reference/p5.sound`} > - {t('Preferences.SoundReference').replace( - '$VERSION', - versionInfo.version - )} + {t('Preferences.SoundReference', { + version: versionInfo.version + })} diff --git a/translations/locales/en-US/translations.json b/translations/locales/en-US/translations.json index 944021fb18..9469947932 100644 --- a/translations/locales/en-US/translations.json +++ b/translations/locales/en-US/translations.json @@ -231,7 +231,7 @@ "DataAddon": "p5.js 1.x Compatibility Add-on Library — Data & Events", "AddonOnARIA": "on", "AddonOffARIA": "off", - "SoundReference": "View the reference for p5.sound compatible with p5.js $VERSION", + "SoundReference": "View the reference for p5.sound compatible with p5.js {{version}}", "CopyToClipboardSuccess": "Copied to clipboard!", "CopyToClipboardFailure": "We weren't able to copy the text, try selecting it and copying it manually." }, diff --git a/translations/locales/pt-BR/translations.json b/translations/locales/pt-BR/translations.json index 15a0aecf68..7a70cf3ee9 100644 --- a/translations/locales/pt-BR/translations.json +++ b/translations/locales/pt-BR/translations.json @@ -219,7 +219,7 @@ "PreloadAddon": "Biblioteca adicional de Compatibilidade p5.js 1.x — Pré-carregamento", "ShapesAddon": "Biblioteca adicional de Compatibilidade p5.js 1.x — Formas", "DataAddon": "Biblioteca adicional de Compatibilidade p5.js 1.x — Estruturas de Dados", - "SoundReference": "Ver a referência para p5.sound compatível com p5.js $VERSION", + "SoundReference": "Ver a referência para p5.sound compatível com p5.js {{version}}", "CopyToClipboardSuccess": "Copiado para a área de transferência!", "CopyToClipboardFailure": "Não conseguimos copiar o texto, tente selecioná-lo e copiá-lo manualmente." }, diff --git a/translations/locales/uk-UA/translations.json b/translations/locales/uk-UA/translations.json index 22fc799629..b548333a57 100644 --- a/translations/locales/uk-UA/translations.json +++ b/translations/locales/uk-UA/translations.json @@ -68,9 +68,9 @@ "Password": "Пароль", "PasswordARIA": "Пароль", "Submit": "Увійти", - "Errors": { - "invalidCredentials": "Неправильна електронна пошта або пароль." - } + "Errors": { + "invalidCredentials": "Неправильна електронна пошта або пароль." + } }, "LoginView": { "Title": "p5.js вебредактор | Вхід", @@ -122,7 +122,7 @@ "EmailAddress": "hello@p5js.org", "Socials": "Соціальні мережі", "LinkDescriptions": { - "Home": "Дізнайтеся більше про p5.js та нашу спільноту.", + "Home": "Дізнайтеся більше про p5.js та нашу спільноту.", "Examples": "Дослідіть можливості p5.js за допомогою коротких прикладів.", "CodeOfConduct": "Читайте наш Статут спільноти та Кодекс поведінки.", "Libraries": "Розширте можливості p5.js за допомогою бібліотек, створених спільнотою.", @@ -143,7 +143,7 @@ "SettingsSaved": "Налаштування збережено.", "EmptyCurrentPass": "Ви не ввели пароль.", "IncorrectCurrentPass": "Поточний пароль неправильний", - "DefaultError":"Щось пішло не так", + "DefaultError": "Щось пішло не так", "UserNotFound": "Користувача не знайдено", "NetworkError": "Помилка мережі" }, @@ -228,7 +228,7 @@ "DataAddon": "p5.js 1.x Compatibility Add-on Library — Data Structures", "AddonOnARIA": "так", "AddonOffARIA": "ні", - "SoundReference": "Покликання на бібліотеку p5.sound, сумісну з p5.js $VERSION", + "SoundReference": "Покликання на бібліотеку p5.sound, сумісну з p5.js {{version}}", "CopyToClipboardSuccess": "Скопійовано до буфера обміну!", "CopyToClipboardFailure": "Нам не вдалося скопіювати текст, спробуйте виділити його та скопіювати вручну." }, @@ -295,9 +295,9 @@ "SubmitFeedback": "Надіслати відгук", "SubmitFeedbackARIA": "надіслати відгук", "AddCollectionTitle": "Додати у колекцію", - "AddCollectionARIA":"додати у колекцію", + "AddCollectionARIA": "додати у колекцію", "ShareTitle": "Поширити", - "ShareARIA":"поширити" + "ShareARIA": "поширити" }, "NewFileModal": { "Title": "Додати файл", @@ -342,7 +342,7 @@ "errorShortPassword": "Пароль повинен містити щонайменше 6 символів", "errorConfirmPassword": "Введіть підтвердження пароля", "errorNewPassword": "Введіть новий пароль або залиште поточний пароль порожнім.", - "errorNewPasswordRepeat":"Your New Password must differ from the current one.", + "errorNewPasswordRepeat": "Your New Password must differ from the current one.", "errorEmptyUsername": "Введіть ім'я користувача.", "errorLongUsername": "Ім'я користувача має містити менше 20 символів.", "errorValidUsername": "Ім'я користувача має складатися лише з цифр, літер, крапок, тире та символа підкреслення." @@ -497,7 +497,7 @@ "Description": "опис", "NumSketches": "{{count}} скетч", "NumSketches_plural": "{{count}} скетчів", - "By":"Колекція від ", + "By": "Колекція від ", "NoSketches": "Немає скетчів у колекції", "TableSummary": "таблиця, що містить усі колекції", "HeaderName": "Ім'я", @@ -561,7 +561,7 @@ "Overlay": { "AriaLabel": "Закрити {{title}}" }, - "QuickAddList":{ + "QuickAddList": { "ButtonRemoveARIA": "Видалити з колекції", "ButtonAddToCollectionARIA": "Додати у колекцію", "View": "Перегляд"