Add i18n support and translations for finnish language

This commit is contained in:
Marko Korhonen 2023-11-23 17:24:08 +02:00
parent b88e19e311
commit 4b8c8be226
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
9 changed files with 239 additions and 84 deletions

View file

@ -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;