sparkles: Added strings for filter
This commit is contained in:
parent
c73d86c04a
commit
eabdda59bd
16 changed files with 221 additions and 11 deletions
|
@ -11,6 +11,7 @@ const topics = [
|
||||||
"app",
|
"app",
|
||||||
"email",
|
"email",
|
||||||
"errors",
|
"errors",
|
||||||
|
"filter",
|
||||||
"gdpr",
|
"gdpr",
|
||||||
"i18n",
|
"i18n",
|
||||||
"measurements"
|
"measurements"
|
||||||
|
@ -22,6 +23,7 @@ const account = {};
|
||||||
const app = {};
|
const app = {};
|
||||||
const email = {};
|
const email = {};
|
||||||
const errors = {};
|
const errors = {};
|
||||||
|
const filter = {};
|
||||||
const gdpr = {};
|
const gdpr = {};
|
||||||
const i18n = {};
|
const i18n = {};
|
||||||
const measurements = {};
|
const measurements = {};
|
||||||
|
@ -31,9 +33,20 @@ for (let lang of languages) account[lang] = imports[lang].account;
|
||||||
for (let lang of languages) app[lang] = imports[lang].app;
|
for (let lang of languages) app[lang] = imports[lang].app;
|
||||||
for (let lang of languages) email[lang] = imports[lang].email;
|
for (let lang of languages) email[lang] = imports[lang].email;
|
||||||
for (let lang of languages) errors[lang] = imports[lang].errors;
|
for (let lang of languages) errors[lang] = imports[lang].errors;
|
||||||
|
for (let lang of languages) filter[lang] = imports[lang].filter;
|
||||||
for (let lang of languages) gdpr[lang] = imports[lang].gdpr;
|
for (let lang of languages) gdpr[lang] = imports[lang].gdpr;
|
||||||
for (let lang of languages) i18n[lang] = imports[lang].i18n;
|
for (let lang of languages) i18n[lang] = imports[lang].i18n;
|
||||||
for (let lang of languages) measurements[lang] = imports[lang].measurements;
|
for (let lang of languages) measurements[lang] = imports[lang].measurements;
|
||||||
for (let lang of languages) strings[lang] = imports[lang].strings;
|
for (let lang of languages) strings[lang] = imports[lang].strings;
|
||||||
|
|
||||||
export { account, app, email, errors, gdpr, i18n, measurements, strings };
|
export {
|
||||||
|
account,
|
||||||
|
app,
|
||||||
|
email,
|
||||||
|
errors,
|
||||||
|
filter,
|
||||||
|
gdpr,
|
||||||
|
i18n,
|
||||||
|
measurements,
|
||||||
|
strings
|
||||||
|
};
|
||||||
|
|
|
@ -37,6 +37,7 @@ emailWorksToo: 'Wenn Du Deinen Benutzername nicht weißt: Deine E-mail Addresse
|
||||||
enterEmailPickPassword: Gib Deine E-Mail Adresse ein und wähle ein Passwort
|
enterEmailPickPassword: Gib Deine E-Mail Adresse ein und wähle ein Passwort
|
||||||
fieldRemoved: "{field} entfernt"
|
fieldRemoved: "{field} entfernt"
|
||||||
fieldSaved: "{field} gespeichert"
|
fieldSaved: "{field} gespeichert"
|
||||||
|
filterPatterns: Filtern der Schnittmuster
|
||||||
forgotLoginInstructions: 'Benutzername oder Emailadresse eingeben und den <b>Passwort zurücksetzen</b> Knopf druecken'
|
forgotLoginInstructions: 'Benutzername oder Emailadresse eingeben und den <b>Passwort zurücksetzen</b> Knopf druecken'
|
||||||
freesewing: Freesewing
|
freesewing: Freesewing
|
||||||
github: GitHub
|
github: GitHub
|
||||||
|
|
18
packages/i18n/src/locales/de/filter.yml
Normal file
18
packages/i18n/src/locales/de/filter.yml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
department:
|
||||||
|
title: Abteilung
|
||||||
|
menswear: Herrenbekleidung
|
||||||
|
womenswear: Frauenkleidung
|
||||||
|
|
||||||
|
type:
|
||||||
|
title: Art
|
||||||
|
block: Block
|
||||||
|
pattern: Muster
|
||||||
|
|
||||||
|
tags:
|
||||||
|
title: Stichworte
|
||||||
|
basics: Grundlagen
|
||||||
|
bottom: Boden
|
||||||
|
top: Oben
|
||||||
|
underwear: Unterwäsche
|
||||||
|
|
||||||
|
resetFilter: Filter zurücksetzen
|
|
@ -2,6 +2,7 @@ import account from "./account.yaml";
|
||||||
import app from "./app.yaml";
|
import app from "./app.yaml";
|
||||||
import email from "./email.yaml";
|
import email from "./email.yaml";
|
||||||
import errors from "./errors.yaml";
|
import errors from "./errors.yaml";
|
||||||
|
import filter from "./filter.yml";
|
||||||
import gdpr from "./gdpr.yaml";
|
import gdpr from "./gdpr.yaml";
|
||||||
import i18n from "./i18n.yaml";
|
import i18n from "./i18n.yaml";
|
||||||
import measurements from "./measurements.yaml";
|
import measurements from "./measurements.yaml";
|
||||||
|
@ -11,6 +12,7 @@ const topics = {
|
||||||
app,
|
app,
|
||||||
email,
|
email,
|
||||||
errors,
|
errors,
|
||||||
|
filter,
|
||||||
gdpr,
|
gdpr,
|
||||||
i18n,
|
i18n,
|
||||||
measurements
|
measurements
|
||||||
|
@ -20,8 +22,26 @@ const strings = {};
|
||||||
|
|
||||||
for (let topic of Object.keys(topics)) {
|
for (let topic of Object.keys(topics)) {
|
||||||
for (let id of Object.keys(topics[topic])) {
|
for (let id of Object.keys(topics[topic])) {
|
||||||
strings[topic + "." + id] = topics[topic][id];
|
if (typeof topics[topic][id] === "string")
|
||||||
|
strings[topic + "." + id] = topics[topic][id];
|
||||||
|
else {
|
||||||
|
for (let key of Object.keys(topics[topic][id])) {
|
||||||
|
if (typeof topics[topic][id][key] === "string")
|
||||||
|
strings[topic + "." + id + "." + key] = topics[topic][id][key];
|
||||||
|
else console.log("Depth exceeded!");
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export { account, app, email, errors, gdpr, i18n, measurements, strings };
|
export {
|
||||||
|
account,
|
||||||
|
app,
|
||||||
|
email,
|
||||||
|
errors,
|
||||||
|
filter,
|
||||||
|
gdpr,
|
||||||
|
i18n,
|
||||||
|
measurements,
|
||||||
|
strings
|
||||||
|
};
|
||||||
|
|
|
@ -37,6 +37,7 @@ emailWorksToo: 'If you don''t know your username, you can also use your E-mail a
|
||||||
enterEmailPickPassword: Enter your E-mail address, and pick a password
|
enterEmailPickPassword: Enter your E-mail address, and pick a password
|
||||||
fieldRemoved: "{field} removed"
|
fieldRemoved: "{field} removed"
|
||||||
fieldSaved: "{field} saved"
|
fieldSaved: "{field} saved"
|
||||||
|
filterPatterns: Filter patterns
|
||||||
forgotLoginInstructions: 'If you don''t remember your password, enter your username or E-mail address below and click the <b>Reset password</b> button'
|
forgotLoginInstructions: 'If you don''t remember your password, enter your username or E-mail address below and click the <b>Reset password</b> button'
|
||||||
freesewing: Freesewing
|
freesewing: Freesewing
|
||||||
github: GitHub
|
github: GitHub
|
||||||
|
|
18
packages/i18n/src/locales/en/filter.yml
Normal file
18
packages/i18n/src/locales/en/filter.yml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
department:
|
||||||
|
title: Department
|
||||||
|
menswear: Menswear
|
||||||
|
womenswear: Womenswear
|
||||||
|
|
||||||
|
type:
|
||||||
|
title: Type
|
||||||
|
block: Block/Sloper
|
||||||
|
pattern: Pattern
|
||||||
|
|
||||||
|
tags:
|
||||||
|
title: Tags
|
||||||
|
basics: Basics
|
||||||
|
bottom: Bottom
|
||||||
|
top: Top
|
||||||
|
underwear: Underwear
|
||||||
|
|
||||||
|
resetFilter: Reset filter
|
|
@ -2,6 +2,7 @@ import account from "./account.yaml";
|
||||||
import app from "./app.yaml";
|
import app from "./app.yaml";
|
||||||
import email from "./email.yaml";
|
import email from "./email.yaml";
|
||||||
import errors from "./errors.yaml";
|
import errors from "./errors.yaml";
|
||||||
|
import filter from "./filter.yml";
|
||||||
import gdpr from "./gdpr.yaml";
|
import gdpr from "./gdpr.yaml";
|
||||||
import i18n from "./i18n.yaml";
|
import i18n from "./i18n.yaml";
|
||||||
import measurements from "./measurements.yaml";
|
import measurements from "./measurements.yaml";
|
||||||
|
@ -11,6 +12,7 @@ const topics = {
|
||||||
app,
|
app,
|
||||||
email,
|
email,
|
||||||
errors,
|
errors,
|
||||||
|
filter,
|
||||||
gdpr,
|
gdpr,
|
||||||
i18n,
|
i18n,
|
||||||
measurements
|
measurements
|
||||||
|
@ -20,8 +22,26 @@ const strings = {};
|
||||||
|
|
||||||
for (let topic of Object.keys(topics)) {
|
for (let topic of Object.keys(topics)) {
|
||||||
for (let id of Object.keys(topics[topic])) {
|
for (let id of Object.keys(topics[topic])) {
|
||||||
strings[topic + "." + id] = topics[topic][id];
|
if (typeof topics[topic][id] === "string")
|
||||||
|
strings[topic + "." + id] = topics[topic][id];
|
||||||
|
else {
|
||||||
|
for (let key of Object.keys(topics[topic][id])) {
|
||||||
|
if (typeof topics[topic][id][key] === "string")
|
||||||
|
strings[topic + "." + id + "." + key] = topics[topic][id][key];
|
||||||
|
else console.log("Depth exceeded!");
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export { account, app, email, errors, gdpr, i18n, measurements, strings };
|
export {
|
||||||
|
account,
|
||||||
|
app,
|
||||||
|
email,
|
||||||
|
errors,
|
||||||
|
filter,
|
||||||
|
gdpr,
|
||||||
|
i18n,
|
||||||
|
measurements,
|
||||||
|
strings
|
||||||
|
};
|
||||||
|
|
|
@ -37,6 +37,7 @@ emailWorksToo: 'Si no conoces tu nombre de usuario, tu dirección de correo elec
|
||||||
enterEmailPickPassword: Introduce tu dirección de email y elige una contraseña
|
enterEmailPickPassword: Introduce tu dirección de email y elige una contraseña
|
||||||
fieldRemoved: "{field} eliminado"
|
fieldRemoved: "{field} eliminado"
|
||||||
fieldSaved: "{field} guardado"
|
fieldSaved: "{field} guardado"
|
||||||
|
filterPatterns: Filtrar los patrones
|
||||||
forgotLoginInstructions: Entra tu nombre de usuario o correo electrónico debajo y pulsa el botón de Restablecer contraseña
|
forgotLoginInstructions: Entra tu nombre de usuario o correo electrónico debajo y pulsa el botón de Restablecer contraseña
|
||||||
freesewing: Freesewing
|
freesewing: Freesewing
|
||||||
github: GitHub
|
github: GitHub
|
||||||
|
|
19
packages/i18n/src/locales/es/filter.yml
Normal file
19
packages/i18n/src/locales/es/filter.yml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
department:
|
||||||
|
title: Departamento
|
||||||
|
menswear: Ropa de caballero
|
||||||
|
womenswear: Ropa de mujer
|
||||||
|
|
||||||
|
type:
|
||||||
|
title: Tipo
|
||||||
|
block: Bloque
|
||||||
|
pattern: Patrón
|
||||||
|
|
||||||
|
tags:
|
||||||
|
title: Etiquetas
|
||||||
|
basics: Lo esencial
|
||||||
|
bottom: Fondo
|
||||||
|
top: Top
|
||||||
|
underwear: Ropa interior
|
||||||
|
|
||||||
|
resetFilter: Reajustar el filtro
|
||||||
|
|
|
@ -2,6 +2,7 @@ import account from "./account.yaml";
|
||||||
import app from "./app.yaml";
|
import app from "./app.yaml";
|
||||||
import email from "./email.yaml";
|
import email from "./email.yaml";
|
||||||
import errors from "./errors.yaml";
|
import errors from "./errors.yaml";
|
||||||
|
import filter from "./filter.yml";
|
||||||
import gdpr from "./gdpr.yaml";
|
import gdpr from "./gdpr.yaml";
|
||||||
import i18n from "./i18n.yaml";
|
import i18n from "./i18n.yaml";
|
||||||
import measurements from "./measurements.yaml";
|
import measurements from "./measurements.yaml";
|
||||||
|
@ -11,6 +12,7 @@ const topics = {
|
||||||
app,
|
app,
|
||||||
email,
|
email,
|
||||||
errors,
|
errors,
|
||||||
|
filter,
|
||||||
gdpr,
|
gdpr,
|
||||||
i18n,
|
i18n,
|
||||||
measurements
|
measurements
|
||||||
|
@ -20,8 +22,26 @@ const strings = {};
|
||||||
|
|
||||||
for (let topic of Object.keys(topics)) {
|
for (let topic of Object.keys(topics)) {
|
||||||
for (let id of Object.keys(topics[topic])) {
|
for (let id of Object.keys(topics[topic])) {
|
||||||
strings[topic + "." + id] = topics[topic][id];
|
if (typeof topics[topic][id] === "string")
|
||||||
|
strings[topic + "." + id] = topics[topic][id];
|
||||||
|
else {
|
||||||
|
for (let key of Object.keys(topics[topic][id])) {
|
||||||
|
if (typeof topics[topic][id][key] === "string")
|
||||||
|
strings[topic + "." + id + "." + key] = topics[topic][id][key];
|
||||||
|
else console.log("Depth exceeded!");
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export { account, app, email, errors, gdpr, i18n, measurements, strings };
|
export {
|
||||||
|
account,
|
||||||
|
app,
|
||||||
|
email,
|
||||||
|
errors,
|
||||||
|
filter,
|
||||||
|
gdpr,
|
||||||
|
i18n,
|
||||||
|
measurements,
|
||||||
|
strings
|
||||||
|
};
|
||||||
|
|
|
@ -37,6 +37,7 @@ emailWorksToo: 'Si vous ne connaissez pas votre nom d''utilisateur, votre adress
|
||||||
enterEmailPickPassword: Saisissez votre adresse mail et choisissez un mot de passe
|
enterEmailPickPassword: Saisissez votre adresse mail et choisissez un mot de passe
|
||||||
fieldRemoved: "{field} enlevé"
|
fieldRemoved: "{field} enlevé"
|
||||||
fieldSaved: "{field} enregistré"
|
fieldSaved: "{field} enregistré"
|
||||||
|
filterPatterns: Filtrez les patrons
|
||||||
forgotLoginInstructions: 'Entrez votre nom d''utilisateur ou votre adresse e-mail ci-dessous et cliquez sur le bouton <b>Réintialiser le mot de passe</b>.'
|
forgotLoginInstructions: 'Entrez votre nom d''utilisateur ou votre adresse e-mail ci-dessous et cliquez sur le bouton <b>Réintialiser le mot de passe</b>.'
|
||||||
freesewing: Freesewing
|
freesewing: Freesewing
|
||||||
github: GitHub
|
github: GitHub
|
||||||
|
|
19
packages/i18n/src/locales/fr/filter.yml
Normal file
19
packages/i18n/src/locales/fr/filter.yml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
department:
|
||||||
|
title: Département
|
||||||
|
menswear: Vêtements pour hommes
|
||||||
|
womenswear: Vêtements pour femmes
|
||||||
|
|
||||||
|
type:
|
||||||
|
title: Type
|
||||||
|
block: Bloc
|
||||||
|
pattern: Patron
|
||||||
|
|
||||||
|
tags:
|
||||||
|
title: Tags
|
||||||
|
basics: Les bases
|
||||||
|
bottom: Bas
|
||||||
|
top: Top
|
||||||
|
underwear: Sous-vêtements
|
||||||
|
|
||||||
|
resetFilter: Réinitialiser le filtre
|
||||||
|
|
|
@ -2,6 +2,7 @@ import account from "./account.yaml";
|
||||||
import app from "./app.yaml";
|
import app from "./app.yaml";
|
||||||
import email from "./email.yaml";
|
import email from "./email.yaml";
|
||||||
import errors from "./errors.yaml";
|
import errors from "./errors.yaml";
|
||||||
|
import filter from "./filter.yml";
|
||||||
import gdpr from "./gdpr.yaml";
|
import gdpr from "./gdpr.yaml";
|
||||||
import i18n from "./i18n.yaml";
|
import i18n from "./i18n.yaml";
|
||||||
import measurements from "./measurements.yaml";
|
import measurements from "./measurements.yaml";
|
||||||
|
@ -11,6 +12,7 @@ const topics = {
|
||||||
app,
|
app,
|
||||||
email,
|
email,
|
||||||
errors,
|
errors,
|
||||||
|
filter,
|
||||||
gdpr,
|
gdpr,
|
||||||
i18n,
|
i18n,
|
||||||
measurements
|
measurements
|
||||||
|
@ -20,8 +22,26 @@ const strings = {};
|
||||||
|
|
||||||
for (let topic of Object.keys(topics)) {
|
for (let topic of Object.keys(topics)) {
|
||||||
for (let id of Object.keys(topics[topic])) {
|
for (let id of Object.keys(topics[topic])) {
|
||||||
strings[topic + "." + id] = topics[topic][id];
|
if (typeof topics[topic][id] === "string")
|
||||||
|
strings[topic + "." + id] = topics[topic][id];
|
||||||
|
else {
|
||||||
|
for (let key of Object.keys(topics[topic][id])) {
|
||||||
|
if (typeof topics[topic][id][key] === "string")
|
||||||
|
strings[topic + "." + id + "." + key] = topics[topic][id][key];
|
||||||
|
else console.log("Depth exceeded!");
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export { account, app, email, errors, gdpr, i18n, measurements, strings };
|
export {
|
||||||
|
account,
|
||||||
|
app,
|
||||||
|
email,
|
||||||
|
errors,
|
||||||
|
filter,
|
||||||
|
gdpr,
|
||||||
|
i18n,
|
||||||
|
measurements,
|
||||||
|
strings
|
||||||
|
};
|
||||||
|
|
|
@ -37,6 +37,7 @@ emailWorksToo: 'Als je je <b>gebruikersnaam</b> niet meer weet, vul dan je email
|
||||||
enterEmailPickPassword: Voer je email adres in, en kies een wachtwoord
|
enterEmailPickPassword: Voer je email adres in, en kies een wachtwoord
|
||||||
fieldRemoved: "{field} verwijderd"
|
fieldRemoved: "{field} verwijderd"
|
||||||
fieldSaved: "{field} opgeslagen"
|
fieldSaved: "{field} opgeslagen"
|
||||||
|
filterPatterns: Patronen filteren
|
||||||
forgotLoginInstructions: 'Als je je <b>wachtwoord</b> niet meer weet, vul dan hieronder je gebruikersnaam of email adres in, en klik op de <b>Herstel wachtwoord</b> knop'
|
forgotLoginInstructions: 'Als je je <b>wachtwoord</b> niet meer weet, vul dan hieronder je gebruikersnaam of email adres in, en klik op de <b>Herstel wachtwoord</b> knop'
|
||||||
freesewing: Freesewing
|
freesewing: Freesewing
|
||||||
github: GitHub
|
github: GitHub
|
||||||
|
|
18
packages/i18n/src/locales/nl/filter.yml
Normal file
18
packages/i18n/src/locales/nl/filter.yml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
department:
|
||||||
|
title: Afdeling
|
||||||
|
menswear: Herenkleding
|
||||||
|
womenswear: Dameskleding
|
||||||
|
|
||||||
|
type:
|
||||||
|
title: Soort
|
||||||
|
block: Blok
|
||||||
|
pattern: Patroon
|
||||||
|
|
||||||
|
tags:
|
||||||
|
title: Tags
|
||||||
|
basics: Basics
|
||||||
|
bottom: Bodem
|
||||||
|
top: Top
|
||||||
|
underwear: Ondergoed
|
||||||
|
|
||||||
|
resetFilter: Reset filter
|
|
@ -2,6 +2,7 @@ import account from "./account.yaml";
|
||||||
import app from "./app.yaml";
|
import app from "./app.yaml";
|
||||||
import email from "./email.yaml";
|
import email from "./email.yaml";
|
||||||
import errors from "./errors.yaml";
|
import errors from "./errors.yaml";
|
||||||
|
import filter from "./filter.yml";
|
||||||
import gdpr from "./gdpr.yaml";
|
import gdpr from "./gdpr.yaml";
|
||||||
import i18n from "./i18n.yaml";
|
import i18n from "./i18n.yaml";
|
||||||
import measurements from "./measurements.yaml";
|
import measurements from "./measurements.yaml";
|
||||||
|
@ -11,6 +12,7 @@ const topics = {
|
||||||
app,
|
app,
|
||||||
email,
|
email,
|
||||||
errors,
|
errors,
|
||||||
|
filter,
|
||||||
gdpr,
|
gdpr,
|
||||||
i18n,
|
i18n,
|
||||||
measurements
|
measurements
|
||||||
|
@ -20,8 +22,26 @@ const strings = {};
|
||||||
|
|
||||||
for (let topic of Object.keys(topics)) {
|
for (let topic of Object.keys(topics)) {
|
||||||
for (let id of Object.keys(topics[topic])) {
|
for (let id of Object.keys(topics[topic])) {
|
||||||
strings[topic + "." + id] = topics[topic][id];
|
if (typeof topics[topic][id] === "string")
|
||||||
|
strings[topic + "." + id] = topics[topic][id];
|
||||||
|
else {
|
||||||
|
for (let key of Object.keys(topics[topic][id])) {
|
||||||
|
if (typeof topics[topic][id][key] === "string")
|
||||||
|
strings[topic + "." + id + "." + key] = topics[topic][id][key];
|
||||||
|
else console.log("Depth exceeded!");
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export { account, app, email, errors, gdpr, i18n, measurements, strings };
|
export {
|
||||||
|
account,
|
||||||
|
app,
|
||||||
|
email,
|
||||||
|
errors,
|
||||||
|
filter,
|
||||||
|
gdpr,
|
||||||
|
i18n,
|
||||||
|
measurements,
|
||||||
|
strings
|
||||||
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue