This repository has been archived on 2023-01-26. You can view files and clone it, but cannot push or open issues or pull requests.
scripts-old/src/i18n/commandRenamer.js

18 lines
284 B
JavaScript

const translations = {
pl_PL: {
rename: 'Zmień',
name: 'Nazwa',
},
en_DK: {
rename: 'Rename',
name: 'Name',
},
de_DE: {
rename: 'Umbenennen',
name: 'Name',
},
};
export default () =>
translations[window.game_data.locale] || translations.en_DK;