Skip to content

Commit

Permalink
Add "Check server status" button translations
Browse files Browse the repository at this point in the history
  • Loading branch information
moisseev committed Aug 18, 2024
1 parent c3a3c39 commit 4d469e9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions _locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,9 @@
"spamnessOptions.serverPassword.note": {
"message": "Password is stored in plain text. Use with caution."
},
"spamnessOptions.checkServerStatus.label": {
"message": "Check server status"
},
"spamnessOptions.statusMessage.invalidUrl": {
"message": "Invalid server URL."
},
Expand Down
3 changes: 3 additions & 0 deletions _locales/ru/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,9 @@
"spamnessOptions.serverPassword.note": {
"message": "Пароль хранится в открытом виде. Используйте с осторожностью."
},
"spamnessOptions.checkServerStatus.label": {
"message": "Проверить статус сервера"
},
"spamnessOptions.statusMessage.invalidUrl": {
"message": "Некорректный URL сервера."
},
Expand Down
2 changes: 1 addition & 1 deletion options/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
<span class="description">__MSG_spamnessOptions.serverPassword.note__</span>

<div id="server-status-container">
<button type="button" id="check-server-status-button">Check server status</button>
<button type="button" id="check-server-status-button">__MSG_spamnessOptions.checkServerStatus.label__</button>
<p id="server-status-message"></p>
<div id="loading-spinner" class="spinner spinner-hidden"></div>
</div>
Expand Down

0 comments on commit 4d469e9

Please sign in to comment.