Rename game to edition in the UI
Much clearer to say Classic vs Special Edition instead of "skyrim" vs "skyrimspecialedition".
This commit is contained in:
8
lib/games.ts
Normal file
8
lib/games.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
export type GameName = "skyrim" | "skyrimspecialedition";
|
||||
|
||||
// Translates gameName (e.g. "skyrim" or "skyrimspecialedition") to edition name which is displayed in the
|
||||
// UI ("Classic" or "Special Edition").
|
||||
export const editionNames: Record<GameName, string> = {
|
||||
skyrim: 'Classic',
|
||||
skyrimspecialedition: 'Special Edition',
|
||||
};
|
||||
Reference in New Issue
Block a user