Skip to content

Commit

Permalink
feat:localization files added to project
Browse files Browse the repository at this point in the history
  • Loading branch information
wwardaww committed Apr 24, 2021
1 parent 2cdcf81 commit c496213
Show file tree
Hide file tree
Showing 6 changed files with 220 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"node": true,
"commonjs": true
},
"extends": ["plugin:vue/recommended", "prettier"],
"extends": ["plugin:vue/recommended", "prettier", "plugin:json/recommended"],
"globals": {
"Vue": true,
"chrome": true,
Expand Down
125 changes: 117 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,10 @@
"copy-webpack-plugin": "^6.2.1",
"css-loader": "^3.2.1",
"dotenv-webpack": "^7.0.2",
"eslint": "^7.24.0",
"eslint": "^7.25.0",
"eslint-config-prettier": "^8.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-json": "^2.1.2",
"eslint-plugin-vue": "^7.9.0",
"eslint-watch": "^7.0.0",
"fast-glob": "^2.2.7",
Expand Down
48 changes: 48 additions & 0 deletions src/_locales/list.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"en": {
"message": {
"allGames": "All Games",
"gameList": "Game List",
"recentGames": "Recently Added Games",
"first": "first",
"prev": "prev",
"next": "next",
"last": "last",
"all": "all",
"title": "Title",
"status": "Status",
"optimized": "Fully Optimized",
"new": "New",
"publisher": "Publisher",
"genres": "Genre(s)",
"yes": "Yes",
"no": "No",
"available": "Available",
"maintenance": "Maintenance",
"searchGames": "Search games"
}
},
"tr": {
"message": {
"allGames": "Bütün Oyunlar",
"gameList": "Oyun Listesi",
"recentGames": "Yeni Eklenen Oyunlar",
"first": "ilk",
"prev": "önceki",
"next": "sonraki",
"last": "son",
"all": "Tümü",
"title": "Başlık",
"status": "Durum",
"optimized": "Tam Optimize",
"new": "Yeni",
"publisher": "Yayıncı",
"genres": "Türler",
"yes": "Evet",
"no": "Hayır",
"available": "Mevcut",
"maintenance": "Bakımda",
"searchGames": "Oyun Ara"
}
}
}
28 changes: 28 additions & 0 deletions src/_locales/options.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"en": {
"message": {
"options": "Options",
"nodificationError": "Show desktop notification for fetching data error",
"nodificationUpdate": "Show desktop notification when extension is updated",
"nodificationNewGame": "Show desktop notification when new game(s) added",
"changelogPage": "Open changelog page when extension is updated",
"updateEvery": "Update your game list every",
"hours": "hour(s)",
"effect": " Will be effective after the first fetch",
"optionsSaved": "Options saved!"
}
},
"tr": {
"message": {
"options": "Seçenekler",
"nodificationError": "Hataları masaüstü bildirimi olarak göster",
"nodificationUpdate": "Eklenti gücellemelerini masaüstü bildirimi olarak göster",
"nodificationNewGame": "Yeni oyunar eklendiğinde masaüstü bildirimi olarak göster",
"changelogPage": "Eklenti Güncellendiğinde yenilikleri göster",
"updateEvery": "Oyunları şu saatte bir güncelle: ",
"hours": "saat",
"effect": "Seçenekler ilk güncellemeden sonra etkin olacaktır",
"optionsSaved": "Seçenekler Kaydedildi!"
}
}
}
24 changes: 24 additions & 0 deletions src/_locales/popup.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"en": {
"message": {
"newBage": "new",
"gameList": "Game List",
"fetchGames": "Fetch Games",
"version": "Version:",
"twitter": "Twitter",
"changelog": "Changelog",
"options": "Options"
}
},
"tr": {
"message": {
"newBage": "yeni",
"gameList": "Oyun listesi",
"fetchGames": "Fetch Games",
"version": "Version:",
"twitter": "Twitter",
"changelog": "Yenilikler",
"options": "Seçenekler"
}
}
}

0 comments on commit c496213

Please sign in to comment.