Add i18n support and translations for finnish language
This commit is contained in:
parent
b88e19e311
commit
4b8c8be226
9 changed files with 239 additions and 84 deletions
|
@ -1,9 +1,11 @@
|
|||
import getConfig from './config.js';
|
||||
import input from './input.js';
|
||||
import output from './output.js';
|
||||
|
||||
const ui = async () => {
|
||||
const result = await input();
|
||||
output(result);
|
||||
const config = getConfig();
|
||||
const result = await input(config);
|
||||
output(result, config);
|
||||
};
|
||||
|
||||
export default ui;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue