Skip to content

Commit

Permalink
feat(language): skizzle now support many languages (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
Debaerdm authored Sep 18, 2020
1 parent 4605721 commit d03051e
Show file tree
Hide file tree
Showing 37 changed files with 2,700 additions and 1,029 deletions.
1,747 changes: 1,438 additions & 309 deletions package-lock.json

Large diffs are not rendered by default.

46 changes: 24 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,50 +57,52 @@
],
"license": "MIT",
"devDependencies": {
"@babel/core": "7.11.5",
"@babel/core": "7.11.6",
"@babel/plugin-transform-runtime": "7.11.5",
"@babel/preset-env": "7.11.5",
"@babel/runtime": "7.11.2",
"@commitlint/cli": "^9.1.2",
"@commitlint/config-conventional": "^9.1.2",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@rollup/plugin-commonjs": "^15.0.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@rollup/plugin-typescript": "^5.0.2",
"@rollup/plugin-replace": "^2.3.3",
"@rollup/plugin-typescript": "^6.0.0",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/svelte": "^3.0.0",
"@tsconfig/svelte": "^1.0.10",
"@types/jest": "^26.0.12",
"@types/node": "^14.6.2",
"@types/jest": "^26.0.14",
"@types/node": "^14.11.1",
"babel-core": "6.26.3",
"babel-jest": "26.3.0",
"babel-polyfill": "6.26.0",
"electron": "10.1.1",
"electron-builder": "^22.8.0",
"electron": "10.1.2",
"electron-builder": "^22.8.1",
"electron-builder-notarize": "^1.2.0",
"electron-reloader": "^1.0.1",
"eslint": "^7.8.1",
"eslint": "^7.9.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jest": "^23.20.0",
"eslint-plugin-jest": "^24.0.1",
"eslint-plugin-svelte3": "^2.7.3",
"husky": "^4.2.5",
"husky": "^4.3.0",
"jest": "26.4.2",
"jest-localstorage-mock": "^2.4.3",
"jest-transform-svelte": "^2.1.1",
"lint-staged": "^10.2.13",
"lint-staged": "^10.4.0",
"npm-run-all": "^4.1.5",
"package-lock-sanitizer": "^1.0.1",
"prettier": "^2.1.1",
"pretty-quick": "^3.0.0",
"rollup": "^2.26.9",
"prettier": "^2.1.2",
"pretty-quick": "^3.0.2",
"rollup": "^2.27.1",
"rollup-plugin-filesize": "^9.0.2",
"rollup-plugin-livereload": "^2.0.0",
"rollup-plugin-svelte": "6.0.0",
"rollup-plugin-terser": "7.0.1",
"sass": "^1.26.10",
"svelte": "^3.24.1",
"svelte-check": "^1.0.33",
"rollup-plugin-svelte": "6.0.1",
"rollup-plugin-terser": "7.0.2",
"sass": "^1.26.11",
"svelte": "^3.25.1",
"svelte-check": "^1.0.44",
"svelte-jester": "^1.1.5",
"svelte-preprocess": "^4.2.1",
"svelte-preprocess": "^4.3.0",
"ts-jest": "^26.3.0",
"tslib": "^2.0.1",
"typescript": "^4.0.2"
Expand All @@ -111,7 +113,7 @@
"electron-debug": "3.1.0",
"electron-log": "4.2.4",
"electron-unhandled": "3.0.2",
"electron-updater": "4.3.4",
"electron-updater": "4.3.5",
"electron-util": "0.14.2",
"sirv-cli": "1.0.6"
},
Expand Down
71 changes: 71 additions & 0 deletions public/assets/langs/en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{
"About Application": "About Application",
"Quit": "Quit",
"Edit": "Edit",
"Undo": "Undo",
"Redo": "Redo",
"Cut": "Cut",
"Copy": "Copy",
"Paste": "Paste",
"Select All": "Select All",
"Open devtool": "Open devlopment tool",
"Reload application": "Reload application",
"UpdateDevMode": "Development mode, skip the update",
"UpdateError": "An error occurred during the update.",
"UpdateCheck": "Check for update...",
"UpdateAvailable": "An update is available",
"UpdateNotAvailable": "Your app is up to date",
"UpdateDownloading": "Downloading...",
"UpdateDownloaded": "Install the update",
"UpdateNotified": "Restart in $0 second$1",
"Offline": "You'r already offline. The list cannot be refreshed and some features are disabled.",
"Retry": "Retry",
"Refresh": "Refresh",
"Updating": "Updating...",
"ViewFullList": "View full list",
"FilterList": "Filter list",
"less": "less",
"more": "more",
"show": "Show",
"PullRequestsError": "Unable to retrieve your pull requests.",
"PullRequestsEmpty": "There are no pull requests in your projects at the moment.",
"ProfileNotFound": "Unable to load your profile.",
"Menu": "Menu",
"Projects": "Projects",
"Settings": "Settings",
"NoProject": "No project",
"OneProject": "1 Project",
"Search": "Search",
"NoProjectOnOrganization": "The currently selected organizations do not contain any projects.",
"Today": "Today",
"Yesterday": "Yesterday",
"Time": "$0 days ago",
"AutoComplete": "Auto complete",
"Draft": "Draft",
"Conflicts": "Conflicts",
"NoRepository": "No repository for this project.",
"Back": "Back",
"ProjectsOrganizations": "Select the organizations for which you want to see projects.",
"OrganizationsEmpty": "There is no valid organization on your account.",
"Manually": "Manually",
"EveryMinutes": "Every $0 minutes",
"LaunchStartup": "Launch the application on startup",
"ConfigTheme": "Pick your theme.",
"Version": "Version",
"SignOut": "Sign out",
"Theme": "Theme",
"Organizations": "Organizations",
"StartUp": "Start-up",
"Refreshment": "Refreshment",
"HideMenu": "Hide menu",
"Login": "Skizzle allows you to group the pull requests of your teams. <br/>To get started <b>log in</b> with your account.",
"Globals": "General",
"Languages": "Languages",
"ChooseLanguage": "Choose your language",
"DefaultValue": "Choose a value",
"Loading": "Loading...",
"Yes": "Yes, I do",
"No": "No, thanks",
"ChangingLanguageTitle": "Do you want to change your language?",
"ChangingLanguageMessage": "Are you going to change your language? (This requires a reboot of the application)"
}
71 changes: 71 additions & 0 deletions public/assets/langs/fr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{
"About Application": "A propos de l'application",
"Quit": "Quitter",
"Edit": "Editer",
"Undo": "Annuler",
"Redo": "Refaire",
"Cut": "Couper",
"Copy": "Copier",
"Paste": "Coller",
"Select All": "Tout selectionnée",
"Open devtool": "Ouvrir la console de developpement",
"Reload application": "Recharger l'application",
"UpdateDevMode": "Mode de développement, passage de l'étape de mise à jour",
"UpdateError": "Une erreur s'est produite lors de la mise à jour.",
"UpdateCheck": "Recherche de mise à jour...",
"UpdateAvailable": "Une mise à jour est disponible",
"UpdateNotAvailable": "Votre application est à jour",
"UpdateDownloading": "Téléchargement en cours...",
"UpdateDownloaded": "Installation de la mise à jour.",
"UpdateNotified": "Redémarrage dans $0 seconde$1",
"Offline": "Vous n'êtes pas connecté à Internet. Il est impossible de rafraîchir la liste et certaines fonctionnalités sont désactivées.",
"Retry": "Réessayer",
"Refresh": "Rafraîchir",
"Updating": "Mise à jour...",
"ViewFullList": "Afficher la liste complète",
"FilterList": "Filtrer la liste",
"less": "moins",
"more": "plus",
"show": "Voir",
"PullRequestsError": "Impossible de récupérer vos pull requests.",
"PullRequestsEmpty": "Il n'y a aucune pull request dans vos projets pour le moment.",
"ProfileNotFound": "Impossible de charger votre profil.",
"Menu": "Menu",
"Projects": "Projets",
"Settings": "Réglagles",
"NoProject": "Aucun projet",
"OneProject": "1 Projet",
"Search": "Chercher",
"NoProjectOnOrganization": "Les organisations actuellement selectionnées ne contiennent aucun projet.",
"Today": "Aujourd'hui",
"Yesterday": "Hier",
"Time": "il y a $0 jours",
"AutoComplete": "Saisie automatique",
"Draft": "Brouillon",
"Conflicts": "Conflits",
"NoRepository": "Aucun repository pour ce projet.",
"Back": "Retour",
"ProjectsOrganizations": "Sélectionnez les organisations pour lesquelles vous voulez voir les projets.",
"OrganizationsEmpty": "Il n'y a aucune organisation valide sur votre compte.",
"Manually": "Manuellement",
"EveryMinutes": "Toutes les $0 minutes",
"LaunchStartup": "Lancer l'application au démarrage",
"ConfigTheme": "Choisissez votre thème.",
"Version": "Version",
"SignOut": "Se déconnecter",
"Theme": "Theme",
"Organizations": "Organisations",
"StartUp": "Démarrage",
"Refreshment": "Rafraîchissement",
"HideMenu": "Masquer le menu",
"Login": "Skizzle vous permet de regrouper les pull requests de vos équipes. <br/>Pour commencer <b>connectez vous</b> avec votre compte.",
"Globals": "Général",
"Languages": "Langages",
"ChooseLanguage": "Choisissez votre langage",
"DefaultValue": "Choisissez une valeur",
"Loading": "Chargement...",
"Yes": "Oui, je le veux",
"No": "Non, merci",
"ChangingLanguageTitle": "Voulez-vous changer de langage ?",
"ChangingLanguageMessage": "Vous allez changer de langage ? (Cela nécéssite un redémarrage de l'application)"
}
12 changes: 12 additions & 0 deletions public/assets/langs/langs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[
{
"code": "EN",
"label": "English",
"words": "assets/langs/en.json"
},
{
"code": "FR",
"label": "Français",
"words": "assets/langs/fr.json"
}
]
Loading

0 comments on commit d03051e

Please sign in to comment.