A dead simple time tracker that keeps everything in local storage. Next.js, no accounts and no server.
handcodedlocalstoragenextjsreactself-hostedserverlesstime-trackingtimer
1import LocalizedStrings from "react-localization";
2
3const strings = new LocalizedStrings({
4 en: {
5 loaded: "Loaded state from local storage.",
6 addedEntry: "You've added an entry.",
7 editedEntry: "You've edited an entry.",
8 deletedEntry: "You've deleted an entry.",
9 resetLog: "You've reset your log.",
10 confirmClearLog: "Clear all log entries? This cannot be undone.",
11 confirmClearTag: "Delete all entries with this tag? This cannot be undone.",
12 confirmDeleteEntry: "Delete this entry?",
13 },
14 jp: {
15 loaded: "ローカルストレージから状態をロードしました。",
16 addedEntry: "エントリを追加しました。",
17 editedEntry: "エントリを編集しました。",
18 deletedEntry: "エントリを削除しました。",
19 resetLog: "ログをリセットしました。",
20 confirmClearLog: "すべてのログエントリを削除しますか?元に戻せません。",
21 confirmClearTag: "このタグのすべてのエントリを削除しますか?元に戻せません。",
22 confirmDeleteEntry: "このエントリを削除しますか?",
23 },
24 pl: {
25 loaded: "Wczytano stan z lokalnego zapisu.",
26 addedEntry: "Dodałeś wpis.",
27 editedEntry: "Zmieniłeś wpis.",
28 deletedEntry: "Skasowałeś wpis.",
29 resetLog: "Wyczyściłeś dziennik.",
30 confirmClearLog: "Usunąć wszystkie wpisy dziennika? Tej operacji nie można cofnąć.",
31 confirmClearTag: "Usunąć wszystkie wpisy z tym tagiem? Tej operacji nie można cofnąć.",
32 confirmDeleteEntry: "Usunąć ten wpis?",
33 },
34});
35
36export default strings;