Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fixing use of placeholders inside i18n #3686

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

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fixing use of placeholders inside i18n
  • Loading branch information
cassiano committed Oct 14, 2025
commit af2552a9fc5c4cf5ad4970ea52e89f1215c94c55
7 changes: 3 additions & 4 deletions client/modules/IDE/components/Preferences/index.jsx
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -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
})}
</a>
</legend>
</fieldset>
Expand Down
2 changes: 1 addition & 1 deletion translations/locales/en-US/translations.json
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -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."
},
Expand Down
2 changes: 1 addition & 1 deletion translations/locales/pt-BR/translations.json
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -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."
},
Expand Down
22 changes: 11 additions & 11 deletions translations/locales/uk-UA/translations.json
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@
"Password": "Пароль",
"PasswordARIA": "Пароль",
"Submit": "Увійти",
"Errors": {
"invalidCredentials": "Неправильна електронна пошта або пароль."
}
"Errors": {
"invalidCredentials": "Неправильна електронна пошта або пароль."
}
},
"LoginView": {
"Title": "p5.js вебредактор | Вхід",
Expand Down Expand Up @@ -122,7 +122,7 @@
"EmailAddress": "hello@p5js.org",
"Socials": "Соціальні мережі",
"LinkDescriptions": {
"Home": "Дізнайтеся більше про p5.js та нашу спільноту.",
"Home": "Дізнайтеся більше про p5.js та нашу спільноту.",
"Examples": "Дослідіть можливості p5.js за допомогою коротких прикладів.",
"CodeOfConduct": "Читайте наш Статут спільноти та Кодекс поведінки.",
"Libraries": "Розширте можливості p5.js за допомогою бібліотек, створених спільнотою.",
Expand All @@ -143,7 +143,7 @@
"SettingsSaved": "Налаштування збережено.",
"EmptyCurrentPass": "Ви не ввели пароль.",
"IncorrectCurrentPass": "Поточний пароль неправильний",
"DefaultError":"Щось пішло не так",
"DefaultError":"Щось пішло не так",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These were just (missing) blank spaces added by Prettier.

raclim reacted with thumbs up emoji
"UserNotFound": "Користувача не знайдено",
"NetworkError": "Помилка мережі"
},
Expand Down Expand Up @@ -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}}",
Copy link
Contributor Author

@cassiano cassiano Oct 15, 2025
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here you can see the relevant change itself.

raclim reacted with thumbs up emoji
"CopyToClipboardSuccess": "Скопійовано до буфера обміну!",
"CopyToClipboardFailure": "Нам не вдалося скопіювати текст, спробуйте виділити його та скопіювати вручну."
},
Expand Down Expand Up @@ -295,9 +295,9 @@
"SubmitFeedback": "Надіслати відгук",
"SubmitFeedbackARIA": "надіслати відгук",
"AddCollectionTitle": "Додати у колекцію",
"AddCollectionARIA":"додати у колекцію",
"AddCollectionARIA":"додати у колекцію",
"ShareTitle": "Поширити",
"ShareARIA":"поширити"
"ShareARIA":"поширити"
},
"NewFileModal": {
"Title": "Додати файл",
Expand Down Expand Up @@ -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": "Ім'я користувача має складатися лише з цифр, літер, крапок, тире та символа підкреслення."
Expand Down Expand Up @@ -497,7 +497,7 @@
"Description": "опис",
"NumSketches": "{{count}} скетч",
"NumSketches_plural": "{{count}} скетчів",
"By":"Колекція від ",
"By":"Колекція від ",
"NoSketches": "Немає скетчів у колекції",
"TableSummary": "таблиця, що містить усі колекції",
"HeaderName": "Ім'я",
Expand Down Expand Up @@ -561,7 +561,7 @@
"Overlay": {
"AriaLabel": "Закрити {{title}}"
},
"QuickAddList":{
"QuickAddList":{
"ButtonRemoveARIA": "Видалити з колекції",
"ButtonAddToCollectionARIA": "Додати у колекцію",
"View": "Перегляд"
Expand Down
Loading

AltStyle によって変換されたページ (->オリジナル) /