Skip to content

Commit

Permalink
Merge pull request #96 from 2skydev/dev
Browse files Browse the repository at this point in the history
v0.0.19
  • Loading branch information
2skydev authored Sep 30, 2023
2 parents f6e2fa2 + 19b3d88 commit 9bcafe0
Show file tree
Hide file tree
Showing 63 changed files with 1,629 additions and 431 deletions.
6 changes: 3 additions & 3 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ module.exports = {
sourceType: 'module',
ecmaVersion: 2021,
},
plugins: ['@typescript-eslint'],
extends: [
'eslint:recommended',
'plugin:react/recommended',
Expand All @@ -25,12 +24,13 @@ module.exports = {
],
rules: {
'@typescript-eslint/ban-ts-comment': ['error', { 'ts-ignore': 'allow-with-description' }],
'@typescript-eslint/explicit-function-return-type': 'error',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-empty-function': ['error', { allow: ['arrowFunctions'] }],
'@typescript-eslint/no-explicit-any': 'error',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-var-requires': 'off',
'prefer-const': 'off',
'no-async-promise-executor': 'off',
},
overrides: [
{
Expand Down
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
"electron-overlay-window": "^3.3.0",
"electron-store": "^8.1.0",
"electron-updater": "^5.3.0",
"i18next": "^23.5.1",
"jsonc-parser": "^3.2.0",
"league-connect": "^6.0.0-rc10",
"lodash": "^4.17.21",
"p-retry": "4.6.1",
Expand All @@ -60,6 +62,8 @@
"@types/react-virtualized": "^9.21.21",
"@types/styled-components": "^5.1.26",
"@types/tcp-port-used": "^1.0.1",
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@typescript-eslint/parser": "^6.7.3",
"@vitejs/plugin-react": "^4.0.0",
"antd": "^5.7.3",
"clsx": "^1.2.1",
Expand All @@ -83,6 +87,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.43.2",
"react-i18next": "^13.2.2",
"react-router-dom": "^6.6.2",
"react-virtualized": "git+https://git@github.com/remorses/react-virtualized-fixed-import.git#9.22.3",
"recharts": "^2.4.3",
Expand Down
301 changes: 301 additions & 0 deletions resources/locales/en_US.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,301 @@
{
"label": "English",
"league": {
"laneEn": {
"top": "Top",
"jg": "Jungle",
"mid": "Middle",
"adc": "ADC",
"sup": "Support"
},
"laneId": [
"$t(league.laneEn.top)",
"$t(league.laneEn.jg)",
"$t(league.laneEn.mid)",
"$t(league.laneEn.adc)",
"$t(league.laneEn.sup)"
],
"gameMode": {
"CLASSIC": "Summoner's Rift",
"ARAM": "ARAM",
"URF": "U.R.F."
},
"pickType": {
"SimulPickStrategy": "Blind Pick",
"TournamentPickStrategy": "Tournament Draft",
"DraftModeSinglePickStrategy": "Draft Pick",
"AllRandomPickStrategy": "All Random"
},
"rune": {
"Shard": "Shard",
"HealthScaling": "Health Scaling",
"Armor": "Armor",
"MagicRes": "Magic Res",
"AttackSpeed": "Attack Speed",
"CDRScaling": "Skill Acceleration",
"AdaptiveForce": "Adaptive Force"
},
/**
* Champion Name Alias
*
* [key] champion id
* [value] champion name alias array
*
* ex) "Aatrox": ["testName1", "abc"]
* => When searching for champions, you can search for "Aatrox" as "testName1", "abc"
*
* Champion ID Reference Link: http://ddragon.leagueoflegends.com/cdn/13.19.1/data/en_US/champion.json
*/
"championNameAlias": {},
"statsRankRange": {
"EMERALD+": "EMERALD+",
"DIAMOND+": "DIAMOND+",
"MASTER+": "MASTER+",
"BSGP": "BSGP"
}
},
"main": {
"contextMenu": {
"showHome": "Show LADA Home",
"setAppZoom": "Set App Display Scale",
"quit": "Quit LADA",
"nowValue": "Now"
}
},
"renderer": {
"pages": {
"stats": "Statistics",
"championTier": "Champion Tiers",
"championDetail": "Champion Detail",
"duoSynergy": "Duo Synergy",
"live": "Live",
"championSelect": "Champion Select",
"inGame": "In Game",
"utility": "Utility",
"customGameTeamManager": "5:5 Team Manager",
"setting": "Setting",
"generalSetting": "General",
"gameSetting": "Game",
"developerSetting": "Developer",
"notFound": "Page Not Found :("
},
"form": {
"save": {
"title": "There are unsaved changes!",
"ok": "Save changes",
"rollback": "Rollback",
"confirm": {
"title": "Are you sure you want to save?",
"ok": "Save",
"cancel": "Cancel"
}
}
},
"stats": {
"gameCount": "Count",
"sampledCount": "Sampled",
"winRate": "Win Rate",
"pickRate": "Pick Rate",
"banRate": "Ban Rate",
"spell": "Spell",
"skillBuild": "Skill Build",
"startItem": "Starting Item",
"shoes": "Shoes",
"coreItem": "Core Item",
"recommendItemBuild": "Recommended Item Build",
"championTier": {
"title": "Champion Tier by Lane",
"loading": "Loading...",
"timezone": "KST Timezone",
"minPickRateInfo": "Only showing lanes with pick rate above 0.5%",
"tableColumns": {
"score": "PS Score",
"honeyScore": "Honey Score"
}
},
"champion": {
"counter": {
"easy": "Easy Matchup",
"hard": "Hard Matchup"
},
"notFound": {
"title": "No data to display",
"description": "Please select a different lane."
}
},
"championSelect": {
"notFound": {
"title": "Cannot fetch champion select information",
"description": "Either not currently in a game or unable to fetch champion select information."
}
},
"duoSynergy": {
"title": "Duo Synergy",
"searchPlaceholder": "Search by Champion Name",
"tableColumns": {
"ranking": "Ranking",
"synergyScore": "Synergy Score",
"winRate": "Duo Win Rate",
"pickRate": "Duo Pick Rate"
},
"lane": {
"adc-sup": "$t(league.laneEn.adc) & $t(league.laneEn.sup)",
"mid-jg": "$t(league.laneEn.mid) & $t(league.laneEn.jg)",
"top-jg": "$t(league.laneEn.top) & $t(league.laneEn.jg)",
"jg-sup": "$t(league.laneEn.jg) & $t(league.laneEn.sup)"
}
},
"inGame": {
"title": "In-Game Information",
"tags": {
"gameType": "Solo/Duo Ranked",
"avg": "Average",
"avgNotFound": "Average tier information not available",
"playing": "In Game"
},
"myTeam": "My Team",
"enemyTeam": "Enemy Team",
"rankStats": "Rank Stats",
"score": "PS Score",
"runeBuild": "Rune Build",
"game": "Game",
"notFound": {
"title": "Cannot fetch in-game information",
"description": "Either not currently in a game or unable to fetch in-game information.",
"reload": "Reload"
}
}
},
"setting": {
"general": {
"autoLaunch": {
"title": "Automatically Start Minimized on Computer Boot",
"description": "Automatically starts the app in minimized mode after the computer is turned on."
},
"openWindowWhenLeagueClientLaunch": {
"title": "Automatically Open LADA Window",
"description": "Opens LADA window automatically when the League of Legends client starts.\nLADA should be running in minimized mode."
},
"language": {
"title": "Language Settings",
"description": "Sets the language for LADA.\nChanging the language requires a restart of the app."
},
"zoom": {
"title": "App Zoom Level",
"description": "Sets the zoom level of the app screen.\nDefault is 100%."
},
"developerMode": {
"title": "Developer Mode Settings",
"description": "Enables or disables developer mode.\nWhen enabled, developer tools are activated."
},
"appVersion": {
"title": "App Version",
"description": "Displays the current version of the app.\nYou can check the changes through the following link.",
"releaseList": "App Release List",
"updateNote": "Update Notes",
"updateStatus": {
"currentVersion": "Current Version",
"checking-for-update": {
"description": "Checking for updates..."
},
"update-available": {
"description": "Update available. Downloading..."
},
"update-not-available": {
"description": "Up to date.",
"checkForUpdate": "Check for Update"
},
"error": {
"description": "Error occurred while checking for updates.",
"checkForUpdate": "Check for Update"
},
"download-progress": {
"description": "Downloading..."
},
"update-downloaded": {
"description": "Update downloaded.\nThe app will apply the update upon restart.",
"quitAndInstall": "Install Now"
}
}
}
},
"game": {
"statsProvider": {
"title": "Statistics Provider",
"description": "Selects the service providing statistical information.\nCan change services providing data such as champion tier.\n\nCurrently supporting only LOL.PS."
},
"useCurrentPositionChampionData": {
"title": "Champion Information - Priority by Current Position",
"description": "Displays champion information based on the current assigned position.\nDisabling this will show the champion's main position by default."
},
"autoAccept": {
"title": "Auto Accept Matchmaking",
"description": "Automatically accepts game matchmaking.\nWhen enabled, matches are accepted without needing to click the accept button.",
"autoAcceptDelaySeconds": {
"label": "Time to Wait for Auto Accept",
"seconds": "seconds"
}
},
"autoRuneSetting": {
"title": "Auto Rune Settings",
"description": "Automatically sets rune pages during champion selection."
},
"autoSummonerSpellSetting": {
"title": "Auto Summoner Spell Settings",
"description": "Automatically sets summoner spells during champion selection.",
"flash": "Flash"
}
},
"developer": {
"dataRefreshTime": {
"title": "Data Refresh Date",
"description": "Below is the refresh date for all data.\nIt automatically refreshes every {{minute}} minutes.\n\nTo manually update the data, click the refresh button on the right.",
"refresh": "reload"
},
"storePath": {
"title": "Store Path",
"description": "Path where settings and data are stored."
},
"logs": {
"title": "Logs",
"description": "Logs generated by the app.\nIf necessary, you can delete logs using the button on the right.",
"logSize": "Log Size",
"clear": "Clear Logs"
}
}
},
"needUpdateLaterNotification": {
"title": "Update Pending",
"description": "An update is pending while you're in champion select.\nThe update will proceed when you restart the app.\n\nYou can also manually update: [General Settings > App Version]"
},
"updateLoading": {
"loading": "Downloading Update...",
"autoRestart": "The app will restart shortly."
},
"teamManager": {
"subTitle": "Summoner's Rift · 5v5 · {{pickType}}",
"team": "Team",
"empty": "Empty",
"randomTeam": "Randomize Teams",
"reset": "Reset",
"notFound": {
"title": "Create a Custom Game",
"description": "Start a game > Create custom game > Choose Summoner's Rift as the map."
}
},
"updateNote": "Update Notes",
"autoAcceptOverlay": "Auto accept in {{seconds}} seconds",
"languageChangeInfoModal": {
"title": "App Restart Required",
"description": "The app needs to restart to apply the language changes.",
"ok": "Restart Now",
"later": "Later"
},
"error": {
"title": "Seems like you wandered into unknown territory",
"description": "We'll investigate. It might be best for you to head back.",
"back": "Go Back",
"errorContent": "Error Content"
}
}
}
Loading

0 comments on commit 9bcafe0

Please sign in to comment.