Skip to content

Commit af3503a

Browse files
kn0wnautofix-ci[bot]danielroe
authored
feat(i18n): add en-GB locale 🇬🇧 (#820)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Daniel Roe <daniel@roe.dev>
1 parent 37a77c9 commit af3503a

File tree

3 files changed

+984
-1
lines changed

3 files changed

+984
-1
lines changed

‎config/i18n.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const countryLocaleVariants: Record<string, (LocaleObjectData & { country
3737
// en.json contains en-US translations
3838
{ country: true, code: 'en-US', name: 'English (US)' },
3939
// { code: 'en-CA', name: 'English (Canada)' },
40-
// { code: 'en-GB', name: 'English (UK)' },
40+
{ code: 'en-GB', name: 'English (UK)' },
4141
],
4242
/*ca: [
4343
// ca.json contains ca-ES translations

‎i18n/locales/en-GB.json‎

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"settings": {
3+
"tagline": "customise your npmx experience",
4+
"clear_accent": "Clear accent colour"
5+
},
6+
"search": {
7+
"suggestion": {
8+
"view_org_packages": "View packages by this organisation"
9+
}
10+
},
11+
"connector": {
12+
"modal": {
13+
"connected_hint": "You can now manage packages and organisations from the web UI."
14+
}
15+
},
16+
"org": {
17+
"page": {
18+
"no_packages_hint": "This organisation may not exist or has no public packages.",
19+
"failed_to_load": "Failed to load organisation packages",
20+
"not_found_message": "The organisation \"{'@'}{name}\" does not exist on npm"
21+
}
22+
},
23+
"user": {
24+
"orgs_page": {
25+
"connect_required": "Connect the local CLI to view your organisations.",
26+
"own_orgs_only": "You can only view your own organisations.",
27+
"view_your_orgs": "View your organisations",
28+
"loading": "Loading organisations...",
29+
"empty": "No organisations found."
30+
}
31+
},
32+
"claim": {
33+
"modal": {
34+
"scope_warning_text": "Unscoped package names are a shared resource. Only claim a name if you intend to publish and maintain a package. For personal or organisational projects, use a scoped name like {'@'}{username}/{name}."
35+
}
36+
},
37+
"about": {
38+
"what_we_are": {
39+
"admin_description": "We also aim to provide a better {adminUi} for managing your packages, teams, and organisations — all from the browser, powered by your local npm CLI."
40+
}
41+
},
42+
"header": {
43+
"orgs_dropdown": {
44+
"error": "Failed to load organisations",
45+
"empty": "No organisations found"
46+
}
47+
}
48+
}

0 commit comments

Comments
 (0)