Upgrade to vue3 (#16)

* upgrade to vue 3.x and framework7 8.x
* change calendar plugin to vue-datepicker
* disable export button when user does not hava any transaction
* implement new pin code input
* append thousands separator in amount in exchange rates page
This commit is contained in:
mayswind
2023-04-21 01:45:00 +08:00
committed by GitHub
parent 4b0f7d45e8
commit b1c765eb51
89 changed files with 8353 additions and 16671 deletions
+7 -5
View File
@@ -36,11 +36,6 @@ export default {
'symbol': '{symbol} {amount}'
}
},
'input-format': { // The type of date or time format is framework7 format, ref: https://v5.framework7.io/docs/calendar.html#calendar-parameters
'datetime': {
'long': 'm/d/yyyy hh::mm A',
},
},
'dataExport': {
'defaultExportFilename': 'ezBookkeeping_export_data',
'exportFilename': 'ezBookkeeping_{nickname}_export_data'
@@ -658,6 +653,7 @@ export default {
'Update': 'Update',
'None': 'None',
'Not Specified': 'Not Specified',
'No results': 'No results',
'Done': 'Done',
'Continue': 'Continue',
'Status': 'Status',
@@ -690,6 +686,7 @@ export default {
'End Time': 'End Time',
'Select Date': 'Select Date',
'Select Time': 'Select Time',
'Current Time': 'Current Time',
'Custom': 'Custom',
'Pie Chart': 'Pie Chart',
'Bar Chart': 'Bar Chart',
@@ -865,8 +862,11 @@ export default {
'Account Total Assets': 'Account Total Assets',
'Account Total Liabilities': 'Account Total Liabilities',
'Statistics Settings': 'Statistics Settings',
'Chart Type': 'Chart Type',
'Default Chart Type': 'Default Chart Type',
'Chart Data Type': 'Chart Data Type',
'Default Chart Data Type': 'Default Chart Data Type',
'Date Range': 'Date Range',
'Default Date Range': 'Default Date Range',
'Default Account Filter': 'Default Account Filter',
'Default Transaction Category Filter': 'Default Transaction Category Filter',
@@ -975,6 +975,8 @@ export default {
'You have logged out all other sessions': 'You have logged out all other sessions',
'Unable to logout all other sessions': 'Unable to logout all other sessions',
'Regenerate Backup Codes': 'Regenerate Backup Codes',
'Enable Two-Factor Authentication': 'Enable Two-Factor Authentication',
'Disable Two-Factor Authentication': 'Disable Two-Factor Authentication',
'Please use two factor authentication app scan the below qrcode and input current passcode': 'Please use two factor authentication app scan the below qrcode and input current passcode',
'Please enter your current password when disable two factor authentication': 'Please enter your current password when disable two factor authentication',
'Please enter your current password when regenerate two factor authentication backup codes. If you regenerate backup codes, the old codes will be invalidated.': 'Please enter your current password when regenerate two factor authentication backup codes. If you regenerate backup codes, the old codes will be invalidated.',
+2
View File
@@ -1,3 +1,5 @@
import 'moment/dist/locale/zh-cn.js';
import en from './en.js'
import zhHans from './zh_Hans.js'
+7 -5
View File
@@ -36,11 +36,6 @@ export default {
'symbol': '{symbol} {amount}'
}
},
'input-format': {
'datetime': {
'long': 'yyyy年m月d日 HH::mm',
},
},
'dataExport': {
'defaultExportFilename': 'ezBookkeeping_导出数据',
'exportFilename': 'ezBookkeeping_{nickname}_导出数据'
@@ -658,6 +653,7 @@ export default {
'Update': '更新',
'None': '无',
'Not Specified': '未指定',
'No results': '无结果',
'Done': '完成',
'Continue': '继续',
'Status': '状态',
@@ -690,6 +686,7 @@ export default {
'End Time': '结束时间',
'Select Date': '选择日期',
'Select Time': '选择时间',
'Current Time': '当前时间',
'Custom': '自定义',
'Pie Chart': '饼图',
'Bar Chart': '条形图',
@@ -865,8 +862,11 @@ export default {
'Account Total Assets': '账户总资产',
'Account Total Liabilities': '账户总负债',
'Statistics Settings': '统计设置',
'Chart Type': '图表类型',
'Default Chart Type': '默认图表类型',
'Chart Data Type': '图表数据类型',
'Default Chart Data Type': '默认图表数据类型',
'Date Range': '时间范围',
'Default Date Range': '默认时间范围',
'Default Account Filter': '默认账号过滤',
'Default Transaction Category Filter': '默认交易分类过滤',
@@ -975,6 +975,8 @@ export default {
'You have logged out all other sessions': '您已经退出其他所有会话',
'Unable to logout all other sessions': '无法退出其他所有会话',
'Regenerate Backup Codes': '重新生成备用码',
'Enable Two-Factor Authentication': '启用两步验证',
'Disable Two-Factor Authentication': '禁用两步验证',
'Please use two factor authentication app scan the below qrcode and input current passcode': '请使用两步验证应用扫描下方的二维码并输入当前的验证码',
'Please enter your current password when disable two factor authentication': '禁用两步验证时需要输入您的当前密码',
'Please enter your current password when regenerate two factor authentication backup codes. If you regenerate backup codes, the old codes will be invalidated.': '重新生成两步验证备用码时需要输入您的当前密码。如果您重新生成备用码,之前的备用码将失效。',