From af000abed33f508934746a77206a73fc0847d773 Mon Sep 17 00:00:00 2001 From: Amir Habibzadeh Date: Sat, 16 Apr 2022 20:52:01 +0300 Subject: [PATCH 01/11] New translations en.ts (French) --- src/localization/fr.ts | 240 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 240 insertions(+) create mode 100644 src/localization/fr.ts diff --git a/src/localization/fr.ts b/src/localization/fr.ts new file mode 100644 index 00000000..7d6afd57 --- /dev/null +++ b/src/localization/fr.ts @@ -0,0 +1,240 @@ +export const en = { + language: 'Language', + balance: 'Balance (DAI)', + plantedTrees: 'Planted Trees', + withdraw: 'Withdraw', + offlineMap: { + title: 'Offline Map', + downloadArea: 'Download this area?', + permissionBlocked: 'Permission Blocked', + downloaded: 'Map download completed', + isDownloaded: 'The map was already downloaded', + failed: 'Map download failed!', + delete: 'Delete', + savedAreas: 'Saved Areas', + noOfflineArea: 'No offline area found', + addArea: 'Add Area', + viewAll: 'View All', + download: 'Download' + }, + getVerified: 'Get Verified', + help: 'Help', + logout: 'Log Out', + verified: 'Verified', + notVerified: 'Not Verified', + invite: { + title: 'Invite', + org: 'Organization', + friend: 'Friend' + }, + treeInventory: { + title: 'Tree Inventory', + updateTitle: 'Updated Offline', + submitAll: 'Submit All', + showProgress: 'Show Progress' + }, + treeDetails: { + cannotUpdate: { + title: 'Cannot Update', + details: 'Last update is pending', + wait: 'Please wait for {{seconds}}' + }, + gpsCoords: 'GPS Coordinates', + funder: 'Funder', + notFounded: 'Not Funded Yet!', + lastUpdate: 'Last Update', + born: 'Born', + photo: 'Photo', + photos: 'Photos', + update: 'Update' + }, + warning: 'Warning', + notVerifiedTree: 'Not verified tree, please wait until being verified!', + treeStatus: { + Submitted: 'Submitted', + Temp: 'Not Verified', + OfflineCreate: 'Planted Offline', + OfflineUpdate: 'Updated Offline' + }, + cannotUpdateTree: "TreeSpec is empty, You can't update tree, please contact support.", + transactionFailed: { + title: 'Transaction Failed!', + tryAgain: 'Please try again, contact customer support if needed' + }, + noInternet: 'No Internet', + submitWhenOnline: 'You can submit this tree when you have fast and stable internet connection', + offlineTreesSubmitted: 'All offline trees Submitted', + tryAgain: 'Please try again!', + cancel: 'Cancel', + error: 'Error', + plantFirstTree: 'Plant your first tree', + noOfflineTree: 'No offline {{type}} tree', + offlineTrees: 'Offline {{type}} Trees', + planted: 'planted', + Planted: 'Planted', + updated: 'updated', + Updated: 'Updated', + noAssigned: 'There is no assigned Tree', + submittedTrees: 'Submitted Trees', + notSubmittedTrees: 'Not Verified Trees', + noPlantedTrees: "You haven't planted any trees yet", + pendingVerification: 'Pending verification', + addWalletAddress: 'Add wallet address', + done: 'Done!', + addPhone: 'Add phone', + addName: 'Add name', + submitLocation: 'Submit location', + openMap: 'Open Map', + uploadIdCard: 'Upload ID card', + joiningAsOrganization: 'Joining as organization owner?', + verify: 'Verify', + resend: 'Resend', + sendCode: 'Send Code', + unknownError: 'Unknown Error. Please contact customer support!', + physicalLicense: 'ID card, passport or driving license', + errors: { + verificationCode: 'Code is wrong', + phoneNumber: 'Invalid phone number' + }, + 'verified!': 'Verified!', + greenBlock: { + notVerified: { + title: 'Please verify your account', + details: 'You must verify your account before joining a green block.' + } + }, + supplyCapReached: 'You reached your supply cap limit. Please contact customer support to plant more trees!', + openCamera: 'Open Camera', + submitTree: { + journeyIssue: 'Photo, Location', + treeSpecEmpty: "TreeSpec is empty, You can't update tree, please contact support.", + treeDataNotLoaded: "TreeData not loaded, You can't plant tree, refresh the page and try again.", + noWallet: { + title: 'No wallet', + details: 'Wallet not provided' + }, + updated: 'The tree has been successfully updated', + submitted: 'The tree has been successfully submitted', + error: 'Error occurred', + transactionFailed: "Transaction couldn't be completed", + confirm: 'Please confirm to plant the tree', + photoUpdated: 'Your photo is being uploaded', + updateTree: 'Update tree', + submitTree: 'Submit a new tree', + takePhoto: 'Take a photo of the tree', + treeLocation: 'Submit tree location', + updateTreeLocation: 'Update Tree Location', + uploadPhoto: 'Upload photo', + signInWallet: 'Sign with wallet', + singleTree: 'Single Tree', + nursery: 'Nursery', + focusedNursery: 'How many trees to plant?', + nurseryCount: 'Nursery ({{count}} trees)', + startToPlant: 'Start To Plant', + startToPlantNursery: 'Start To Plant {{count}} trees', + update: 'Update', + continue: 'Continue', + nurserySubmitted: 'Nursery successfully submitted', + nurserySubmitting: 'We are submitting your nursery', + offlineLoading: 'We are submitting your offline planted trees. This is going to take a while!\nPlease be patient', + offlineSubmittingNotCloseApp: "PLEASE DON'T CLOSE THE APPLICATION", + hashCopied: 'Hash copied to clipboard', + minimize: 'Minimize' + }, + success: 'Success', + failure: 'Failure', + createWallet: { + title: 'Create Wallet', + setup: 'Set up wallet', + recoveryPhrase: 'Recovery phrase', + ethConnect: 'Please connect \n your Ethereum wallet!', + connectToMagic: 'Connect Wallet', + loginWithPhone: 'Log in / Sign up', + or: 'OR', + connect: 'Connect Wallet', + why: { + title: 'Why do I need that?', + details: 'By connecting your Ethereum wallet, you will receive your rewards faster and safer', + learnMore: 'Learn More' + }, + failed: { + title: 'Failed to login', + details: 'Failed to authenticate via Torus. Please try again later.' + }, + setupAccount: 'Set up account' + }, + myProfile: { + attention: 'Attention!', + looseTree: 'You have {{treesLength}} {{treeText}} planted in offline mode and {{treeThereText}} waiting to submit, if you logout now, you will loose your {{treeText}}!', + logoutAndLoose: 'Logout & Loose', + withdraw: { + success: 'You successfully withdrew!' + }, + lessBalance: 'Your balance is less than {{amount}}!', + accuracy: 'Accuracy', + offlineTreeAdd: 'We are detected that you are offline.\nPlease submit this tree when you have fast and stable internet connection', + offlineNurseryAdd: 'We are detected that you are offline.\nPlease submit this nursery when you have fast and stable internet connection', + copied: 'Copied to clipboard!' + }, + sthWrong: 'Something went wrong!', + verifyPending: { + title: 'You’ll be verified soon!', + tnx: 'Thank you!', + verifying: 'You will receive a SMS when your identity is verified.', + continue: 'Continue' + }, + onBoarding: { + first: { + title: 'Connect to your Wallet', + details: 'The new member will receive a SMS to join the Green Block in a few minutes.' + }, + second: { + title: 'Plant Trees or Support them', + details: 'The new member will receive a SMS to join the Green Block in a few minutes.' + }, + third: { + title: 'Get Rewards', + details: 'The new member will receive a SMS to join the Green Block in a few minutes.' + } + }, + netInfo: { + error: 'Network Error!', + details: 'You have no internet connection! \nYou can continue planting trees when you are offline' + }, + loginFailed: { + title: 'Login Failed', + message: 'Please try again, if you still have trouble, contact customer support!' + }, + permission: { + denied: 'Permission Denied!', + required: 'Permissions required', + camera: 'Camera permission is required' + }, + ok: 'OK', + next: 'NEXT', + submit: 'Submit', + confirm: 'Confirm', + loading: { + ranger: "Ranger's App", + by: 'by Treejer' + }, + email: 'Email', + phoneNumber: 'Phone Number', + settings: { + title: 'Settings', + useGSN: 'Transaction Fee Sponsorship', + gsnDetails: 'Treejer sponsors your transaction fees. If your transactions are being failed, you can switch off sponsorship. Please remember you need MATIC token in your wallet send transactions. You may ask your rural ambassador for more help.', + ethBalance: 'Eth Balance:', + maticBalance: 'Matic Balance:' + }, + networks: { + switchHeader: 'Network', + selectNetwork: 'Select a network:', + areYouSure: 'Are you SURE?', + yes: 'Yes', + no: 'No', + testTitle: 'Test Networks', + mainTitle: 'Main Networks', + restartApp: 'The application will be restart and automatically log you out' + } +}; \ No newline at end of file From 5a088eabca8992dbb0c9d3f83e376b4d07d241c6 Mon Sep 17 00:00:00 2001 From: Amir Habibzadeh Date: Sat, 16 Apr 2022 20:52:02 +0300 Subject: [PATCH 02/11] New translations en.ts (Spanish) --- src/localization/es.ts | 240 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 240 insertions(+) create mode 100644 src/localization/es.ts diff --git a/src/localization/es.ts b/src/localization/es.ts new file mode 100644 index 00000000..7d6afd57 --- /dev/null +++ b/src/localization/es.ts @@ -0,0 +1,240 @@ +export const en = { + language: 'Language', + balance: 'Balance (DAI)', + plantedTrees: 'Planted Trees', + withdraw: 'Withdraw', + offlineMap: { + title: 'Offline Map', + downloadArea: 'Download this area?', + permissionBlocked: 'Permission Blocked', + downloaded: 'Map download completed', + isDownloaded: 'The map was already downloaded', + failed: 'Map download failed!', + delete: 'Delete', + savedAreas: 'Saved Areas', + noOfflineArea: 'No offline area found', + addArea: 'Add Area', + viewAll: 'View All', + download: 'Download' + }, + getVerified: 'Get Verified', + help: 'Help', + logout: 'Log Out', + verified: 'Verified', + notVerified: 'Not Verified', + invite: { + title: 'Invite', + org: 'Organization', + friend: 'Friend' + }, + treeInventory: { + title: 'Tree Inventory', + updateTitle: 'Updated Offline', + submitAll: 'Submit All', + showProgress: 'Show Progress' + }, + treeDetails: { + cannotUpdate: { + title: 'Cannot Update', + details: 'Last update is pending', + wait: 'Please wait for {{seconds}}' + }, + gpsCoords: 'GPS Coordinates', + funder: 'Funder', + notFounded: 'Not Funded Yet!', + lastUpdate: 'Last Update', + born: 'Born', + photo: 'Photo', + photos: 'Photos', + update: 'Update' + }, + warning: 'Warning', + notVerifiedTree: 'Not verified tree, please wait until being verified!', + treeStatus: { + Submitted: 'Submitted', + Temp: 'Not Verified', + OfflineCreate: 'Planted Offline', + OfflineUpdate: 'Updated Offline' + }, + cannotUpdateTree: "TreeSpec is empty, You can't update tree, please contact support.", + transactionFailed: { + title: 'Transaction Failed!', + tryAgain: 'Please try again, contact customer support if needed' + }, + noInternet: 'No Internet', + submitWhenOnline: 'You can submit this tree when you have fast and stable internet connection', + offlineTreesSubmitted: 'All offline trees Submitted', + tryAgain: 'Please try again!', + cancel: 'Cancel', + error: 'Error', + plantFirstTree: 'Plant your first tree', + noOfflineTree: 'No offline {{type}} tree', + offlineTrees: 'Offline {{type}} Trees', + planted: 'planted', + Planted: 'Planted', + updated: 'updated', + Updated: 'Updated', + noAssigned: 'There is no assigned Tree', + submittedTrees: 'Submitted Trees', + notSubmittedTrees: 'Not Verified Trees', + noPlantedTrees: "You haven't planted any trees yet", + pendingVerification: 'Pending verification', + addWalletAddress: 'Add wallet address', + done: 'Done!', + addPhone: 'Add phone', + addName: 'Add name', + submitLocation: 'Submit location', + openMap: 'Open Map', + uploadIdCard: 'Upload ID card', + joiningAsOrganization: 'Joining as organization owner?', + verify: 'Verify', + resend: 'Resend', + sendCode: 'Send Code', + unknownError: 'Unknown Error. Please contact customer support!', + physicalLicense: 'ID card, passport or driving license', + errors: { + verificationCode: 'Code is wrong', + phoneNumber: 'Invalid phone number' + }, + 'verified!': 'Verified!', + greenBlock: { + notVerified: { + title: 'Please verify your account', + details: 'You must verify your account before joining a green block.' + } + }, + supplyCapReached: 'You reached your supply cap limit. Please contact customer support to plant more trees!', + openCamera: 'Open Camera', + submitTree: { + journeyIssue: 'Photo, Location', + treeSpecEmpty: "TreeSpec is empty, You can't update tree, please contact support.", + treeDataNotLoaded: "TreeData not loaded, You can't plant tree, refresh the page and try again.", + noWallet: { + title: 'No wallet', + details: 'Wallet not provided' + }, + updated: 'The tree has been successfully updated', + submitted: 'The tree has been successfully submitted', + error: 'Error occurred', + transactionFailed: "Transaction couldn't be completed", + confirm: 'Please confirm to plant the tree', + photoUpdated: 'Your photo is being uploaded', + updateTree: 'Update tree', + submitTree: 'Submit a new tree', + takePhoto: 'Take a photo of the tree', + treeLocation: 'Submit tree location', + updateTreeLocation: 'Update Tree Location', + uploadPhoto: 'Upload photo', + signInWallet: 'Sign with wallet', + singleTree: 'Single Tree', + nursery: 'Nursery', + focusedNursery: 'How many trees to plant?', + nurseryCount: 'Nursery ({{count}} trees)', + startToPlant: 'Start To Plant', + startToPlantNursery: 'Start To Plant {{count}} trees', + update: 'Update', + continue: 'Continue', + nurserySubmitted: 'Nursery successfully submitted', + nurserySubmitting: 'We are submitting your nursery', + offlineLoading: 'We are submitting your offline planted trees. This is going to take a while!\nPlease be patient', + offlineSubmittingNotCloseApp: "PLEASE DON'T CLOSE THE APPLICATION", + hashCopied: 'Hash copied to clipboard', + minimize: 'Minimize' + }, + success: 'Success', + failure: 'Failure', + createWallet: { + title: 'Create Wallet', + setup: 'Set up wallet', + recoveryPhrase: 'Recovery phrase', + ethConnect: 'Please connect \n your Ethereum wallet!', + connectToMagic: 'Connect Wallet', + loginWithPhone: 'Log in / Sign up', + or: 'OR', + connect: 'Connect Wallet', + why: { + title: 'Why do I need that?', + details: 'By connecting your Ethereum wallet, you will receive your rewards faster and safer', + learnMore: 'Learn More' + }, + failed: { + title: 'Failed to login', + details: 'Failed to authenticate via Torus. Please try again later.' + }, + setupAccount: 'Set up account' + }, + myProfile: { + attention: 'Attention!', + looseTree: 'You have {{treesLength}} {{treeText}} planted in offline mode and {{treeThereText}} waiting to submit, if you logout now, you will loose your {{treeText}}!', + logoutAndLoose: 'Logout & Loose', + withdraw: { + success: 'You successfully withdrew!' + }, + lessBalance: 'Your balance is less than {{amount}}!', + accuracy: 'Accuracy', + offlineTreeAdd: 'We are detected that you are offline.\nPlease submit this tree when you have fast and stable internet connection', + offlineNurseryAdd: 'We are detected that you are offline.\nPlease submit this nursery when you have fast and stable internet connection', + copied: 'Copied to clipboard!' + }, + sthWrong: 'Something went wrong!', + verifyPending: { + title: 'You’ll be verified soon!', + tnx: 'Thank you!', + verifying: 'You will receive a SMS when your identity is verified.', + continue: 'Continue' + }, + onBoarding: { + first: { + title: 'Connect to your Wallet', + details: 'The new member will receive a SMS to join the Green Block in a few minutes.' + }, + second: { + title: 'Plant Trees or Support them', + details: 'The new member will receive a SMS to join the Green Block in a few minutes.' + }, + third: { + title: 'Get Rewards', + details: 'The new member will receive a SMS to join the Green Block in a few minutes.' + } + }, + netInfo: { + error: 'Network Error!', + details: 'You have no internet connection! \nYou can continue planting trees when you are offline' + }, + loginFailed: { + title: 'Login Failed', + message: 'Please try again, if you still have trouble, contact customer support!' + }, + permission: { + denied: 'Permission Denied!', + required: 'Permissions required', + camera: 'Camera permission is required' + }, + ok: 'OK', + next: 'NEXT', + submit: 'Submit', + confirm: 'Confirm', + loading: { + ranger: "Ranger's App", + by: 'by Treejer' + }, + email: 'Email', + phoneNumber: 'Phone Number', + settings: { + title: 'Settings', + useGSN: 'Transaction Fee Sponsorship', + gsnDetails: 'Treejer sponsors your transaction fees. If your transactions are being failed, you can switch off sponsorship. Please remember you need MATIC token in your wallet send transactions. You may ask your rural ambassador for more help.', + ethBalance: 'Eth Balance:', + maticBalance: 'Matic Balance:' + }, + networks: { + switchHeader: 'Network', + selectNetwork: 'Select a network:', + areYouSure: 'Are you SURE?', + yes: 'Yes', + no: 'No', + testTitle: 'Test Networks', + mainTitle: 'Main Networks', + restartApp: 'The application will be restart and automatically log you out' + } +}; \ No newline at end of file From e71a8f5c5d2805a7645b72868c990fe332df3c75 Mon Sep 17 00:00:00 2001 From: Amir Habibzadeh Date: Sat, 16 Apr 2022 20:52:03 +0300 Subject: [PATCH 03/11] New translations en.ts (Arabic) --- src/localization/ar.ts | 240 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 240 insertions(+) create mode 100644 src/localization/ar.ts diff --git a/src/localization/ar.ts b/src/localization/ar.ts new file mode 100644 index 00000000..7d6afd57 --- /dev/null +++ b/src/localization/ar.ts @@ -0,0 +1,240 @@ +export const en = { + language: 'Language', + balance: 'Balance (DAI)', + plantedTrees: 'Planted Trees', + withdraw: 'Withdraw', + offlineMap: { + title: 'Offline Map', + downloadArea: 'Download this area?', + permissionBlocked: 'Permission Blocked', + downloaded: 'Map download completed', + isDownloaded: 'The map was already downloaded', + failed: 'Map download failed!', + delete: 'Delete', + savedAreas: 'Saved Areas', + noOfflineArea: 'No offline area found', + addArea: 'Add Area', + viewAll: 'View All', + download: 'Download' + }, + getVerified: 'Get Verified', + help: 'Help', + logout: 'Log Out', + verified: 'Verified', + notVerified: 'Not Verified', + invite: { + title: 'Invite', + org: 'Organization', + friend: 'Friend' + }, + treeInventory: { + title: 'Tree Inventory', + updateTitle: 'Updated Offline', + submitAll: 'Submit All', + showProgress: 'Show Progress' + }, + treeDetails: { + cannotUpdate: { + title: 'Cannot Update', + details: 'Last update is pending', + wait: 'Please wait for {{seconds}}' + }, + gpsCoords: 'GPS Coordinates', + funder: 'Funder', + notFounded: 'Not Funded Yet!', + lastUpdate: 'Last Update', + born: 'Born', + photo: 'Photo', + photos: 'Photos', + update: 'Update' + }, + warning: 'Warning', + notVerifiedTree: 'Not verified tree, please wait until being verified!', + treeStatus: { + Submitted: 'Submitted', + Temp: 'Not Verified', + OfflineCreate: 'Planted Offline', + OfflineUpdate: 'Updated Offline' + }, + cannotUpdateTree: "TreeSpec is empty, You can't update tree, please contact support.", + transactionFailed: { + title: 'Transaction Failed!', + tryAgain: 'Please try again, contact customer support if needed' + }, + noInternet: 'No Internet', + submitWhenOnline: 'You can submit this tree when you have fast and stable internet connection', + offlineTreesSubmitted: 'All offline trees Submitted', + tryAgain: 'Please try again!', + cancel: 'Cancel', + error: 'Error', + plantFirstTree: 'Plant your first tree', + noOfflineTree: 'No offline {{type}} tree', + offlineTrees: 'Offline {{type}} Trees', + planted: 'planted', + Planted: 'Planted', + updated: 'updated', + Updated: 'Updated', + noAssigned: 'There is no assigned Tree', + submittedTrees: 'Submitted Trees', + notSubmittedTrees: 'Not Verified Trees', + noPlantedTrees: "You haven't planted any trees yet", + pendingVerification: 'Pending verification', + addWalletAddress: 'Add wallet address', + done: 'Done!', + addPhone: 'Add phone', + addName: 'Add name', + submitLocation: 'Submit location', + openMap: 'Open Map', + uploadIdCard: 'Upload ID card', + joiningAsOrganization: 'Joining as organization owner?', + verify: 'Verify', + resend: 'Resend', + sendCode: 'Send Code', + unknownError: 'Unknown Error. Please contact customer support!', + physicalLicense: 'ID card, passport or driving license', + errors: { + verificationCode: 'Code is wrong', + phoneNumber: 'Invalid phone number' + }, + 'verified!': 'Verified!', + greenBlock: { + notVerified: { + title: 'Please verify your account', + details: 'You must verify your account before joining a green block.' + } + }, + supplyCapReached: 'You reached your supply cap limit. Please contact customer support to plant more trees!', + openCamera: 'Open Camera', + submitTree: { + journeyIssue: 'Photo, Location', + treeSpecEmpty: "TreeSpec is empty, You can't update tree, please contact support.", + treeDataNotLoaded: "TreeData not loaded, You can't plant tree, refresh the page and try again.", + noWallet: { + title: 'No wallet', + details: 'Wallet not provided' + }, + updated: 'The tree has been successfully updated', + submitted: 'The tree has been successfully submitted', + error: 'Error occurred', + transactionFailed: "Transaction couldn't be completed", + confirm: 'Please confirm to plant the tree', + photoUpdated: 'Your photo is being uploaded', + updateTree: 'Update tree', + submitTree: 'Submit a new tree', + takePhoto: 'Take a photo of the tree', + treeLocation: 'Submit tree location', + updateTreeLocation: 'Update Tree Location', + uploadPhoto: 'Upload photo', + signInWallet: 'Sign with wallet', + singleTree: 'Single Tree', + nursery: 'Nursery', + focusedNursery: 'How many trees to plant?', + nurseryCount: 'Nursery ({{count}} trees)', + startToPlant: 'Start To Plant', + startToPlantNursery: 'Start To Plant {{count}} trees', + update: 'Update', + continue: 'Continue', + nurserySubmitted: 'Nursery successfully submitted', + nurserySubmitting: 'We are submitting your nursery', + offlineLoading: 'We are submitting your offline planted trees. This is going to take a while!\nPlease be patient', + offlineSubmittingNotCloseApp: "PLEASE DON'T CLOSE THE APPLICATION", + hashCopied: 'Hash copied to clipboard', + minimize: 'Minimize' + }, + success: 'Success', + failure: 'Failure', + createWallet: { + title: 'Create Wallet', + setup: 'Set up wallet', + recoveryPhrase: 'Recovery phrase', + ethConnect: 'Please connect \n your Ethereum wallet!', + connectToMagic: 'Connect Wallet', + loginWithPhone: 'Log in / Sign up', + or: 'OR', + connect: 'Connect Wallet', + why: { + title: 'Why do I need that?', + details: 'By connecting your Ethereum wallet, you will receive your rewards faster and safer', + learnMore: 'Learn More' + }, + failed: { + title: 'Failed to login', + details: 'Failed to authenticate via Torus. Please try again later.' + }, + setupAccount: 'Set up account' + }, + myProfile: { + attention: 'Attention!', + looseTree: 'You have {{treesLength}} {{treeText}} planted in offline mode and {{treeThereText}} waiting to submit, if you logout now, you will loose your {{treeText}}!', + logoutAndLoose: 'Logout & Loose', + withdraw: { + success: 'You successfully withdrew!' + }, + lessBalance: 'Your balance is less than {{amount}}!', + accuracy: 'Accuracy', + offlineTreeAdd: 'We are detected that you are offline.\nPlease submit this tree when you have fast and stable internet connection', + offlineNurseryAdd: 'We are detected that you are offline.\nPlease submit this nursery when you have fast and stable internet connection', + copied: 'Copied to clipboard!' + }, + sthWrong: 'Something went wrong!', + verifyPending: { + title: 'You’ll be verified soon!', + tnx: 'Thank you!', + verifying: 'You will receive a SMS when your identity is verified.', + continue: 'Continue' + }, + onBoarding: { + first: { + title: 'Connect to your Wallet', + details: 'The new member will receive a SMS to join the Green Block in a few minutes.' + }, + second: { + title: 'Plant Trees or Support them', + details: 'The new member will receive a SMS to join the Green Block in a few minutes.' + }, + third: { + title: 'Get Rewards', + details: 'The new member will receive a SMS to join the Green Block in a few minutes.' + } + }, + netInfo: { + error: 'Network Error!', + details: 'You have no internet connection! \nYou can continue planting trees when you are offline' + }, + loginFailed: { + title: 'Login Failed', + message: 'Please try again, if you still have trouble, contact customer support!' + }, + permission: { + denied: 'Permission Denied!', + required: 'Permissions required', + camera: 'Camera permission is required' + }, + ok: 'OK', + next: 'NEXT', + submit: 'Submit', + confirm: 'Confirm', + loading: { + ranger: "Ranger's App", + by: 'by Treejer' + }, + email: 'Email', + phoneNumber: 'Phone Number', + settings: { + title: 'Settings', + useGSN: 'Transaction Fee Sponsorship', + gsnDetails: 'Treejer sponsors your transaction fees. If your transactions are being failed, you can switch off sponsorship. Please remember you need MATIC token in your wallet send transactions. You may ask your rural ambassador for more help.', + ethBalance: 'Eth Balance:', + maticBalance: 'Matic Balance:' + }, + networks: { + switchHeader: 'Network', + selectNetwork: 'Select a network:', + areYouSure: 'Are you SURE?', + yes: 'Yes', + no: 'No', + testTitle: 'Test Networks', + mainTitle: 'Main Networks', + restartApp: 'The application will be restart and automatically log you out' + } +}; \ No newline at end of file From 1a3b20a604cf587f7df7d0e8656b6b2e21e61772 Mon Sep 17 00:00:00 2001 From: Amir Habibzadeh Date: Sat, 16 Apr 2022 20:52:04 +0300 Subject: [PATCH 04/11] New translations en.ts (Turkish) --- src/localization/tr.ts | 240 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 240 insertions(+) create mode 100644 src/localization/tr.ts diff --git a/src/localization/tr.ts b/src/localization/tr.ts new file mode 100644 index 00000000..7d6afd57 --- /dev/null +++ b/src/localization/tr.ts @@ -0,0 +1,240 @@ +export const en = { + language: 'Language', + balance: 'Balance (DAI)', + plantedTrees: 'Planted Trees', + withdraw: 'Withdraw', + offlineMap: { + title: 'Offline Map', + downloadArea: 'Download this area?', + permissionBlocked: 'Permission Blocked', + downloaded: 'Map download completed', + isDownloaded: 'The map was already downloaded', + failed: 'Map download failed!', + delete: 'Delete', + savedAreas: 'Saved Areas', + noOfflineArea: 'No offline area found', + addArea: 'Add Area', + viewAll: 'View All', + download: 'Download' + }, + getVerified: 'Get Verified', + help: 'Help', + logout: 'Log Out', + verified: 'Verified', + notVerified: 'Not Verified', + invite: { + title: 'Invite', + org: 'Organization', + friend: 'Friend' + }, + treeInventory: { + title: 'Tree Inventory', + updateTitle: 'Updated Offline', + submitAll: 'Submit All', + showProgress: 'Show Progress' + }, + treeDetails: { + cannotUpdate: { + title: 'Cannot Update', + details: 'Last update is pending', + wait: 'Please wait for {{seconds}}' + }, + gpsCoords: 'GPS Coordinates', + funder: 'Funder', + notFounded: 'Not Funded Yet!', + lastUpdate: 'Last Update', + born: 'Born', + photo: 'Photo', + photos: 'Photos', + update: 'Update' + }, + warning: 'Warning', + notVerifiedTree: 'Not verified tree, please wait until being verified!', + treeStatus: { + Submitted: 'Submitted', + Temp: 'Not Verified', + OfflineCreate: 'Planted Offline', + OfflineUpdate: 'Updated Offline' + }, + cannotUpdateTree: "TreeSpec is empty, You can't update tree, please contact support.", + transactionFailed: { + title: 'Transaction Failed!', + tryAgain: 'Please try again, contact customer support if needed' + }, + noInternet: 'No Internet', + submitWhenOnline: 'You can submit this tree when you have fast and stable internet connection', + offlineTreesSubmitted: 'All offline trees Submitted', + tryAgain: 'Please try again!', + cancel: 'Cancel', + error: 'Error', + plantFirstTree: 'Plant your first tree', + noOfflineTree: 'No offline {{type}} tree', + offlineTrees: 'Offline {{type}} Trees', + planted: 'planted', + Planted: 'Planted', + updated: 'updated', + Updated: 'Updated', + noAssigned: 'There is no assigned Tree', + submittedTrees: 'Submitted Trees', + notSubmittedTrees: 'Not Verified Trees', + noPlantedTrees: "You haven't planted any trees yet", + pendingVerification: 'Pending verification', + addWalletAddress: 'Add wallet address', + done: 'Done!', + addPhone: 'Add phone', + addName: 'Add name', + submitLocation: 'Submit location', + openMap: 'Open Map', + uploadIdCard: 'Upload ID card', + joiningAsOrganization: 'Joining as organization owner?', + verify: 'Verify', + resend: 'Resend', + sendCode: 'Send Code', + unknownError: 'Unknown Error. Please contact customer support!', + physicalLicense: 'ID card, passport or driving license', + errors: { + verificationCode: 'Code is wrong', + phoneNumber: 'Invalid phone number' + }, + 'verified!': 'Verified!', + greenBlock: { + notVerified: { + title: 'Please verify your account', + details: 'You must verify your account before joining a green block.' + } + }, + supplyCapReached: 'You reached your supply cap limit. Please contact customer support to plant more trees!', + openCamera: 'Open Camera', + submitTree: { + journeyIssue: 'Photo, Location', + treeSpecEmpty: "TreeSpec is empty, You can't update tree, please contact support.", + treeDataNotLoaded: "TreeData not loaded, You can't plant tree, refresh the page and try again.", + noWallet: { + title: 'No wallet', + details: 'Wallet not provided' + }, + updated: 'The tree has been successfully updated', + submitted: 'The tree has been successfully submitted', + error: 'Error occurred', + transactionFailed: "Transaction couldn't be completed", + confirm: 'Please confirm to plant the tree', + photoUpdated: 'Your photo is being uploaded', + updateTree: 'Update tree', + submitTree: 'Submit a new tree', + takePhoto: 'Take a photo of the tree', + treeLocation: 'Submit tree location', + updateTreeLocation: 'Update Tree Location', + uploadPhoto: 'Upload photo', + signInWallet: 'Sign with wallet', + singleTree: 'Single Tree', + nursery: 'Nursery', + focusedNursery: 'How many trees to plant?', + nurseryCount: 'Nursery ({{count}} trees)', + startToPlant: 'Start To Plant', + startToPlantNursery: 'Start To Plant {{count}} trees', + update: 'Update', + continue: 'Continue', + nurserySubmitted: 'Nursery successfully submitted', + nurserySubmitting: 'We are submitting your nursery', + offlineLoading: 'We are submitting your offline planted trees. This is going to take a while!\nPlease be patient', + offlineSubmittingNotCloseApp: "PLEASE DON'T CLOSE THE APPLICATION", + hashCopied: 'Hash copied to clipboard', + minimize: 'Minimize' + }, + success: 'Success', + failure: 'Failure', + createWallet: { + title: 'Create Wallet', + setup: 'Set up wallet', + recoveryPhrase: 'Recovery phrase', + ethConnect: 'Please connect \n your Ethereum wallet!', + connectToMagic: 'Connect Wallet', + loginWithPhone: 'Log in / Sign up', + or: 'OR', + connect: 'Connect Wallet', + why: { + title: 'Why do I need that?', + details: 'By connecting your Ethereum wallet, you will receive your rewards faster and safer', + learnMore: 'Learn More' + }, + failed: { + title: 'Failed to login', + details: 'Failed to authenticate via Torus. Please try again later.' + }, + setupAccount: 'Set up account' + }, + myProfile: { + attention: 'Attention!', + looseTree: 'You have {{treesLength}} {{treeText}} planted in offline mode and {{treeThereText}} waiting to submit, if you logout now, you will loose your {{treeText}}!', + logoutAndLoose: 'Logout & Loose', + withdraw: { + success: 'You successfully withdrew!' + }, + lessBalance: 'Your balance is less than {{amount}}!', + accuracy: 'Accuracy', + offlineTreeAdd: 'We are detected that you are offline.\nPlease submit this tree when you have fast and stable internet connection', + offlineNurseryAdd: 'We are detected that you are offline.\nPlease submit this nursery when you have fast and stable internet connection', + copied: 'Copied to clipboard!' + }, + sthWrong: 'Something went wrong!', + verifyPending: { + title: 'You’ll be verified soon!', + tnx: 'Thank you!', + verifying: 'You will receive a SMS when your identity is verified.', + continue: 'Continue' + }, + onBoarding: { + first: { + title: 'Connect to your Wallet', + details: 'The new member will receive a SMS to join the Green Block in a few minutes.' + }, + second: { + title: 'Plant Trees or Support them', + details: 'The new member will receive a SMS to join the Green Block in a few minutes.' + }, + third: { + title: 'Get Rewards', + details: 'The new member will receive a SMS to join the Green Block in a few minutes.' + } + }, + netInfo: { + error: 'Network Error!', + details: 'You have no internet connection! \nYou can continue planting trees when you are offline' + }, + loginFailed: { + title: 'Login Failed', + message: 'Please try again, if you still have trouble, contact customer support!' + }, + permission: { + denied: 'Permission Denied!', + required: 'Permissions required', + camera: 'Camera permission is required' + }, + ok: 'OK', + next: 'NEXT', + submit: 'Submit', + confirm: 'Confirm', + loading: { + ranger: "Ranger's App", + by: 'by Treejer' + }, + email: 'Email', + phoneNumber: 'Phone Number', + settings: { + title: 'Settings', + useGSN: 'Transaction Fee Sponsorship', + gsnDetails: 'Treejer sponsors your transaction fees. If your transactions are being failed, you can switch off sponsorship. Please remember you need MATIC token in your wallet send transactions. You may ask your rural ambassador for more help.', + ethBalance: 'Eth Balance:', + maticBalance: 'Matic Balance:' + }, + networks: { + switchHeader: 'Network', + selectNetwork: 'Select a network:', + areYouSure: 'Are you SURE?', + yes: 'Yes', + no: 'No', + testTitle: 'Test Networks', + mainTitle: 'Main Networks', + restartApp: 'The application will be restart and automatically log you out' + } +}; \ No newline at end of file From 38ca8673c1ab5238445f2c7b6c4ad255f43199bb Mon Sep 17 00:00:00 2001 From: Amir Habibzadeh Date: Sat, 16 Apr 2022 20:52:05 +0300 Subject: [PATCH 05/11] New translations en.ts (Persian) --- src/localization/fa.ts | 244 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 240 insertions(+), 4 deletions(-) diff --git a/src/localization/fa.ts b/src/localization/fa.ts index 24f92868..7d6afd57 100644 --- a/src/localization/fa.ts +++ b/src/localization/fa.ts @@ -1,4 +1,240 @@ -export const fa = { - language: 'زبان', - welcome: 'خوش آمدید', -}; +export const en = { + language: 'Language', + balance: 'Balance (DAI)', + plantedTrees: 'Planted Trees', + withdraw: 'Withdraw', + offlineMap: { + title: 'Offline Map', + downloadArea: 'Download this area?', + permissionBlocked: 'Permission Blocked', + downloaded: 'Map download completed', + isDownloaded: 'The map was already downloaded', + failed: 'Map download failed!', + delete: 'Delete', + savedAreas: 'Saved Areas', + noOfflineArea: 'No offline area found', + addArea: 'Add Area', + viewAll: 'View All', + download: 'Download' + }, + getVerified: 'Get Verified', + help: 'Help', + logout: 'Log Out', + verified: 'Verified', + notVerified: 'Not Verified', + invite: { + title: 'Invite', + org: 'Organization', + friend: 'Friend' + }, + treeInventory: { + title: 'Tree Inventory', + updateTitle: 'Updated Offline', + submitAll: 'Submit All', + showProgress: 'Show Progress' + }, + treeDetails: { + cannotUpdate: { + title: 'Cannot Update', + details: 'Last update is pending', + wait: 'Please wait for {{seconds}}' + }, + gpsCoords: 'GPS Coordinates', + funder: 'Funder', + notFounded: 'Not Funded Yet!', + lastUpdate: 'Last Update', + born: 'Born', + photo: 'Photo', + photos: 'Photos', + update: 'Update' + }, + warning: 'Warning', + notVerifiedTree: 'Not verified tree, please wait until being verified!', + treeStatus: { + Submitted: 'Submitted', + Temp: 'Not Verified', + OfflineCreate: 'Planted Offline', + OfflineUpdate: 'Updated Offline' + }, + cannotUpdateTree: "TreeSpec is empty, You can't update tree, please contact support.", + transactionFailed: { + title: 'Transaction Failed!', + tryAgain: 'Please try again, contact customer support if needed' + }, + noInternet: 'No Internet', + submitWhenOnline: 'You can submit this tree when you have fast and stable internet connection', + offlineTreesSubmitted: 'All offline trees Submitted', + tryAgain: 'Please try again!', + cancel: 'Cancel', + error: 'Error', + plantFirstTree: 'Plant your first tree', + noOfflineTree: 'No offline {{type}} tree', + offlineTrees: 'Offline {{type}} Trees', + planted: 'planted', + Planted: 'Planted', + updated: 'updated', + Updated: 'Updated', + noAssigned: 'There is no assigned Tree', + submittedTrees: 'Submitted Trees', + notSubmittedTrees: 'Not Verified Trees', + noPlantedTrees: "You haven't planted any trees yet", + pendingVerification: 'Pending verification', + addWalletAddress: 'Add wallet address', + done: 'Done!', + addPhone: 'Add phone', + addName: 'Add name', + submitLocation: 'Submit location', + openMap: 'Open Map', + uploadIdCard: 'Upload ID card', + joiningAsOrganization: 'Joining as organization owner?', + verify: 'Verify', + resend: 'Resend', + sendCode: 'Send Code', + unknownError: 'Unknown Error. Please contact customer support!', + physicalLicense: 'ID card, passport or driving license', + errors: { + verificationCode: 'Code is wrong', + phoneNumber: 'Invalid phone number' + }, + 'verified!': 'Verified!', + greenBlock: { + notVerified: { + title: 'Please verify your account', + details: 'You must verify your account before joining a green block.' + } + }, + supplyCapReached: 'You reached your supply cap limit. Please contact customer support to plant more trees!', + openCamera: 'Open Camera', + submitTree: { + journeyIssue: 'Photo, Location', + treeSpecEmpty: "TreeSpec is empty, You can't update tree, please contact support.", + treeDataNotLoaded: "TreeData not loaded, You can't plant tree, refresh the page and try again.", + noWallet: { + title: 'No wallet', + details: 'Wallet not provided' + }, + updated: 'The tree has been successfully updated', + submitted: 'The tree has been successfully submitted', + error: 'Error occurred', + transactionFailed: "Transaction couldn't be completed", + confirm: 'Please confirm to plant the tree', + photoUpdated: 'Your photo is being uploaded', + updateTree: 'Update tree', + submitTree: 'Submit a new tree', + takePhoto: 'Take a photo of the tree', + treeLocation: 'Submit tree location', + updateTreeLocation: 'Update Tree Location', + uploadPhoto: 'Upload photo', + signInWallet: 'Sign with wallet', + singleTree: 'Single Tree', + nursery: 'Nursery', + focusedNursery: 'How many trees to plant?', + nurseryCount: 'Nursery ({{count}} trees)', + startToPlant: 'Start To Plant', + startToPlantNursery: 'Start To Plant {{count}} trees', + update: 'Update', + continue: 'Continue', + nurserySubmitted: 'Nursery successfully submitted', + nurserySubmitting: 'We are submitting your nursery', + offlineLoading: 'We are submitting your offline planted trees. This is going to take a while!\nPlease be patient', + offlineSubmittingNotCloseApp: "PLEASE DON'T CLOSE THE APPLICATION", + hashCopied: 'Hash copied to clipboard', + minimize: 'Minimize' + }, + success: 'Success', + failure: 'Failure', + createWallet: { + title: 'Create Wallet', + setup: 'Set up wallet', + recoveryPhrase: 'Recovery phrase', + ethConnect: 'Please connect \n your Ethereum wallet!', + connectToMagic: 'Connect Wallet', + loginWithPhone: 'Log in / Sign up', + or: 'OR', + connect: 'Connect Wallet', + why: { + title: 'Why do I need that?', + details: 'By connecting your Ethereum wallet, you will receive your rewards faster and safer', + learnMore: 'Learn More' + }, + failed: { + title: 'Failed to login', + details: 'Failed to authenticate via Torus. Please try again later.' + }, + setupAccount: 'Set up account' + }, + myProfile: { + attention: 'Attention!', + looseTree: 'You have {{treesLength}} {{treeText}} planted in offline mode and {{treeThereText}} waiting to submit, if you logout now, you will loose your {{treeText}}!', + logoutAndLoose: 'Logout & Loose', + withdraw: { + success: 'You successfully withdrew!' + }, + lessBalance: 'Your balance is less than {{amount}}!', + accuracy: 'Accuracy', + offlineTreeAdd: 'We are detected that you are offline.\nPlease submit this tree when you have fast and stable internet connection', + offlineNurseryAdd: 'We are detected that you are offline.\nPlease submit this nursery when you have fast and stable internet connection', + copied: 'Copied to clipboard!' + }, + sthWrong: 'Something went wrong!', + verifyPending: { + title: 'You’ll be verified soon!', + tnx: 'Thank you!', + verifying: 'You will receive a SMS when your identity is verified.', + continue: 'Continue' + }, + onBoarding: { + first: { + title: 'Connect to your Wallet', + details: 'The new member will receive a SMS to join the Green Block in a few minutes.' + }, + second: { + title: 'Plant Trees or Support them', + details: 'The new member will receive a SMS to join the Green Block in a few minutes.' + }, + third: { + title: 'Get Rewards', + details: 'The new member will receive a SMS to join the Green Block in a few minutes.' + } + }, + netInfo: { + error: 'Network Error!', + details: 'You have no internet connection! \nYou can continue planting trees when you are offline' + }, + loginFailed: { + title: 'Login Failed', + message: 'Please try again, if you still have trouble, contact customer support!' + }, + permission: { + denied: 'Permission Denied!', + required: 'Permissions required', + camera: 'Camera permission is required' + }, + ok: 'OK', + next: 'NEXT', + submit: 'Submit', + confirm: 'Confirm', + loading: { + ranger: "Ranger's App", + by: 'by Treejer' + }, + email: 'Email', + phoneNumber: 'Phone Number', + settings: { + title: 'Settings', + useGSN: 'Transaction Fee Sponsorship', + gsnDetails: 'Treejer sponsors your transaction fees. If your transactions are being failed, you can switch off sponsorship. Please remember you need MATIC token in your wallet send transactions. You may ask your rural ambassador for more help.', + ethBalance: 'Eth Balance:', + maticBalance: 'Matic Balance:' + }, + networks: { + switchHeader: 'Network', + selectNetwork: 'Select a network:', + areYouSure: 'Are you SURE?', + yes: 'Yes', + no: 'No', + testTitle: 'Test Networks', + mainTitle: 'Main Networks', + restartApp: 'The application will be restart and automatically log you out' + } +}; \ No newline at end of file From 1fcfde7ef735baa11db4c5f5d0ae7d7adb9c962e Mon Sep 17 00:00:00 2001 From: Amir Habibzadeh Date: Sun, 17 Apr 2022 12:08:39 +0300 Subject: [PATCH 06/11] New translations en.ts (Persian) --- src/localization/fa.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/localization/fa.ts b/src/localization/fa.ts index 7d6afd57..b940da51 100644 --- a/src/localization/fa.ts +++ b/src/localization/fa.ts @@ -1,6 +1,6 @@ export const en = { language: 'Language', - balance: 'Balance (DAI)', + balance: "موجودی (DAI)", plantedTrees: 'Planted Trees', withdraw: 'Withdraw', offlineMap: { From a4f01c23084782cd60bbfbbb4de683ec3e442c91 Mon Sep 17 00:00:00 2001 From: Amir Habibzadeh Date: Sat, 17 Sep 2022 23:24:26 +0300 Subject: [PATCH 07/11] New translations en.ts (French) --- src/localization/fr.ts | 180 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 174 insertions(+), 6 deletions(-) diff --git a/src/localization/fr.ts b/src/localization/fr.ts index 7d6afd57..e837c5b1 100644 --- a/src/localization/fr.ts +++ b/src/localization/fr.ts @@ -15,17 +15,25 @@ export const en = { noOfflineArea: 'No offline area found', addArea: 'Add Area', viewAll: 'View All', - download: 'Download' + download: 'Download', + notSupported: 'Offline map is not available on web', + downloadApplication: 'Download Ranger mobile application' }, getVerified: 'Get Verified', + joiningOrganization: 'You are joining in organization:', + joiningReferrer: 'You are referred by:', + joinAndGetVerified: 'Join & Get Verified', help: 'Help', logout: 'Log Out', verified: 'Verified', notVerified: 'Not Verified', + pending: 'Pending', + update: 'Update', invite: { title: 'Invite', org: 'Organization', - friend: 'Friend' + friend: 'Friend', + copied: 'Invite link copied to your clipboard' }, treeInventory: { title: 'Tree Inventory', @@ -57,6 +65,7 @@ export const en = { OfflineUpdate: 'Updated Offline' }, cannotUpdateTree: "TreeSpec is empty, You can't update tree, please contact support.", + cannotSubmitTree: "TreeSpec is empty, You can't plant tree, please contact support.", transactionFailed: { title: 'Transaction Failed!', tryAgain: 'Please try again, contact customer support if needed' @@ -68,13 +77,14 @@ export const en = { cancel: 'Cancel', error: 'Error', plantFirstTree: 'Plant your first tree', + plantTree: 'Plant tree', noOfflineTree: 'No offline {{type}} tree', offlineTrees: 'Offline {{type}} Trees', planted: 'planted', Planted: 'Planted', updated: 'updated', Updated: 'Updated', - noAssigned: 'There is no assigned Tree', + noAssignedOrVerified: 'There is no assigned or verified Tree', submittedTrees: 'Submitted Trees', notSubmittedTrees: 'Not Verified Trees', noPlantedTrees: "You haven't planted any trees yet", @@ -82,6 +92,7 @@ export const en = { addWalletAddress: 'Add wallet address', done: 'Done!', addPhone: 'Add phone', + verifyPhone: 'Verify phone', addName: 'Add name', submitLocation: 'Submit location', openMap: 'Open Map', @@ -94,7 +105,16 @@ export const en = { physicalLicense: 'ID card, passport or driving license', errors: { verificationCode: 'Code is wrong', - phoneNumber: 'Invalid phone number' + phoneNumber: 'Invalid phone number', + 0: 'No Internet Connection!', + INTERNET: 'No Internet Connection!', + 400: 'Bad Request', + 401: 'Unauthorized', + 403: 'Forbidden', + 404: 'Not Found', + 405: 'Method Not Allowed', + 500: 'Internal Server Error', + error: 'Error!' }, 'verified!': 'Verified!', greenBlock: { @@ -104,7 +124,8 @@ export const en = { } }, supplyCapReached: 'You reached your supply cap limit. Please contact customer support to plant more trees!', - openCamera: 'Open Camera', + openCamera: 'Camera', + openGallery: 'Gallery', submitTree: { journeyIssue: 'Photo, Location', treeSpecEmpty: "TreeSpec is empty, You can't update tree, please contact support.", @@ -199,7 +220,8 @@ export const en = { }, netInfo: { error: 'Network Error!', - details: 'You have no internet connection! \nYou can continue planting trees when you are offline' + details: 'You have no internet connection! \nYou can continue planting trees when you are offline', + detailsWeb: 'You have no internet connection! \nYou can continue planting trees when you are online' }, loginFailed: { title: 'Login Failed', @@ -211,6 +233,7 @@ export const en = { camera: 'Camera permission is required' }, ok: 'OK', + retry: 'Retry', next: 'NEXT', submit: 'Submit', confirm: 'Confirm', @@ -219,6 +242,7 @@ export const en = { by: 'by Treejer' }, email: 'Email', + invalidEmail: 'Your Email address is wrong', phoneNumber: 'Phone Number', settings: { title: 'Settings', @@ -236,5 +260,149 @@ export const en = { testTitle: 'Test Networks', mainTitle: 'Main Networks', restartApp: 'The application will be restart and automatically log you out' + }, + comingSoon: 'Coming Soon', + tempLangEnglish: 'Temporary setting language to English', + installApp: 'Install App', + canDownload: 'You can also download the app', + close: 'Close', + googlePlay: 'Google Play', + addToHomeScreen: { + tap: 'Tap', + homeScreen: 'then "Add to Home screen"' + }, + webcam: { + noCameraAccessible: 'No camera device accessible. Please connect your camera or try a different browser.', + permissionDenied: 'Permission denied. Please refresh and give camera permission.', + switchCamera: 'It is not possible to switch camera to different one because there is only one video device accessible.', + canvas: 'Canvas is not supported.' + }, + offlineTreeSubmittingNotSupported: 'Offline tree submission is not supported on web', + checkNetwork: 'Please check your network', + backToProfile: 'Back to profile', + rotate: 'Please rotate your phone', + forceUpdate: { + versionAvailable: 'New version is now available', + updateContinue: 'Please update and then keep continue...', + download: 'Download New Version' + }, + organization: { + invited: 'You invited to this organization:', + accept: 'Accept', + reject: 'Reject' + }, + gps: { + title: 'GPS', + message: 'If you want plant a tree you should turn on your GPS' + }, + inValidImage: { + title: 'Image is not valid', + message: "You can't upload this image because you didn't take this photo, or your GPS was off when you were taking that photo with the Camera.", + hasNoLocation: "This image doesn't have location metadata please go to your camera settings and allow location permission. \nIf you still have trouble you can try to upload photo from gallery", + longDistance: "You can't upload this image because distance between your location and image are too far." + }, + checkPermission: { + permissions: { + location: 'Location', + camera: 'Camera', + media: 'Media', + GPS: 'GPS' + }, + error: { + deviceNotFound: 'Camera Device Not Found \n ({{message}})', + siteSettings: 'Go to site settings', + '1': 'Please allow location permission for this site in your browser site settings', + '2': '{{message}}', + '3': "we could'nt access to Geolocation at this time \n({{message}})", + turnOnGPS: 'First you need to turn on your GPS', + cantSupportGop: 'This devices can"t support geolocation', + GPS: { + '1Title': 'Grant location permission', + '3Title': 'Geolocation information', + '5Title': 'Location permission is not satisfied', + '1': 'First you need to grant location permission. \n({{message}})', + '2': "We can't access to GPS yet, please wait...", + '3': 'Geolocation information was not obtained. \n({{message}})', + '5': 'For plant a tree you need to turn on your GPS. \n({{message}})' + }, + unknownError: 'Unknown error' + }, + enabled: 'Enabled', + turnOn: 'Turn ON!', + grantNow: 'Grant Now!', + toBeSure: 'We need to be sure, these permissions are granted.', + granted: 'Granted', + blocked: 'Blocked', + checking: 'Checking...', + wrong: "What's wrong?", + checkingTitle: 'We are checking permissions to continue...', + cantProceed: "We can't proceed", + cantProceedDesc: 'To plant a tree and nursery or upload a tree we need location, camera, and media permissions to acuurateyour activities and detect fraud.' + }, + map: { + newTree: { + errTitle: 'You are not near to the location of your selected photo', + errMessage: 'This location you are submitting must be near the selected photo location' + }, + updateSingleTree: { + errTitle: 'The selected photo location is not match with the last submitted location', + errMessage: 'The location of the selected photo is not near to the submitted location of this {{plantType}}' + } + }, + tree: 'tree', + nursery: 'nursery', + magicWallet: { + title: 'Magic Wallet', + daiBalance: 'DAI Balance:' + }, + dai: 'DAI', + transfer: { + info: { + title: 'Plant and Update to earn DAI', + desc: "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book" + }, + redeem: 'Reedem from Treejer', + treejerDescription: 'Withdrawable blocked DAI on Treejer Protocol', + stablecoinDescription: 'Withdrawable DAI in Magic wallet', + withdrawHistory: 'Withdraw History', + date: 'Date', + txHash: 'Tx Hash', + id: '#', + fee: 'Fee', + form: { + from: 'From', + to: 'To', + amount: 'Amount', + max: 'Max', + paste: 'Paste', + toHolder: 'Recipient Address', + amountHolder: 'DAI Amount', + transfer: 'Transfer', + history: 'History', + confirm: { + title: 'Transaction Details', + alert: 'By clicking confirm you have no way back, double check the Recipient Address and lorem ipsum', + cancel: 'Cancel', + confirm: 'Confirm' + } + }, + success: { + title: 'Transaction succeed' + }, + formError: { + length42: 'Recipient Address should be bigger than 41', + length60: 'Recipient Address should be lower than 61', + biggerThanDai: 'DAI Amount should be lower than your DAI balance', + lowerThanZero: 'DAI Amount should be bigger than 0', + required: '{{field}} field is required', + shouldBeNumber: 'DAI Amount should be number', + magicWallet: "You can't transfer DAI to your magic wallet, please try another one" + }, + error: { + contractsFailed: 'Get dai and ether balance failed', + title: 'An error occurred', + fee: "you can't submit this transaction", + INVALID_ARGUMENT: 'Recipient Address is invalid' + } } }; \ No newline at end of file From e9686501d45603aa08ce19ce66c141fe6cd63e3c Mon Sep 17 00:00:00 2001 From: Amir Habibzadeh Date: Sat, 17 Sep 2022 23:24:29 +0300 Subject: [PATCH 08/11] New translations en.ts (Spanish) --- src/localization/es.ts | 180 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 174 insertions(+), 6 deletions(-) diff --git a/src/localization/es.ts b/src/localization/es.ts index 7d6afd57..e837c5b1 100644 --- a/src/localization/es.ts +++ b/src/localization/es.ts @@ -15,17 +15,25 @@ export const en = { noOfflineArea: 'No offline area found', addArea: 'Add Area', viewAll: 'View All', - download: 'Download' + download: 'Download', + notSupported: 'Offline map is not available on web', + downloadApplication: 'Download Ranger mobile application' }, getVerified: 'Get Verified', + joiningOrganization: 'You are joining in organization:', + joiningReferrer: 'You are referred by:', + joinAndGetVerified: 'Join & Get Verified', help: 'Help', logout: 'Log Out', verified: 'Verified', notVerified: 'Not Verified', + pending: 'Pending', + update: 'Update', invite: { title: 'Invite', org: 'Organization', - friend: 'Friend' + friend: 'Friend', + copied: 'Invite link copied to your clipboard' }, treeInventory: { title: 'Tree Inventory', @@ -57,6 +65,7 @@ export const en = { OfflineUpdate: 'Updated Offline' }, cannotUpdateTree: "TreeSpec is empty, You can't update tree, please contact support.", + cannotSubmitTree: "TreeSpec is empty, You can't plant tree, please contact support.", transactionFailed: { title: 'Transaction Failed!', tryAgain: 'Please try again, contact customer support if needed' @@ -68,13 +77,14 @@ export const en = { cancel: 'Cancel', error: 'Error', plantFirstTree: 'Plant your first tree', + plantTree: 'Plant tree', noOfflineTree: 'No offline {{type}} tree', offlineTrees: 'Offline {{type}} Trees', planted: 'planted', Planted: 'Planted', updated: 'updated', Updated: 'Updated', - noAssigned: 'There is no assigned Tree', + noAssignedOrVerified: 'There is no assigned or verified Tree', submittedTrees: 'Submitted Trees', notSubmittedTrees: 'Not Verified Trees', noPlantedTrees: "You haven't planted any trees yet", @@ -82,6 +92,7 @@ export const en = { addWalletAddress: 'Add wallet address', done: 'Done!', addPhone: 'Add phone', + verifyPhone: 'Verify phone', addName: 'Add name', submitLocation: 'Submit location', openMap: 'Open Map', @@ -94,7 +105,16 @@ export const en = { physicalLicense: 'ID card, passport or driving license', errors: { verificationCode: 'Code is wrong', - phoneNumber: 'Invalid phone number' + phoneNumber: 'Invalid phone number', + 0: 'No Internet Connection!', + INTERNET: 'No Internet Connection!', + 400: 'Bad Request', + 401: 'Unauthorized', + 403: 'Forbidden', + 404: 'Not Found', + 405: 'Method Not Allowed', + 500: 'Internal Server Error', + error: 'Error!' }, 'verified!': 'Verified!', greenBlock: { @@ -104,7 +124,8 @@ export const en = { } }, supplyCapReached: 'You reached your supply cap limit. Please contact customer support to plant more trees!', - openCamera: 'Open Camera', + openCamera: 'Camera', + openGallery: 'Gallery', submitTree: { journeyIssue: 'Photo, Location', treeSpecEmpty: "TreeSpec is empty, You can't update tree, please contact support.", @@ -199,7 +220,8 @@ export const en = { }, netInfo: { error: 'Network Error!', - details: 'You have no internet connection! \nYou can continue planting trees when you are offline' + details: 'You have no internet connection! \nYou can continue planting trees when you are offline', + detailsWeb: 'You have no internet connection! \nYou can continue planting trees when you are online' }, loginFailed: { title: 'Login Failed', @@ -211,6 +233,7 @@ export const en = { camera: 'Camera permission is required' }, ok: 'OK', + retry: 'Retry', next: 'NEXT', submit: 'Submit', confirm: 'Confirm', @@ -219,6 +242,7 @@ export const en = { by: 'by Treejer' }, email: 'Email', + invalidEmail: 'Your Email address is wrong', phoneNumber: 'Phone Number', settings: { title: 'Settings', @@ -236,5 +260,149 @@ export const en = { testTitle: 'Test Networks', mainTitle: 'Main Networks', restartApp: 'The application will be restart and automatically log you out' + }, + comingSoon: 'Coming Soon', + tempLangEnglish: 'Temporary setting language to English', + installApp: 'Install App', + canDownload: 'You can also download the app', + close: 'Close', + googlePlay: 'Google Play', + addToHomeScreen: { + tap: 'Tap', + homeScreen: 'then "Add to Home screen"' + }, + webcam: { + noCameraAccessible: 'No camera device accessible. Please connect your camera or try a different browser.', + permissionDenied: 'Permission denied. Please refresh and give camera permission.', + switchCamera: 'It is not possible to switch camera to different one because there is only one video device accessible.', + canvas: 'Canvas is not supported.' + }, + offlineTreeSubmittingNotSupported: 'Offline tree submission is not supported on web', + checkNetwork: 'Please check your network', + backToProfile: 'Back to profile', + rotate: 'Please rotate your phone', + forceUpdate: { + versionAvailable: 'New version is now available', + updateContinue: 'Please update and then keep continue...', + download: 'Download New Version' + }, + organization: { + invited: 'You invited to this organization:', + accept: 'Accept', + reject: 'Reject' + }, + gps: { + title: 'GPS', + message: 'If you want plant a tree you should turn on your GPS' + }, + inValidImage: { + title: 'Image is not valid', + message: "You can't upload this image because you didn't take this photo, or your GPS was off when you were taking that photo with the Camera.", + hasNoLocation: "This image doesn't have location metadata please go to your camera settings and allow location permission. \nIf you still have trouble you can try to upload photo from gallery", + longDistance: "You can't upload this image because distance between your location and image are too far." + }, + checkPermission: { + permissions: { + location: 'Location', + camera: 'Camera', + media: 'Media', + GPS: 'GPS' + }, + error: { + deviceNotFound: 'Camera Device Not Found \n ({{message}})', + siteSettings: 'Go to site settings', + '1': 'Please allow location permission for this site in your browser site settings', + '2': '{{message}}', + '3': "we could'nt access to Geolocation at this time \n({{message}})", + turnOnGPS: 'First you need to turn on your GPS', + cantSupportGop: 'This devices can"t support geolocation', + GPS: { + '1Title': 'Grant location permission', + '3Title': 'Geolocation information', + '5Title': 'Location permission is not satisfied', + '1': 'First you need to grant location permission. \n({{message}})', + '2': "We can't access to GPS yet, please wait...", + '3': 'Geolocation information was not obtained. \n({{message}})', + '5': 'For plant a tree you need to turn on your GPS. \n({{message}})' + }, + unknownError: 'Unknown error' + }, + enabled: 'Enabled', + turnOn: 'Turn ON!', + grantNow: 'Grant Now!', + toBeSure: 'We need to be sure, these permissions are granted.', + granted: 'Granted', + blocked: 'Blocked', + checking: 'Checking...', + wrong: "What's wrong?", + checkingTitle: 'We are checking permissions to continue...', + cantProceed: "We can't proceed", + cantProceedDesc: 'To plant a tree and nursery or upload a tree we need location, camera, and media permissions to acuurateyour activities and detect fraud.' + }, + map: { + newTree: { + errTitle: 'You are not near to the location of your selected photo', + errMessage: 'This location you are submitting must be near the selected photo location' + }, + updateSingleTree: { + errTitle: 'The selected photo location is not match with the last submitted location', + errMessage: 'The location of the selected photo is not near to the submitted location of this {{plantType}}' + } + }, + tree: 'tree', + nursery: 'nursery', + magicWallet: { + title: 'Magic Wallet', + daiBalance: 'DAI Balance:' + }, + dai: 'DAI', + transfer: { + info: { + title: 'Plant and Update to earn DAI', + desc: "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book" + }, + redeem: 'Reedem from Treejer', + treejerDescription: 'Withdrawable blocked DAI on Treejer Protocol', + stablecoinDescription: 'Withdrawable DAI in Magic wallet', + withdrawHistory: 'Withdraw History', + date: 'Date', + txHash: 'Tx Hash', + id: '#', + fee: 'Fee', + form: { + from: 'From', + to: 'To', + amount: 'Amount', + max: 'Max', + paste: 'Paste', + toHolder: 'Recipient Address', + amountHolder: 'DAI Amount', + transfer: 'Transfer', + history: 'History', + confirm: { + title: 'Transaction Details', + alert: 'By clicking confirm you have no way back, double check the Recipient Address and lorem ipsum', + cancel: 'Cancel', + confirm: 'Confirm' + } + }, + success: { + title: 'Transaction succeed' + }, + formError: { + length42: 'Recipient Address should be bigger than 41', + length60: 'Recipient Address should be lower than 61', + biggerThanDai: 'DAI Amount should be lower than your DAI balance', + lowerThanZero: 'DAI Amount should be bigger than 0', + required: '{{field}} field is required', + shouldBeNumber: 'DAI Amount should be number', + magicWallet: "You can't transfer DAI to your magic wallet, please try another one" + }, + error: { + contractsFailed: 'Get dai and ether balance failed', + title: 'An error occurred', + fee: "you can't submit this transaction", + INVALID_ARGUMENT: 'Recipient Address is invalid' + } } }; \ No newline at end of file From d815186b8932bd00cc6ba223f2df7449007614dd Mon Sep 17 00:00:00 2001 From: Amir Habibzadeh Date: Sat, 17 Sep 2022 23:24:30 +0300 Subject: [PATCH 09/11] New translations en.ts (Arabic) --- src/localization/ar.ts | 180 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 174 insertions(+), 6 deletions(-) diff --git a/src/localization/ar.ts b/src/localization/ar.ts index 7d6afd57..e837c5b1 100644 --- a/src/localization/ar.ts +++ b/src/localization/ar.ts @@ -15,17 +15,25 @@ export const en = { noOfflineArea: 'No offline area found', addArea: 'Add Area', viewAll: 'View All', - download: 'Download' + download: 'Download', + notSupported: 'Offline map is not available on web', + downloadApplication: 'Download Ranger mobile application' }, getVerified: 'Get Verified', + joiningOrganization: 'You are joining in organization:', + joiningReferrer: 'You are referred by:', + joinAndGetVerified: 'Join & Get Verified', help: 'Help', logout: 'Log Out', verified: 'Verified', notVerified: 'Not Verified', + pending: 'Pending', + update: 'Update', invite: { title: 'Invite', org: 'Organization', - friend: 'Friend' + friend: 'Friend', + copied: 'Invite link copied to your clipboard' }, treeInventory: { title: 'Tree Inventory', @@ -57,6 +65,7 @@ export const en = { OfflineUpdate: 'Updated Offline' }, cannotUpdateTree: "TreeSpec is empty, You can't update tree, please contact support.", + cannotSubmitTree: "TreeSpec is empty, You can't plant tree, please contact support.", transactionFailed: { title: 'Transaction Failed!', tryAgain: 'Please try again, contact customer support if needed' @@ -68,13 +77,14 @@ export const en = { cancel: 'Cancel', error: 'Error', plantFirstTree: 'Plant your first tree', + plantTree: 'Plant tree', noOfflineTree: 'No offline {{type}} tree', offlineTrees: 'Offline {{type}} Trees', planted: 'planted', Planted: 'Planted', updated: 'updated', Updated: 'Updated', - noAssigned: 'There is no assigned Tree', + noAssignedOrVerified: 'There is no assigned or verified Tree', submittedTrees: 'Submitted Trees', notSubmittedTrees: 'Not Verified Trees', noPlantedTrees: "You haven't planted any trees yet", @@ -82,6 +92,7 @@ export const en = { addWalletAddress: 'Add wallet address', done: 'Done!', addPhone: 'Add phone', + verifyPhone: 'Verify phone', addName: 'Add name', submitLocation: 'Submit location', openMap: 'Open Map', @@ -94,7 +105,16 @@ export const en = { physicalLicense: 'ID card, passport or driving license', errors: { verificationCode: 'Code is wrong', - phoneNumber: 'Invalid phone number' + phoneNumber: 'Invalid phone number', + 0: 'No Internet Connection!', + INTERNET: 'No Internet Connection!', + 400: 'Bad Request', + 401: 'Unauthorized', + 403: 'Forbidden', + 404: 'Not Found', + 405: 'Method Not Allowed', + 500: 'Internal Server Error', + error: 'Error!' }, 'verified!': 'Verified!', greenBlock: { @@ -104,7 +124,8 @@ export const en = { } }, supplyCapReached: 'You reached your supply cap limit. Please contact customer support to plant more trees!', - openCamera: 'Open Camera', + openCamera: 'Camera', + openGallery: 'Gallery', submitTree: { journeyIssue: 'Photo, Location', treeSpecEmpty: "TreeSpec is empty, You can't update tree, please contact support.", @@ -199,7 +220,8 @@ export const en = { }, netInfo: { error: 'Network Error!', - details: 'You have no internet connection! \nYou can continue planting trees when you are offline' + details: 'You have no internet connection! \nYou can continue planting trees when you are offline', + detailsWeb: 'You have no internet connection! \nYou can continue planting trees when you are online' }, loginFailed: { title: 'Login Failed', @@ -211,6 +233,7 @@ export const en = { camera: 'Camera permission is required' }, ok: 'OK', + retry: 'Retry', next: 'NEXT', submit: 'Submit', confirm: 'Confirm', @@ -219,6 +242,7 @@ export const en = { by: 'by Treejer' }, email: 'Email', + invalidEmail: 'Your Email address is wrong', phoneNumber: 'Phone Number', settings: { title: 'Settings', @@ -236,5 +260,149 @@ export const en = { testTitle: 'Test Networks', mainTitle: 'Main Networks', restartApp: 'The application will be restart and automatically log you out' + }, + comingSoon: 'Coming Soon', + tempLangEnglish: 'Temporary setting language to English', + installApp: 'Install App', + canDownload: 'You can also download the app', + close: 'Close', + googlePlay: 'Google Play', + addToHomeScreen: { + tap: 'Tap', + homeScreen: 'then "Add to Home screen"' + }, + webcam: { + noCameraAccessible: 'No camera device accessible. Please connect your camera or try a different browser.', + permissionDenied: 'Permission denied. Please refresh and give camera permission.', + switchCamera: 'It is not possible to switch camera to different one because there is only one video device accessible.', + canvas: 'Canvas is not supported.' + }, + offlineTreeSubmittingNotSupported: 'Offline tree submission is not supported on web', + checkNetwork: 'Please check your network', + backToProfile: 'Back to profile', + rotate: 'Please rotate your phone', + forceUpdate: { + versionAvailable: 'New version is now available', + updateContinue: 'Please update and then keep continue...', + download: 'Download New Version' + }, + organization: { + invited: 'You invited to this organization:', + accept: 'Accept', + reject: 'Reject' + }, + gps: { + title: 'GPS', + message: 'If you want plant a tree you should turn on your GPS' + }, + inValidImage: { + title: 'Image is not valid', + message: "You can't upload this image because you didn't take this photo, or your GPS was off when you were taking that photo with the Camera.", + hasNoLocation: "This image doesn't have location metadata please go to your camera settings and allow location permission. \nIf you still have trouble you can try to upload photo from gallery", + longDistance: "You can't upload this image because distance between your location and image are too far." + }, + checkPermission: { + permissions: { + location: 'Location', + camera: 'Camera', + media: 'Media', + GPS: 'GPS' + }, + error: { + deviceNotFound: 'Camera Device Not Found \n ({{message}})', + siteSettings: 'Go to site settings', + '1': 'Please allow location permission for this site in your browser site settings', + '2': '{{message}}', + '3': "we could'nt access to Geolocation at this time \n({{message}})", + turnOnGPS: 'First you need to turn on your GPS', + cantSupportGop: 'This devices can"t support geolocation', + GPS: { + '1Title': 'Grant location permission', + '3Title': 'Geolocation information', + '5Title': 'Location permission is not satisfied', + '1': 'First you need to grant location permission. \n({{message}})', + '2': "We can't access to GPS yet, please wait...", + '3': 'Geolocation information was not obtained. \n({{message}})', + '5': 'For plant a tree you need to turn on your GPS. \n({{message}})' + }, + unknownError: 'Unknown error' + }, + enabled: 'Enabled', + turnOn: 'Turn ON!', + grantNow: 'Grant Now!', + toBeSure: 'We need to be sure, these permissions are granted.', + granted: 'Granted', + blocked: 'Blocked', + checking: 'Checking...', + wrong: "What's wrong?", + checkingTitle: 'We are checking permissions to continue...', + cantProceed: "We can't proceed", + cantProceedDesc: 'To plant a tree and nursery or upload a tree we need location, camera, and media permissions to acuurateyour activities and detect fraud.' + }, + map: { + newTree: { + errTitle: 'You are not near to the location of your selected photo', + errMessage: 'This location you are submitting must be near the selected photo location' + }, + updateSingleTree: { + errTitle: 'The selected photo location is not match with the last submitted location', + errMessage: 'The location of the selected photo is not near to the submitted location of this {{plantType}}' + } + }, + tree: 'tree', + nursery: 'nursery', + magicWallet: { + title: 'Magic Wallet', + daiBalance: 'DAI Balance:' + }, + dai: 'DAI', + transfer: { + info: { + title: 'Plant and Update to earn DAI', + desc: "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book" + }, + redeem: 'Reedem from Treejer', + treejerDescription: 'Withdrawable blocked DAI on Treejer Protocol', + stablecoinDescription: 'Withdrawable DAI in Magic wallet', + withdrawHistory: 'Withdraw History', + date: 'Date', + txHash: 'Tx Hash', + id: '#', + fee: 'Fee', + form: { + from: 'From', + to: 'To', + amount: 'Amount', + max: 'Max', + paste: 'Paste', + toHolder: 'Recipient Address', + amountHolder: 'DAI Amount', + transfer: 'Transfer', + history: 'History', + confirm: { + title: 'Transaction Details', + alert: 'By clicking confirm you have no way back, double check the Recipient Address and lorem ipsum', + cancel: 'Cancel', + confirm: 'Confirm' + } + }, + success: { + title: 'Transaction succeed' + }, + formError: { + length42: 'Recipient Address should be bigger than 41', + length60: 'Recipient Address should be lower than 61', + biggerThanDai: 'DAI Amount should be lower than your DAI balance', + lowerThanZero: 'DAI Amount should be bigger than 0', + required: '{{field}} field is required', + shouldBeNumber: 'DAI Amount should be number', + magicWallet: "You can't transfer DAI to your magic wallet, please try another one" + }, + error: { + contractsFailed: 'Get dai and ether balance failed', + title: 'An error occurred', + fee: "you can't submit this transaction", + INVALID_ARGUMENT: 'Recipient Address is invalid' + } } }; \ No newline at end of file From 9defe9d3058a8ae30cb2a595828083a866aef7d2 Mon Sep 17 00:00:00 2001 From: Amir Habibzadeh Date: Sat, 17 Sep 2022 23:24:31 +0300 Subject: [PATCH 10/11] New translations en.ts (Turkish) --- src/localization/tr.ts | 180 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 174 insertions(+), 6 deletions(-) diff --git a/src/localization/tr.ts b/src/localization/tr.ts index 7d6afd57..e837c5b1 100644 --- a/src/localization/tr.ts +++ b/src/localization/tr.ts @@ -15,17 +15,25 @@ export const en = { noOfflineArea: 'No offline area found', addArea: 'Add Area', viewAll: 'View All', - download: 'Download' + download: 'Download', + notSupported: 'Offline map is not available on web', + downloadApplication: 'Download Ranger mobile application' }, getVerified: 'Get Verified', + joiningOrganization: 'You are joining in organization:', + joiningReferrer: 'You are referred by:', + joinAndGetVerified: 'Join & Get Verified', help: 'Help', logout: 'Log Out', verified: 'Verified', notVerified: 'Not Verified', + pending: 'Pending', + update: 'Update', invite: { title: 'Invite', org: 'Organization', - friend: 'Friend' + friend: 'Friend', + copied: 'Invite link copied to your clipboard' }, treeInventory: { title: 'Tree Inventory', @@ -57,6 +65,7 @@ export const en = { OfflineUpdate: 'Updated Offline' }, cannotUpdateTree: "TreeSpec is empty, You can't update tree, please contact support.", + cannotSubmitTree: "TreeSpec is empty, You can't plant tree, please contact support.", transactionFailed: { title: 'Transaction Failed!', tryAgain: 'Please try again, contact customer support if needed' @@ -68,13 +77,14 @@ export const en = { cancel: 'Cancel', error: 'Error', plantFirstTree: 'Plant your first tree', + plantTree: 'Plant tree', noOfflineTree: 'No offline {{type}} tree', offlineTrees: 'Offline {{type}} Trees', planted: 'planted', Planted: 'Planted', updated: 'updated', Updated: 'Updated', - noAssigned: 'There is no assigned Tree', + noAssignedOrVerified: 'There is no assigned or verified Tree', submittedTrees: 'Submitted Trees', notSubmittedTrees: 'Not Verified Trees', noPlantedTrees: "You haven't planted any trees yet", @@ -82,6 +92,7 @@ export const en = { addWalletAddress: 'Add wallet address', done: 'Done!', addPhone: 'Add phone', + verifyPhone: 'Verify phone', addName: 'Add name', submitLocation: 'Submit location', openMap: 'Open Map', @@ -94,7 +105,16 @@ export const en = { physicalLicense: 'ID card, passport or driving license', errors: { verificationCode: 'Code is wrong', - phoneNumber: 'Invalid phone number' + phoneNumber: 'Invalid phone number', + 0: 'No Internet Connection!', + INTERNET: 'No Internet Connection!', + 400: 'Bad Request', + 401: 'Unauthorized', + 403: 'Forbidden', + 404: 'Not Found', + 405: 'Method Not Allowed', + 500: 'Internal Server Error', + error: 'Error!' }, 'verified!': 'Verified!', greenBlock: { @@ -104,7 +124,8 @@ export const en = { } }, supplyCapReached: 'You reached your supply cap limit. Please contact customer support to plant more trees!', - openCamera: 'Open Camera', + openCamera: 'Camera', + openGallery: 'Gallery', submitTree: { journeyIssue: 'Photo, Location', treeSpecEmpty: "TreeSpec is empty, You can't update tree, please contact support.", @@ -199,7 +220,8 @@ export const en = { }, netInfo: { error: 'Network Error!', - details: 'You have no internet connection! \nYou can continue planting trees when you are offline' + details: 'You have no internet connection! \nYou can continue planting trees when you are offline', + detailsWeb: 'You have no internet connection! \nYou can continue planting trees when you are online' }, loginFailed: { title: 'Login Failed', @@ -211,6 +233,7 @@ export const en = { camera: 'Camera permission is required' }, ok: 'OK', + retry: 'Retry', next: 'NEXT', submit: 'Submit', confirm: 'Confirm', @@ -219,6 +242,7 @@ export const en = { by: 'by Treejer' }, email: 'Email', + invalidEmail: 'Your Email address is wrong', phoneNumber: 'Phone Number', settings: { title: 'Settings', @@ -236,5 +260,149 @@ export const en = { testTitle: 'Test Networks', mainTitle: 'Main Networks', restartApp: 'The application will be restart and automatically log you out' + }, + comingSoon: 'Coming Soon', + tempLangEnglish: 'Temporary setting language to English', + installApp: 'Install App', + canDownload: 'You can also download the app', + close: 'Close', + googlePlay: 'Google Play', + addToHomeScreen: { + tap: 'Tap', + homeScreen: 'then "Add to Home screen"' + }, + webcam: { + noCameraAccessible: 'No camera device accessible. Please connect your camera or try a different browser.', + permissionDenied: 'Permission denied. Please refresh and give camera permission.', + switchCamera: 'It is not possible to switch camera to different one because there is only one video device accessible.', + canvas: 'Canvas is not supported.' + }, + offlineTreeSubmittingNotSupported: 'Offline tree submission is not supported on web', + checkNetwork: 'Please check your network', + backToProfile: 'Back to profile', + rotate: 'Please rotate your phone', + forceUpdate: { + versionAvailable: 'New version is now available', + updateContinue: 'Please update and then keep continue...', + download: 'Download New Version' + }, + organization: { + invited: 'You invited to this organization:', + accept: 'Accept', + reject: 'Reject' + }, + gps: { + title: 'GPS', + message: 'If you want plant a tree you should turn on your GPS' + }, + inValidImage: { + title: 'Image is not valid', + message: "You can't upload this image because you didn't take this photo, or your GPS was off when you were taking that photo with the Camera.", + hasNoLocation: "This image doesn't have location metadata please go to your camera settings and allow location permission. \nIf you still have trouble you can try to upload photo from gallery", + longDistance: "You can't upload this image because distance between your location and image are too far." + }, + checkPermission: { + permissions: { + location: 'Location', + camera: 'Camera', + media: 'Media', + GPS: 'GPS' + }, + error: { + deviceNotFound: 'Camera Device Not Found \n ({{message}})', + siteSettings: 'Go to site settings', + '1': 'Please allow location permission for this site in your browser site settings', + '2': '{{message}}', + '3': "we could'nt access to Geolocation at this time \n({{message}})", + turnOnGPS: 'First you need to turn on your GPS', + cantSupportGop: 'This devices can"t support geolocation', + GPS: { + '1Title': 'Grant location permission', + '3Title': 'Geolocation information', + '5Title': 'Location permission is not satisfied', + '1': 'First you need to grant location permission. \n({{message}})', + '2': "We can't access to GPS yet, please wait...", + '3': 'Geolocation information was not obtained. \n({{message}})', + '5': 'For plant a tree you need to turn on your GPS. \n({{message}})' + }, + unknownError: 'Unknown error' + }, + enabled: 'Enabled', + turnOn: 'Turn ON!', + grantNow: 'Grant Now!', + toBeSure: 'We need to be sure, these permissions are granted.', + granted: 'Granted', + blocked: 'Blocked', + checking: 'Checking...', + wrong: "What's wrong?", + checkingTitle: 'We are checking permissions to continue...', + cantProceed: "We can't proceed", + cantProceedDesc: 'To plant a tree and nursery or upload a tree we need location, camera, and media permissions to acuurateyour activities and detect fraud.' + }, + map: { + newTree: { + errTitle: 'You are not near to the location of your selected photo', + errMessage: 'This location you are submitting must be near the selected photo location' + }, + updateSingleTree: { + errTitle: 'The selected photo location is not match with the last submitted location', + errMessage: 'The location of the selected photo is not near to the submitted location of this {{plantType}}' + } + }, + tree: 'tree', + nursery: 'nursery', + magicWallet: { + title: 'Magic Wallet', + daiBalance: 'DAI Balance:' + }, + dai: 'DAI', + transfer: { + info: { + title: 'Plant and Update to earn DAI', + desc: "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book" + }, + redeem: 'Reedem from Treejer', + treejerDescription: 'Withdrawable blocked DAI on Treejer Protocol', + stablecoinDescription: 'Withdrawable DAI in Magic wallet', + withdrawHistory: 'Withdraw History', + date: 'Date', + txHash: 'Tx Hash', + id: '#', + fee: 'Fee', + form: { + from: 'From', + to: 'To', + amount: 'Amount', + max: 'Max', + paste: 'Paste', + toHolder: 'Recipient Address', + amountHolder: 'DAI Amount', + transfer: 'Transfer', + history: 'History', + confirm: { + title: 'Transaction Details', + alert: 'By clicking confirm you have no way back, double check the Recipient Address and lorem ipsum', + cancel: 'Cancel', + confirm: 'Confirm' + } + }, + success: { + title: 'Transaction succeed' + }, + formError: { + length42: 'Recipient Address should be bigger than 41', + length60: 'Recipient Address should be lower than 61', + biggerThanDai: 'DAI Amount should be lower than your DAI balance', + lowerThanZero: 'DAI Amount should be bigger than 0', + required: '{{field}} field is required', + shouldBeNumber: 'DAI Amount should be number', + magicWallet: "You can't transfer DAI to your magic wallet, please try another one" + }, + error: { + contractsFailed: 'Get dai and ether balance failed', + title: 'An error occurred', + fee: "you can't submit this transaction", + INVALID_ARGUMENT: 'Recipient Address is invalid' + } } }; \ No newline at end of file From 2e4e96f7f2a6c0e7059a353b1e8073a54defc539 Mon Sep 17 00:00:00 2001 From: Amir Habibzadeh Date: Sat, 17 Sep 2022 23:24:32 +0300 Subject: [PATCH 11/11] New translations en.ts (Persian) --- src/localization/fa.ts | 180 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 174 insertions(+), 6 deletions(-) diff --git a/src/localization/fa.ts b/src/localization/fa.ts index b940da51..ac0c47fd 100644 --- a/src/localization/fa.ts +++ b/src/localization/fa.ts @@ -15,17 +15,25 @@ export const en = { noOfflineArea: 'No offline area found', addArea: 'Add Area', viewAll: 'View All', - download: 'Download' + download: 'Download', + notSupported: 'Offline map is not available on web', + downloadApplication: 'Download Ranger mobile application' }, getVerified: 'Get Verified', + joiningOrganization: 'You are joining in organization:', + joiningReferrer: 'You are referred by:', + joinAndGetVerified: 'Join & Get Verified', help: 'Help', logout: 'Log Out', verified: 'Verified', notVerified: 'Not Verified', + pending: 'Pending', + update: 'Update', invite: { title: 'Invite', org: 'Organization', - friend: 'Friend' + friend: 'Friend', + copied: 'Invite link copied to your clipboard' }, treeInventory: { title: 'Tree Inventory', @@ -57,6 +65,7 @@ export const en = { OfflineUpdate: 'Updated Offline' }, cannotUpdateTree: "TreeSpec is empty, You can't update tree, please contact support.", + cannotSubmitTree: "TreeSpec is empty, You can't plant tree, please contact support.", transactionFailed: { title: 'Transaction Failed!', tryAgain: 'Please try again, contact customer support if needed' @@ -68,13 +77,14 @@ export const en = { cancel: 'Cancel', error: 'Error', plantFirstTree: 'Plant your first tree', + plantTree: 'Plant tree', noOfflineTree: 'No offline {{type}} tree', offlineTrees: 'Offline {{type}} Trees', planted: 'planted', Planted: 'Planted', updated: 'updated', Updated: 'Updated', - noAssigned: 'There is no assigned Tree', + noAssignedOrVerified: 'There is no assigned or verified Tree', submittedTrees: 'Submitted Trees', notSubmittedTrees: 'Not Verified Trees', noPlantedTrees: "You haven't planted any trees yet", @@ -82,6 +92,7 @@ export const en = { addWalletAddress: 'Add wallet address', done: 'Done!', addPhone: 'Add phone', + verifyPhone: 'Verify phone', addName: 'Add name', submitLocation: 'Submit location', openMap: 'Open Map', @@ -94,7 +105,16 @@ export const en = { physicalLicense: 'ID card, passport or driving license', errors: { verificationCode: 'Code is wrong', - phoneNumber: 'Invalid phone number' + phoneNumber: 'Invalid phone number', + 0: 'No Internet Connection!', + INTERNET: 'No Internet Connection!', + 400: 'Bad Request', + 401: 'Unauthorized', + 403: 'Forbidden', + 404: 'Not Found', + 405: 'Method Not Allowed', + 500: 'Internal Server Error', + error: 'Error!' }, 'verified!': 'Verified!', greenBlock: { @@ -104,7 +124,8 @@ export const en = { } }, supplyCapReached: 'You reached your supply cap limit. Please contact customer support to plant more trees!', - openCamera: 'Open Camera', + openCamera: 'Camera', + openGallery: 'Gallery', submitTree: { journeyIssue: 'Photo, Location', treeSpecEmpty: "TreeSpec is empty, You can't update tree, please contact support.", @@ -199,7 +220,8 @@ export const en = { }, netInfo: { error: 'Network Error!', - details: 'You have no internet connection! \nYou can continue planting trees when you are offline' + details: 'You have no internet connection! \nYou can continue planting trees when you are offline', + detailsWeb: 'You have no internet connection! \nYou can continue planting trees when you are online' }, loginFailed: { title: 'Login Failed', @@ -211,6 +233,7 @@ export const en = { camera: 'Camera permission is required' }, ok: 'OK', + retry: 'Retry', next: 'NEXT', submit: 'Submit', confirm: 'Confirm', @@ -219,6 +242,7 @@ export const en = { by: 'by Treejer' }, email: 'Email', + invalidEmail: 'Your Email address is wrong', phoneNumber: 'Phone Number', settings: { title: 'Settings', @@ -236,5 +260,149 @@ export const en = { testTitle: 'Test Networks', mainTitle: 'Main Networks', restartApp: 'The application will be restart and automatically log you out' + }, + comingSoon: 'Coming Soon', + tempLangEnglish: 'Temporary setting language to English', + installApp: 'Install App', + canDownload: 'You can also download the app', + close: 'Close', + googlePlay: 'Google Play', + addToHomeScreen: { + tap: 'Tap', + homeScreen: 'then "Add to Home screen"' + }, + webcam: { + noCameraAccessible: 'No camera device accessible. Please connect your camera or try a different browser.', + permissionDenied: 'Permission denied. Please refresh and give camera permission.', + switchCamera: 'It is not possible to switch camera to different one because there is only one video device accessible.', + canvas: 'Canvas is not supported.' + }, + offlineTreeSubmittingNotSupported: 'Offline tree submission is not supported on web', + checkNetwork: 'Please check your network', + backToProfile: 'Back to profile', + rotate: 'Please rotate your phone', + forceUpdate: { + versionAvailable: 'New version is now available', + updateContinue: 'Please update and then keep continue...', + download: 'Download New Version' + }, + organization: { + invited: 'You invited to this organization:', + accept: 'Accept', + reject: 'Reject' + }, + gps: { + title: 'GPS', + message: 'If you want plant a tree you should turn on your GPS' + }, + inValidImage: { + title: 'Image is not valid', + message: "You can't upload this image because you didn't take this photo, or your GPS was off when you were taking that photo with the Camera.", + hasNoLocation: "This image doesn't have location metadata please go to your camera settings and allow location permission. \nIf you still have trouble you can try to upload photo from gallery", + longDistance: "You can't upload this image because distance between your location and image are too far." + }, + checkPermission: { + permissions: { + location: 'Location', + camera: 'Camera', + media: 'Media', + GPS: 'GPS' + }, + error: { + deviceNotFound: 'Camera Device Not Found \n ({{message}})', + siteSettings: 'Go to site settings', + '1': 'Please allow location permission for this site in your browser site settings', + '2': '{{message}}', + '3': "we could'nt access to Geolocation at this time \n({{message}})", + turnOnGPS: 'First you need to turn on your GPS', + cantSupportGop: 'This devices can"t support geolocation', + GPS: { + '1Title': 'Grant location permission', + '3Title': 'Geolocation information', + '5Title': 'Location permission is not satisfied', + '1': 'First you need to grant location permission. \n({{message}})', + '2': "We can't access to GPS yet, please wait...", + '3': 'Geolocation information was not obtained. \n({{message}})', + '5': 'For plant a tree you need to turn on your GPS. \n({{message}})' + }, + unknownError: 'Unknown error' + }, + enabled: 'Enabled', + turnOn: 'Turn ON!', + grantNow: 'Grant Now!', + toBeSure: 'We need to be sure, these permissions are granted.', + granted: 'Granted', + blocked: 'Blocked', + checking: 'Checking...', + wrong: "What's wrong?", + checkingTitle: 'We are checking permissions to continue...', + cantProceed: "We can't proceed", + cantProceedDesc: 'To plant a tree and nursery or upload a tree we need location, camera, and media permissions to acuurateyour activities and detect fraud.' + }, + map: { + newTree: { + errTitle: 'You are not near to the location of your selected photo', + errMessage: 'This location you are submitting must be near the selected photo location' + }, + updateSingleTree: { + errTitle: 'The selected photo location is not match with the last submitted location', + errMessage: 'The location of the selected photo is not near to the submitted location of this {{plantType}}' + } + }, + tree: 'tree', + nursery: 'nursery', + magicWallet: { + title: 'Magic Wallet', + daiBalance: 'DAI Balance:' + }, + dai: 'DAI', + transfer: { + info: { + title: 'Plant and Update to earn DAI', + desc: "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book" + }, + redeem: 'Reedem from Treejer', + treejerDescription: 'Withdrawable blocked DAI on Treejer Protocol', + stablecoinDescription: 'Withdrawable DAI in Magic wallet', + withdrawHistory: 'Withdraw History', + date: 'Date', + txHash: 'Tx Hash', + id: '#', + fee: 'Fee', + form: { + from: 'From', + to: 'To', + amount: 'Amount', + max: 'Max', + paste: 'Paste', + toHolder: 'Recipient Address', + amountHolder: 'DAI Amount', + transfer: 'Transfer', + history: 'History', + confirm: { + title: 'Transaction Details', + alert: 'By clicking confirm you have no way back, double check the Recipient Address and lorem ipsum', + cancel: 'Cancel', + confirm: 'Confirm' + } + }, + success: { + title: 'Transaction succeed' + }, + formError: { + length42: 'Recipient Address should be bigger than 41', + length60: 'Recipient Address should be lower than 61', + biggerThanDai: 'DAI Amount should be lower than your DAI balance', + lowerThanZero: 'DAI Amount should be bigger than 0', + required: '{{field}} field is required', + shouldBeNumber: 'DAI Amount should be number', + magicWallet: "You can't transfer DAI to your magic wallet, please try another one" + }, + error: { + contractsFailed: 'Get dai and ether balance failed', + title: 'An error occurred', + fee: "you can't submit this transaction", + INVALID_ARGUMENT: 'Recipient Address is invalid' + } } }; \ No newline at end of file