Tyler Hallada
eebc43fbee
Much clearer to say Classic vs Special Edition instead of "skyrim" vs "skyrimspecialedition".
8 lines
328 B
TypeScript
8 lines
328 B
TypeScript
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',
|
|
}; |