diff --git a/locales/en-US.yml b/locales/en-US.yml index 0be3c1b293..1077f563bc 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -191,7 +191,10 @@ common: web-search-engine: "Web search engine" web-search-engine-desc: "Example: https://www.google.com/?#q={{query}}" paste: "Paste" + pasted-file-name: "Template for pasted file name" + pasted-file-name-desc: "Example: \"yyyy-MM-dd HH-mm-ss [{{number}}]\" → \"2018-03-20 21-30-24 1\"" paste-dialog: "Edit the pasted file name" + paste-dialog-desc: "Display the dialog to edit the file name when you pasting file." keep-cw: "Preserve content warning" keep-cw-desc: "When replying to a post, the same content warning is set by default to the reply, as has been set by the original post." i-like-sushi: "I prefer sushi rather than pudding" diff --git a/src/init.ts b/src/init.ts deleted file mode 100644 index 2fe16a7069..0000000000 --- a/src/init.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { initDb } from './db/postgre'; - -console.log('Init database...'); - -initDb(false, true, true).then(() => { - console.log('Done :)'); - process.exit(0); -}, e => { - console.error('Failed to init database'); - console.error(e); -});