Skip to content

Commit 4de5405

Browse files
authored
Merge pull request #795 from ticpu/clarify-allowed-domains-format
Clarify allowed domains format in preference description
2 parents d174242 + f9ece75 commit 4de5405

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

native/userchrome/profile/chrome/pwa/content/preferences.sys.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ class PwaPreferences {
115115
<vbox id="allowedDomainsBox" style="padding-top: 1rem;">
116116
<label>
117117
<description data-l10n-id="allowed-domains-description"></description>
118+
<description data-l10n-id="allowed-domains-format"></description>
118119
</label>
119120
<vbox>
120121
<html:input type="text" class="global-input" preference="${ChromeLoader.PREF_ALLOWED_DOMAINS}" data-l10n-id="allowed-domains-input" />

native/userchrome/profile/chrome/pwa/localization/en-US/pwa/preferences.ftl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,10 @@ display-address-bar-choice-never =
8282

8383
allowed-domains-description = Domains always allowed to be opened in the app browser
8484
85+
allowed-domains-format = Enter a comma-separated list of domains (e.g. example.com,*.example.com)
86+
8587
allowed-domains-input =
86-
.placeholder = Enter a comma-separated list of domains...
88+
.placeholder = example.com,*.example.com
8789
8890
## Keyboard Shortcuts Group Details
8991

native/userchrome/profile/chrome/pwa/localization/sl/pwa/preferences.ftl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,9 @@ display-address-bar-choice-never =
6565
## Allowed Domains Preference
6666

6767
allowed-domains-description = Domene, ki so vedno lahko odprte v aplikaciji
68+
allowed-domains-format = Vnesite seznam domen, ločenih z vejico (npr. example.com,*.example.com)
6869
allowed-domains-input =
69-
.placeholder = Vnesite seznam domen, ločenih z vejico ...
70+
.placeholder = example.com,*.example.com
7071
7172
## Keyboard Shortcuts Group Details
7273

0 commit comments

Comments
 (0)