+
Skip to content

Initial i18n for Fulfillment #6545

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[{
"i18n": "en",
"ns": "reaction-pickup-store",
"translation": {
"reaction-pickup-store": {
"admin": {
"pickupSettings": {
"header": "Pickup",
"methodLabel": "Store",
"rateSaved": "Fulfillment method saved",
"rateFailed": "Fulfillment method update failed",
"noRatesFound": "No Store pickup fulfillment methods found"
},
"pickupGrid": {
"name": "Name",
"group": "Group",
"rate": "Rate",
"label": "Label"
}
}
}
}
}]
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import en from "./en.json";

//
// we want all the files in individual
// imports for easier handling by
// automated translation software
//
export default {
translations: [
...en
]
};
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { createRequire } from "module";
import i18n from "./i18n/index.js";
import fulfillmentMethodPickupStorePreStartup from "./preStartup.js";
import fulfillmentMethodPickupStoreStartup from "./startup.js";
import { MethodStoreData } from "./simpleSchemas.js";
Expand All @@ -19,6 +20,7 @@ export default async function register(app) {
label: "Fulfillment Method Pickup Store",
name: "fulfillment-method-pickup-store",
version: pkg.version,
i18n,
graphQL: {
schemas
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[{
"i18n": "ar",
"ns": "reaction-shipping-rates",
"translation": {
"reaction-shipping-rates": {
"admin": {
"shippingSettings": {
"flatRateLabel": "معدل",
"confirmRateDelete": "حذف معدل؟",
"rateSaved": "معدل ثابت حفظها.",
"rateFailed": "فشل تحديث معدل ثابت.",
"noRatesFound": "لم يتم العثور على أسعار الفائدة."
},
"shippingGrid": {
"name": "اسم",
"group": "مجموعة",
"rate": "معدل",
"label": "ملصق"
}
}
}
}
}]
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[{
"i18n": "bg",
"ns": "reaction-shipping-rates",
"translation": {
"reaction-shipping-rates": {
"admin": {
"shippingSettings": {
"flatRateLabel": "Единна ставка",
"confirmRateDelete": "ставка Изтриване?",
"rateSaved": "Единна ставка спасен.",
"rateFailed": "актуализация Единна ставка провали.",
"noRatesFound": "Няма намерени проценти."
},
"shippingGrid": {
"name": "Име",
"group": "група",
"rate": "скорост",
"label": "Етикет"
}
}
}
}
}]
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[{
"i18n": "cs",
"ns": "reaction-shipping-rates",
"translation": {
"reaction-shipping-rates": {
"admin": {
"shippingSettings": {
"flatRateLabel": "jednotná sazba",
"confirmRateDelete": "Smazat míru?",
"rateSaved": "Paušální částka uložena.",
"rateFailed": "Byt rychlost aktualizace nezdařila.",
"noRatesFound": "Nebyly nalezeny žádné ceny."
},
"shippingGrid": {
"name": "Název",
"group": "Skupina",
"rate": "Rychlost",
"label": "Označení"
}
}
}
}
}]
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[{
"i18n": "de",
"ns": "reaction-shipping-rates",
"translation": {
"reaction-shipping-rates": {
"admin": {
"shippingSettings": {
"flatRateLabel": "Flatrate",
"confirmRateDelete": "Löschen Rate?",
"rateSaved": "Flatrate gespeichert.",
"rateFailed": "Flatrate-Update ist fehlgeschlagen.",
"noRatesFound": "Keine Preise gefunden."
},
"shippingGrid": {
"name": "Name",
"group": "Gruppe",
"rate": "Preis",
"label": "Etikette"
}
}
}
}
}]
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[{
"i18n": "el",
"ns": "reaction-shipping-rates",
"translation": {
"reaction-shipping-rates": {
"admin": {
"shippingSettings": {
"flatRateLabel": "Flat Rate",
"confirmRateDelete": "Διαγραφή ποσοστό;",
"rateSaved": "Κατ 'αποκοπή ποσό σωθεί.",
"rateFailed": "ενημέρωση κατ 'αποκοπή απέτυχε.",
"noRatesFound": "Δεν βρέθηκαν τιμές."
},
"shippingGrid": {
"name": "Όνομα",
"group": "Ομάδα",
"rate": "Τιμή",
"label": "Επιγραφή"
}
}
}
}
}]
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[{
"i18n": "en",
"ns": "reaction-shipping-rates",
"translation": {
"reaction-shipping-rates": {
"admin": {
"shippingSettings": {
"header": "Shipping",
"flatRateLabel": "Flat Rate",
"confirmRateDelete": "Delete this fulfillment method?",
"rateSaved": "Fulfillment method saved",
"rateFailed": "Fulfillment method update failed",
"noRatesFound": "No flat rate fulfillment methods found"
},
"shippingGrid": {
"name": "Name",
"group": "Group",
"rate": "Rate",
"label": "Label"
}
}
}
}
}]
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[{
"i18n": "es",
"ns": "reaction-shipping-rates",
"translation": {
"reaction-shipping-rates": {
"admin": {
"shippingSettings": {
"flatRateLabel": "Tarifa plana",
"confirmRateDelete": "Eliminar tasa?",
"rateSaved": "La tarifa plana de guarda.",
"rateFailed": "actualización de tarifa plana falló.",
"noRatesFound": "No se encontraron tasas."
},
"shippingGrid": {
"name": "Nombre",
"group": "Grupo",
"rate": "Tarifa",
"label": "Etiqueta"
}
}
}
}
}]
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[{
"i18n": "fr",
"ns": "reaction-shipping-rates",
"translation": {
"reaction-shipping-rates": {
"admin": {
"shippingSettings": {
"flatRateLabel": "Forfait",
"confirmRateDelete": "Supprimer le tarif ?",
"rateSaved": "Tarif forfaitaire sauvegardé.",
"rateFailed": "La mise à jour du tarif forfaitaire a échouée.",
"noRatesFound": "Pas de prix trouvés."
},
"shippingGrid": {
"name": "Nom",
"group": "Groupe",
"rate": "Tarif",
"label": "Étiquette"
}
}
}
}
}]
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[{
"i18n": "he",
"ns": "reaction-shipping-rates",
"translation": { }
}]
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[{
"i18n": "hr",
"ns": "reaction-shipping-rates",
"translation": {
"reaction-shipping-rates": {
"admin": {
"shippingSettings": {
"flatRateLabel": "flat rate",
"confirmRateDelete": "Brisanje stopa?",
"rateSaved": "Stan stopa spasio.",
"rateFailed": "Flat rate ažuriranje nije uspjelo.",
"noRatesFound": "Nisu pronađene stope."
},
"shippingGrid": {
"name": "Ime",
"group": "Skupina",
"rate": "Stopa",
"label": "Označiti"
}
}
}
}
}]
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[{
"i18n": "hu",
"ns": "reaction-shipping-rates",
"translation": {
"reaction-shipping-rates": {
"admin": {
"shippingSettings": {
"flatRateLabel": "Átalánydíj",
"confirmRateDelete": "Törlés arány?",
"rateSaved": "Átalánydíjas mentve.",
"rateFailed": "Átalánydíjas sikertelen volt.",
"noRatesFound": "Nem talált árak."
},
"shippingGrid": {
"name": "Név",
"group": "Csoport",
"rate": "Arány",
"label": "Címke"
}
}
}
}
}]
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
import ar from "./ar.json";
import bg from "./bg.json";
import cs from "./cs.json";
import de from "./de.json";
import el from "./el.json";
import en from "./en.json";
import es from "./es.json";
import fr from "./fr.json";
import he from "./he.json";
import hr from "./hr.json";
import hu from "./hu.json";
import it from "./it.json";
import my from "./my.json";
import nb from "./nb.json";
import nl from "./nl.json";
import pl from "./pl.json";
import pt from "./pt.json";
import ro from "./ro.json";
import ru from "./ru.json";
import sl from "./sl.json";
import sv from "./sv.json";
import tr from "./tr.json";
import vi from "./vi.json";
import zh from "./zh.json";

//
// we want all the files in individual
// imports for easier handling by
// automated translation software
//
export default {
translations: [
...ar,
...bg,
...cs,
...de,
...el,
...en,
...es,
...fr,
...he,
...hr,
...hu,
...it,
...my,
...nb,
...nl,
...pl,
...pt,
...ro,
...ru,
...sl,
...sv,
...tr,
...vi,
...zh
]
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[{
"i18n": "it",
"ns": "reaction-shipping-rates",
"translation": {
"reaction-shipping-rates": {
"admin": {
"shippingSettings": {
"flatRateLabel": "Tasso fisso",
"confirmRateDelete": "Eliminare tasso?",
"rateSaved": "Tariffa unica salvato.",
"rateFailed": "aggiornamento tasso di piatto non è riuscito.",
"noRatesFound": "Prezzi non trovato."
},
"shippingGrid": {
"name": "Nome",
"group": "Gruppo",
"rate": "Tasso",
"label": "Etichetta"
}
}
}
}
}]
Loading
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载