Skip to content

Commit

Permalink
update locales
Browse files Browse the repository at this point in the history
  • Loading branch information
dimdenGD committed Sep 25, 2023
1 parent 433dd57 commit e72f8b7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -582,5 +582,5 @@
"uploaded": { "message": "Uploaded" },
"hide_unfollowers_page": { "message": "Hide unfollowers page" },
"custom_font": { "message": "<CUSTOM>" },
"current_font": { "message": "Current setting: "}
"current_font": { "message": "Current font: $FONT$", "placeholders": { "font": { "content": "Arial" } } }
}
4 changes: 3 additions & 1 deletion _locales/ru/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -571,5 +571,7 @@
"share_tweet_to": { "message": "Поделиться твитом..." },
"disable_find_hotkey": { "message": "Выключить горячую клавишу для поиска (F)" },
"uploaded": { "message": "Загружено" },
"hide_unfollowers_page": { "message": "Скрыть страницу отписчиков" }
"hide_unfollowers_page": { "message": "Скрыть страницу отписчиков" },
"custom_font": { "message": "<КАСТОМНЫЙ>" },
"current_font": { "message": "Текущий шрифт: $FONT$", "placeholders": { "font": { "content": "Arial" } } }
}
4 changes: 3 additions & 1 deletion _locales/uk/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -571,5 +571,7 @@
"share_tweet_to": { "message": "Поширити твіт..." },
"disable_find_hotkey": { "message": "Виключити гарячу клавішу для пошуку (F)" },
"uploaded": { "message": "Завантажено" },
"hide_unfollowers_page": { "message": "Сховати сторінку відписників" }
"hide_unfollowers_page": { "message": "Сховати сторінку відписників" },
"custom_font": { "message": "<КАСТОМНИЙ>" },
"current_font": { "message": "Поточний шрифт: $FONT$", "placeholders": { "font": { "content": "Arial" } } }
}
2 changes: 1 addition & 1 deletion layouts/settings/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function updateUserData() {
function refreshFontSelectLabels(element, baselabel, fontname) {
element.innerHTML = baselabel;
if (fontname) {
element.innerHTML += "<br>" + LOC.current_font.message + fontname;
element.innerHTML += "<br>" + LOC.current_font.message.replace('$FONT$', fontname);
}
}
// Render
Expand Down

0 comments on commit e72f8b7

Please sign in to comment.