Skip to content

Commit

Permalink
♻️ Use const export (fixed #70)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary committed Jan 21, 2020
1 parent b484e0d commit 58f1ee3
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 18 deletions.
2 changes: 1 addition & 1 deletion src/i18n/en.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default {
export const en = {
uploading: "Uploading...",
uploaded: "Uploaded",
fetching: "Getting your image from $1$...",
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/es.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default {
export const es = {
uploading: "Subir ...",
uploaded: "Subido",
fetching: "Obtener imagen de $1$ ...",
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/fr.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default {
export const fr = {
uploading: "Télécharger ...",
uploaded: "Téléchargé",
fetching: "Obtenir une image à partir de $1$ ...",
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/hi.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default {
export const hi = {
uploading: "अपलोड हो रहा है...",
uploaded: "अपलोड हो गया",
fetching: "हम आपकी तस्वीर $1$ से ला रहे हैं...",
Expand Down
18 changes: 8 additions & 10 deletions src/i18n/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import en from "./en";
import nl from "./nl";
import hi from "./hi";
import es from "./es";
import fr from "./fr";
import it from "./it";
import ru from "./ru";
import tr from "./tr";

export { en, nl, hi, es, fr, it, ru, tr };
export { en } from "./en";
export { nl } from "./nl";
export { hi } from "./hi";
export { es } from "./es";
export { fr } from "./fr";
export { it } from "./it";
export { ru } from "./ru";
export { tr } from "./tr";
2 changes: 1 addition & 1 deletion src/i18n/it.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default {
export const it = {
uploading: "Carica ...",
uploaded: "caricato",
fetching: "Ottieni immagine da $1$ ...",
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/nl.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default {
export const nl = {
uploading: "Uploaden...",
uploaded: "Geupload",
fetching: "Afbeelding ophalen van $1$...",
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/ru.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default {
export const ru = {
uploading: "Загрузить ...",
uploaded: "загруженное",
fetching: "Получить изображение от $1$ ...",
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/tr.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default {
export const tr = {
uploading: "Yükle ...",
uploaded: "yüklenen",
fetching: "$1$ 'dan resim al ...",
Expand Down

0 comments on commit 58f1ee3

Please sign in to comment.