Skip to content

Commit

Permalink
chore(mobile): Extract and compile locales
Browse files Browse the repository at this point in the history
  • Loading branch information
Quốc Khánh committed Jul 11, 2024
1 parent f840e1e commit c278277
Show file tree
Hide file tree
Showing 4 changed files with 473 additions and 69 deletions.
268 changes: 235 additions & 33 deletions apps/mobile/locales/en/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -13,137 +13,339 @@ msgstr ""
"Language-Team: \n"
"Plural-Forms: \n"

#: apps/mobile/app/(app)/(tabs)/settings.tsx:65
#: apps/mobile/components/transaction/transaction-item.tsx:29
msgid "{0}"
msgstr ""

#: apps/mobile/app/(app)/(tabs)/settings.tsx:135
msgid "{language}"
msgstr ""

#: apps/mobile/app/(auth)/login.tsx:26
#: apps/mobile/app/(auth)/login.tsx:27
msgid "<0><1>Manage your expense seamlessly</1><2>Let <3>6pm</3> a good time to spend</2></0>"
msgstr ""

#: apps/mobile/app/(auth)/login.tsx:49
#: apps/mobile/app/(auth)/login.tsx:48
msgid "<0>By continuing, you acknowledge that you understand and agree to the <1><2>Terms & Conditions</2></1> and <3><4>Privacy Policy</4></3></0>"
msgstr ""

#: apps/mobile/components/home/header.tsx:30
#: apps/mobile/components/wallet/account-form.tsx:59
msgid "0.00"
msgstr ""

#: apps/mobile/app/(app)/(tabs)/index.tsx:100
msgid "Add your first transaction here"
msgstr ""

#: apps/mobile/components/home/header.tsx:33
msgid "All Accounts"
msgstr ""

#: apps/mobile/components/auth/auth-email.tsx:87
#: apps/mobile/components/auth/auth-email.tsx:86
msgid "An error occurred"
msgstr ""

#: apps/mobile/app/(app)/(tabs)/settings.tsx:49
#: apps/mobile/app/(app)/(tabs)/settings.tsx:116
msgid "App settings"
msgstr ""

#: apps/mobile/app/(app)/appearance.tsx:15
#: apps/mobile/app/(app)/appearance.tsx:16
msgid "App theme"
msgstr ""

#: apps/mobile/app/(app)/_layout.tsx:44
#: apps/mobile/app/(app)/(tabs)/settings.tsx:53
#: apps/mobile/app/(app)/_layout.tsx:67
#: apps/mobile/app/(app)/(tabs)/settings.tsx:121
msgid "Appearance"
msgstr ""

#: apps/mobile/app/(app)/(tabs)/settings.tsx:80
#: apps/mobile/app/(app)/(tabs)/settings.tsx:207
msgid "Are you sure you want to sign out?"
msgstr ""

#: apps/mobile/components/common/toolbar.tsx:14
#: apps/mobile/components/common/toolbar.tsx:15
msgid "Ask AI anything..."
msgstr ""

#: apps/mobile/app/(app)/(tabs)/_layout.tsx:42
#: apps/mobile/components/wallet/account-form.tsx:58
msgid "Balance"
msgstr ""

#: apps/mobile/app/(app)/(tabs)/_layout.tsx:47
msgid "Budgets"
msgstr ""

#: apps/mobile/app/(app)/(tabs)/settings.tsx:82
#: apps/mobile/app/(app)/(tabs)/settings.tsx:209
#: apps/mobile/app/(app)/wallet/[walletId].tsx:68
msgid "Cancel"
msgstr ""

#: apps/mobile/app/(app)/appearance.tsx:18
#: apps/mobile/app/(app)/_layout.tsx:99
#: apps/mobile/app/(app)/(tabs)/settings.tsx:96
msgid "Categories"
msgstr ""

#: apps/mobile/components/category/category-form.tsx:64
msgid "Category name"
msgstr ""

#: apps/mobile/app/(app)/appearance.tsx:19
msgid "Choose a preferred theme for the 6pm"
msgstr ""

#: apps/mobile/components/auth/auth-email.tsx:158
#: apps/mobile/components/auth/auth-email.tsx:160
msgid "Continue"
msgstr ""

#: apps/mobile/app/(auth)/login.tsx:41
#: apps/mobile/app/(auth)/login.tsx:43
msgid "Continue with Email"
msgstr ""

#: apps/mobile/components/home/wallet-statistics.tsx:25
msgid "Current balance"
msgstr ""

#: apps/mobile/app/(app)/appearance.tsx:33
msgid "Dark"
msgstr ""

#: apps/mobile/components/auth/auth-email.tsx:134
#: apps/mobile/app/(app)/(tabs)/settings.tsx:144
msgid "Default currency"
msgstr ""

#: apps/mobile/app/(app)/wallet/[walletId].tsx:72
msgid "Delete"
msgstr ""

#: apps/mobile/app/(app)/wallet/[walletId].tsx:62
msgid "Delete wallet account will also delete all related transactions!"
msgstr ""

#: apps/mobile/app/(app)/_layout.tsx:93
msgid "Edit account"
msgstr ""

#: apps/mobile/app/(app)/_layout.tsx:120
msgid "Edit category"
msgstr ""

#: apps/mobile/components/auth/auth-email.tsx:133
msgid "Email"
msgstr ""

#: apps/mobile/app/(app)/language.tsx:20
#: apps/mobile/app/(app)/category/index.tsx:53
#: apps/mobile/app/(app)/wallet/accounts.tsx:39
msgid "empty"
msgstr ""

#: apps/mobile/app/(app)/language.tsx:17
msgid "English"
msgstr ""

#: apps/mobile/components/auth/auth-email.tsx:171
msgid "Enter the code sent to your email"
msgstr ""

#: apps/mobile/components/auth/auth-email.tsx:135
#: apps/mobile/components/auth/auth-email.tsx:134
msgid "Enter your email address"
msgstr ""

#: apps/mobile/app/(app)/(tabs)/settings.tsx:60
#: apps/mobile/app/(app)/language.tsx:17
#: apps/mobile/components/category/category-form.tsx:95
msgid "Expense"
msgstr ""

#: apps/mobile/app/(app)/(tabs)/settings.tsx:82
msgid "General"
msgstr ""

#: apps/mobile/app/(app)/(tabs)/settings.tsx:72
msgid "Get 6pm Pro"
msgstr ""

#: apps/mobile/components/category/category-form.tsx:101
msgid "Income"
msgstr ""

#: apps/mobile/app/(app)/_layout.tsx:62
#: apps/mobile/app/(app)/(tabs)/settings.tsx:130
msgid "Language"
msgstr ""

#: apps/mobile/app/(app)/appearance.tsx:28
#: apps/mobile/app/(app)/appearance.tsx:29
msgid "Light"
msgstr ""

#: apps/mobile/app/(app)/(tabs)/settings.tsx:75
#: apps/mobile/app/(app)/(tabs)/settings.tsx:157
msgid "Login using FaceID"
msgstr ""

#: apps/mobile/app/(app)/(tabs)/settings.tsx:105
msgid "Magic inbox"
msgstr ""

#: apps/mobile/components/category/category-form.tsx:63
#: apps/mobile/components/wallet/account-form.tsx:41
msgid "Name"
msgstr ""

#: apps/mobile/app/(app)/category/index.tsx:57
msgid "New {0}"
msgstr ""

#: apps/mobile/app/(app)/_layout.tsx:86
#: apps/mobile/app/(app)/wallet/accounts.tsx:26
msgid "New account"
msgstr ""

#: apps/mobile/app/(app)/_layout.tsx:113
msgid "New category"
msgstr ""

#: apps/mobile/components/transaction/transaction-form.tsx:84
msgid "No budget selected"
msgstr ""

#: apps/mobile/app/(app)/(tabs)/settings.tsx:174
msgid "Others"
msgstr ""

#: apps/mobile/app/(app)/(tabs)/_layout.tsx:50
#: apps/mobile/app/(app)/(tabs)/settings.tsx:242
msgid "Privacy policy"
msgstr ""

#: apps/mobile/app/(aux)/_layout.tsx:33
msgid "Privacy Policy"
msgstr ""

#: apps/mobile/app/(app)/(tabs)/settings.tsx:199
msgid "Proudly open source"
msgstr ""

#: apps/mobile/app/(app)/(tabs)/settings.tsx:164
msgid "Push notifications"
msgstr ""

#: apps/mobile/app/(app)/(tabs)/settings.tsx:187
msgid "Rate 6pm on App Store"
msgstr ""

#: apps/mobile/components/category/category-form.tsx:115
#: apps/mobile/components/transaction/select-date-field.tsx:46
#: apps/mobile/components/transaction/transaction-form.tsx:113
#: apps/mobile/components/wallet/account-form.tsx:73
msgid "Save"
msgstr ""

#: apps/mobile/app/(app)/(tabs)/_layout.tsx:55
msgid "Scanner"
msgstr ""

#: apps/mobile/app/(app)/(tabs)/_layout.tsx:58
#: apps/mobile/components/common/currency-sheet.tsx:40
msgid "Search currency..."
msgstr ""

#: apps/mobile/components/transaction/select-account-field.tsx:57
msgid "Select account"
msgstr ""

#: apps/mobile/app/(app)/(tabs)/settings.tsx:179
msgid "Send feedback"
msgstr ""

#: apps/mobile/app/(app)/(tabs)/_layout.tsx:63
msgid "Settings"
msgstr ""

#: apps/mobile/components/auth/auth-email.tsx:178
#: apps/mobile/app/(app)/(tabs)/settings.tsx:193
msgid "Share with friends"
msgstr ""

#: apps/mobile/components/auth/auth-email.tsx:179
msgid "Sign in"
msgstr ""

#: apps/mobile/components/auth/auth-social.tsx:60
#: apps/mobile/components/auth/auth-social.tsx:67
msgid "Sign in with Apple"
msgstr ""

#: apps/mobile/components/auth/auth-social.tsx:49
#: apps/mobile/components/auth/auth-social.tsx:56
msgid "Sign in with Google"
msgstr ""

#: apps/mobile/app/(app)/(tabs)/settings.tsx:78
#: apps/mobile/app/(app)/(tabs)/settings.tsx:86
#: apps/mobile/app/(app)/(tabs)/settings.tsx:213
#: apps/mobile/app/(app)/(tabs)/settings.tsx:223
msgid "Sign out"
msgstr ""

#: apps/mobile/components/auth/auth-email.tsx:178
#: apps/mobile/components/auth/auth-email.tsx:179
msgid "Sign up"
msgstr ""

#: apps/mobile/app/(app)/appearance.tsx:38
msgid "System"
#~ msgid "System"
#~ msgstr ""

#: apps/mobile/app/(aux)/_layout.tsx:40
msgid "Terms & Conditions"
msgstr ""

#: apps/mobile/app/(app)/(tabs)/settings.tsx:237
msgid "Terms of use"
msgstr ""

#: apps/mobile/lib/date.tsx:10
msgid "Today"
msgstr ""

#: apps/mobile/lib/date.tsx:18
msgid "Tomorrow"
msgstr ""

#: apps/mobile/app/(app)/new-record.tsx:25
msgid "Transaction created"
msgstr ""

#: apps/mobile/components/transaction/transaction-form.tsx:89
msgid "transaction note"
msgstr ""

#: apps/mobile/components/category/category-form.tsx:80
msgid "Type"
msgstr ""

#: apps/mobile/components/transaction/select-category-field.tsx:65
#: apps/mobile/components/transaction/transaction-item.tsx:31
msgid "Uncategorized"
msgstr ""

#: apps/mobile/app/(app)/(tabs)/settings.tsx:75
msgid "Unlocks full AI power and more!"
msgstr ""

#: apps/mobile/app/(app)/(tabs)/settings.tsx:231
msgid "ver."
msgstr ""

#: apps/mobile/components/auth/auth-email.tsx:170
msgid "Verification code"
msgstr ""

#: apps/mobile/app/(app)/language.tsx:28
#: apps/mobile/app/(app)/language.tsx:29
msgid "Vietnamese"
msgstr ""

#: apps/mobile/components/wallet/account-form.tsx:42
msgid "Wallet account name"
msgstr ""

#: apps/mobile/app/(app)/_layout.tsx:72
#: apps/mobile/app/(app)/(tabs)/settings.tsx:87
msgid "Wallet accounts"
msgstr ""

#: apps/mobile/components/transaction/select-account-field.tsx:90
msgid "Wallet Accounts"
msgstr ""

#: apps/mobile/lib/date.tsx:14
msgid "Yesterday"
msgstr ""
2 changes: 1 addition & 1 deletion apps/mobile/locales/en/messages.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*eslint-disable*/ import type { Messages } from '@lingui/core'
export const messages: Messages = JSON.parse(
'{"FEZKSz":[["language"]],"VE5ikN":"<0><1>Manage your expense seamlessly</1><2>Let <3>6pm</3> a good time to spend</2></0>","AYTmQ1":"<0>By continuing, you acknowledge that you understand and agree to the <1><2>Terms & Conditions</2></1> and <3><4>Privacy Policy</4></3></0>","pXc4dB":"All Accounts","Vw8l6h":"An error occurred","2Yw5Eq":"App settings","rg8lHb":"App theme","aAIQg2":"Appearance","apLLSU":"Are you sure you want to sign out?","X2pgJW":"Ask AI anything...","IGsZpB":"Budgets","dEgA5A":"Cancel","h4wXn9":"Choose a preferred theme for the 6pm","xGVfLh":"Continue","RvVi9c":"Continue with Email","pvnfJD":"Dark","O3oNi5":"Email","lYGfRP":"English","EmV+r3":"Enter the code sent to your email","xRPn3U":"Enter your email address","vXIe7J":"Language","1njn7W":"Light","NuKR0h":"Others","WDgJiV":"Scanner","Tz0i8g":"Settings","5lWFkC":"Sign in","+EnZBU":"Sign in with Apple","dbWo0h":"Sign in with Google","fcWrnU":"Sign out","e+RpCP":"Sign up","D+NlUC":"System","AdWhjZ":"Verification code","fROFIL":"Vietnamese"}',
'{"J/hVSQ":[["0"]],"FEZKSz":[["language"]],"VE5ikN":"<0><1>Manage your expense seamlessly</1><2>Let <3>6pm</3> a good time to spend</2></0>","AYTmQ1":"<0>By continuing, you acknowledge that you understand and agree to the <1><2>Terms & Conditions</2></1> and <3><4>Privacy Policy</4></3></0>","LjsgKU":"0.00","103Xyi":"Add your first transaction here","pXc4dB":"All Accounts","Vw8l6h":"An error occurred","2Yw5Eq":"App settings","rg8lHb":"App theme","aAIQg2":"Appearance","apLLSU":"Are you sure you want to sign out?","X2pgJW":"Ask AI anything...","fsBGk0":"Balance","IGsZpB":"Budgets","dEgA5A":"Cancel","NUrY9o":"Categories","i+de8A":"Category name","h4wXn9":"Choose a preferred theme for the 6pm","xGVfLh":"Continue","RvVi9c":"Continue with Email","PxMcud":"Current balance","pvnfJD":"Dark","WRwm0h":"Default currency","cnGeoo":"Delete","VbtMs5":"Delete wallet account will also delete all related transactions!","rrOW2A":"Edit account","j1Jl7s":"Edit category","O3oNi5":"Email","QOINDn":"empty","lYGfRP":"English","EmV+r3":"Enter the code sent to your email","xRPn3U":"Enter your email address","/o/2Tm":"Expense","Weq9zb":"General","h52e9T":"Get 6pm Pro","xxsw3W":"Income","vXIe7J":"Language","1njn7W":"Light","UC3YIm":"Login using FaceID","lkAlEG":"Magic inbox","6YtxFj":"Name","6WSYbN":["New ",["0"]],"Kcr9Fr":"New account","tl5vsv":"New category","ApQ2nt":"No budget selected","NuKR0h":"Others","ScJ9fj":"Privacy policy","LcET2C":"Privacy Policy","++8ZXz":"Proudly open source","SZJG6+":"Push notifications","j75BA9":"Rate 6pm on App Store","tfDRzk":"Save","WDgJiV":"Scanner","P9vd26":"Search currency...","+O3PfQ":"Select account","RoafuO":"Send feedback","Tz0i8g":"Settings","RDprz0":"Share with friends","5lWFkC":"Sign in","+EnZBU":"Sign in with Apple","dbWo0h":"Sign in with Google","fcWrnU":"Sign out","e+RpCP":"Sign up","D+NlUC":"System","KWUgwY":"Terms & Conditions","Emv+V7":"Terms of use","ecUA8p":"Today","BRMXj0":"Tomorrow","38Gho6":"Transaction created","6D8usS":"transaction note","+zy2Nq":"Type","b2vAoQ":"Uncategorized","QQX2/q":"Unlocks full AI power and more!","KALubG":"ver.","AdWhjZ":"Verification code","fROFIL":"Vietnamese","q19YJ1":"Wallet account name","rUcnTU":"Wallet accounts","mdad9N":"Wallet Accounts","y/0uwd":"Yesterday"}',
)
Loading

0 comments on commit c278277

Please sign in to comment.