Skip to content

Commit

Permalink
Added strings for localization #805
Browse files Browse the repository at this point in the history
  • Loading branch information
ManeraKai committed Sep 3, 2023
1 parent 30e9aa3 commit 94a4ba8
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
11 changes: 10 additions & 1 deletion src/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,14 @@
},
"about": {
"message": "About"
}
},
"unsupportedIframesHandling": {
"message": "Unsupported iframes handling"
},
"fetchPublicInstances": {
"message": "Fetch public instances"
},
"disable": {
"message": "Disable"
}
}
4 changes: 2 additions & 2 deletions src/pages/options/widgets/general.pug
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ section(class="option-block" id="general_page")
option(value="dark" data-localise="__MSG_dark__") Dark

div(class="some-block option-block")
h4 Fetch public instances
h4(data-localise="__MSG_fetchPublicInstances__") Fetch public instances
select(id="fetch-instances")
option(value="github") GitHub
option(value="codeberg") Codeberg
option(value="disable") Disable
option(value="disable" data-localise="__MSG_disable__") Disable

div(class="some-block option-block")
h4(data-localise="__MSG_excludeFromRedirecting__") Excluded from redirecting
Expand Down
2 changes: 1 addition & 1 deletion src/pages/options/widgets/services.pug
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ each val, service in services


div(class="some-block option-block")
h4 Unsupported iframes handling
h4(data-localise="__MSG_unsupportedIframesHandling__") Unsupported iframes handling
select(id=service+"-unsupportedUrls")
option(value="bypass") bypass
option(value="block") block
Expand Down
2 changes: 1 addition & 1 deletion src/pages/popup/popup.pug
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ html(lang="en")

div(class="some-block" id="change_instance_div" style="display: none")
a(class="title button prevent" id="change_instance")
h4() Switch Instance
h4(data-localise="__MSG_switchInstance__") Switch Instance
svg(xmlns="http://www.w3.org/2000/svg" height="26px" width="26px" fill="currentColor")
path(d="M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z")

Expand Down

0 comments on commit 94a4ba8

Please sign in to comment.