@pocket-trash/localizations 0.0.10 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -16
- package/dist/index.d.ts +372 -4
- package/dist/index.js +0 -8
- package/dist/localizations/en-US.d.ts +186 -0
- package/dist/localizations/en-US.js +186 -0
- package/dist/localizations/es-MX.d.ts +186 -0
- package/dist/localizations/es-MX.js +186 -0
- package/dist/types/localization.d.ts +186 -0
- package/package.json +7 -5
|
@@ -18,6 +18,192 @@ export type CompleteLocalizationResource = Readonly<{
|
|
|
18
18
|
locale: {
|
|
19
19
|
current: string;
|
|
20
20
|
};
|
|
21
|
+
web: {
|
|
22
|
+
site: {
|
|
23
|
+
name: string;
|
|
24
|
+
};
|
|
25
|
+
action: {
|
|
26
|
+
archive: string;
|
|
27
|
+
clearAllFilters: string;
|
|
28
|
+
close: string;
|
|
29
|
+
edit: string;
|
|
30
|
+
saveFlag: string;
|
|
31
|
+
search: string;
|
|
32
|
+
signIn: string;
|
|
33
|
+
visitProductPage: string;
|
|
34
|
+
};
|
|
35
|
+
admin: {
|
|
36
|
+
featureFlags: {
|
|
37
|
+
actions: string;
|
|
38
|
+
adminOnlyTargeting: string;
|
|
39
|
+
audience: string;
|
|
40
|
+
booleanControls: string;
|
|
41
|
+
description: string;
|
|
42
|
+
displayName: string;
|
|
43
|
+
editFlag: string;
|
|
44
|
+
emailUsernameOrName: string;
|
|
45
|
+
featureFlags: string;
|
|
46
|
+
flag: string;
|
|
47
|
+
flags: string;
|
|
48
|
+
globalDefaultEnabled: string;
|
|
49
|
+
newFlag: string;
|
|
50
|
+
searchUsers: string;
|
|
51
|
+
slugPlaceholder: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
archive: {
|
|
55
|
+
closeSearch: string;
|
|
56
|
+
controls: string;
|
|
57
|
+
defaultPenDescription: string;
|
|
58
|
+
filterDescription: string;
|
|
59
|
+
filters: string;
|
|
60
|
+
itemCount: string;
|
|
61
|
+
noDescription: string;
|
|
62
|
+
noItems: string;
|
|
63
|
+
searchPlaceholder: string;
|
|
64
|
+
searchProducts: string;
|
|
65
|
+
sortLabel: string;
|
|
66
|
+
sortProducts: string;
|
|
67
|
+
sortDescription: string;
|
|
68
|
+
footer: {
|
|
69
|
+
fanMade: string;
|
|
70
|
+
productOwnership: string;
|
|
71
|
+
resourceFor: string;
|
|
72
|
+
suggestionsOrContact: string;
|
|
73
|
+
discord: string;
|
|
74
|
+
};
|
|
75
|
+
headline: {
|
|
76
|
+
grip: string;
|
|
77
|
+
mechanism: string;
|
|
78
|
+
pen: string;
|
|
79
|
+
};
|
|
80
|
+
lightbox: {
|
|
81
|
+
archived: string;
|
|
82
|
+
closeProductDetails: string;
|
|
83
|
+
nextImage: string;
|
|
84
|
+
previousImage: string;
|
|
85
|
+
released: string;
|
|
86
|
+
specsDescription: string;
|
|
87
|
+
};
|
|
88
|
+
filter: {
|
|
89
|
+
all: string;
|
|
90
|
+
any: string;
|
|
91
|
+
matchMode: string;
|
|
92
|
+
bodyDetails: string;
|
|
93
|
+
category: string;
|
|
94
|
+
clip: string;
|
|
95
|
+
finish: string;
|
|
96
|
+
material: string;
|
|
97
|
+
mechanism: string;
|
|
98
|
+
refill: string;
|
|
99
|
+
size: string;
|
|
100
|
+
tipNose: string;
|
|
101
|
+
};
|
|
102
|
+
sort: {
|
|
103
|
+
newestDrop: string;
|
|
104
|
+
oldestDrop: string;
|
|
105
|
+
priceLowToHigh: string;
|
|
106
|
+
priceHighToLow: string;
|
|
107
|
+
weightLightToHeavy: string;
|
|
108
|
+
weightHeavyToLight: string;
|
|
109
|
+
diameterThinToThick: string;
|
|
110
|
+
diameterThickToThin: string;
|
|
111
|
+
titleAToZ: string;
|
|
112
|
+
};
|
|
113
|
+
spec: {
|
|
114
|
+
diameter: string;
|
|
115
|
+
length: string;
|
|
116
|
+
model: string;
|
|
117
|
+
price: string;
|
|
118
|
+
weight: string;
|
|
119
|
+
};
|
|
120
|
+
state: {
|
|
121
|
+
archived: string;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
currency: {
|
|
125
|
+
aud: string;
|
|
126
|
+
cad: string;
|
|
127
|
+
chf: string;
|
|
128
|
+
eur: string;
|
|
129
|
+
gbp: string;
|
|
130
|
+
jpy: string;
|
|
131
|
+
nzd: string;
|
|
132
|
+
usd: string;
|
|
133
|
+
};
|
|
134
|
+
error: {
|
|
135
|
+
expectedJsonRequestBody: string;
|
|
136
|
+
invalidCurrencyCode: string;
|
|
137
|
+
invalidDimensionUnit: string;
|
|
138
|
+
invalidLocale: string;
|
|
139
|
+
invalidLogClientKey: string;
|
|
140
|
+
invalidTheme: string;
|
|
141
|
+
invalidWeightUnit: string;
|
|
142
|
+
missingSetting: string;
|
|
143
|
+
settingsSaveFailed: string;
|
|
144
|
+
userSettingsObject: string;
|
|
145
|
+
};
|
|
146
|
+
navigation: {
|
|
147
|
+
account: string;
|
|
148
|
+
accountMenu: string;
|
|
149
|
+
betaFeatures: string;
|
|
150
|
+
collections: string;
|
|
151
|
+
language: string;
|
|
152
|
+
logOut: string;
|
|
153
|
+
user: string;
|
|
154
|
+
};
|
|
155
|
+
locale: {
|
|
156
|
+
enUS: string;
|
|
157
|
+
esMX: string;
|
|
158
|
+
};
|
|
159
|
+
page: {
|
|
160
|
+
betaFeatures: {
|
|
161
|
+
empty: string;
|
|
162
|
+
};
|
|
163
|
+
collections: {
|
|
164
|
+
empty: string;
|
|
165
|
+
};
|
|
166
|
+
notFound: {
|
|
167
|
+
description: string;
|
|
168
|
+
returnToArchive: string;
|
|
169
|
+
title: string;
|
|
170
|
+
unavailable: string;
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
settings: {
|
|
174
|
+
about: string;
|
|
175
|
+
aboutDescription: string;
|
|
176
|
+
currency: string;
|
|
177
|
+
dark: string;
|
|
178
|
+
dimensionUnits: string;
|
|
179
|
+
dimensions: string;
|
|
180
|
+
displayCurrency: string;
|
|
181
|
+
displayPreferences: string;
|
|
182
|
+
displayPreferencesMachinedPens: string;
|
|
183
|
+
grams: string;
|
|
184
|
+
inches: string;
|
|
185
|
+
language: string;
|
|
186
|
+
light: string;
|
|
187
|
+
millimeters: string;
|
|
188
|
+
settings: string;
|
|
189
|
+
system: string;
|
|
190
|
+
theme: string;
|
|
191
|
+
weight: string;
|
|
192
|
+
weightUnits: string;
|
|
193
|
+
ounces: string;
|
|
194
|
+
};
|
|
195
|
+
sidebar: {
|
|
196
|
+
close: string;
|
|
197
|
+
description: string;
|
|
198
|
+
sidebar: string;
|
|
199
|
+
toggle: string;
|
|
200
|
+
};
|
|
201
|
+
status: {
|
|
202
|
+
disabled: string;
|
|
203
|
+
enabled: string;
|
|
204
|
+
failedToLoad: string;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
21
207
|
}>;
|
|
22
208
|
export type TranslationKey = DotPaths<CompleteLocalizationResource>;
|
|
23
209
|
export type Translations = Readonly<Record<TranslationKey, string>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pocket-trash/localizations",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Shared localization utilities and message catalogs for Pocket Trash.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
],
|
|
17
17
|
"repository": {
|
|
18
18
|
"type": "git",
|
|
19
|
-
"url": "git+https://github.com/Pocket-Trash/
|
|
19
|
+
"url": "git+https://github.com/Pocket-Trash/localizations.git"
|
|
20
20
|
},
|
|
21
21
|
"bugs": {
|
|
22
|
-
"url": "https://github.com/Pocket-Trash/
|
|
22
|
+
"url": "https://github.com/Pocket-Trash/localizations/issues"
|
|
23
23
|
},
|
|
24
|
-
"homepage": "https://github.com/Pocket-Trash/
|
|
24
|
+
"homepage": "https://github.com/Pocket-Trash/localizations#readme",
|
|
25
25
|
"keywords": [
|
|
26
26
|
"pocket-trash",
|
|
27
27
|
"localization",
|
|
@@ -43,10 +43,12 @@
|
|
|
43
43
|
"typescript": "^5.9.2"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@clerk/localizations": "^4.14.2",
|
|
47
46
|
"lts": "^2.0.0"
|
|
48
47
|
},
|
|
49
48
|
"scripts": {
|
|
49
|
+
"agent-skills:check": "node scripts/agent-skills.mjs check",
|
|
50
|
+
"agent-skills:install": "node scripts/agent-skills.mjs install",
|
|
51
|
+
"agent-skills:update": "node scripts/agent-skills.mjs update",
|
|
50
52
|
"build": "tsc -p tsconfig.json",
|
|
51
53
|
"check": "biome check --write .",
|
|
52
54
|
"changeset": "changeset",
|