From 8425b186be1e4e2349067336aeb7396c8a8fe337 Mon Sep 17 00:00:00 2001 From: Distopico Vegan Date: Thu, 22 Nov 2018 00:49:18 -0500 Subject: [PATCH] fix small lint issues --- .../org/dystopia/email/FragmentSetup.java | 6 +- app/src/main/res/values-he/strings.xml | 269 ------------------ app/src/main/res/values-iw/strings.xml | 67 ++--- 3 files changed, 38 insertions(+), 304 deletions(-) delete mode 100644 app/src/main/res/values-he/strings.xml diff --git a/app/src/main/java/org/dystopia/email/FragmentSetup.java b/app/src/main/java/org/dystopia/email/FragmentSetup.java index fe87d290..eb26af10 100644 --- a/app/src/main/java/org/dystopia/email/FragmentSetup.java +++ b/app/src/main/java/org/dystopia/email/FragmentSetup.java @@ -65,6 +65,8 @@ import java.text.SimpleDateFormat; import java.util.Arrays; import java.util.Date; import java.util.List; +import java.util.Locale; + import org.json.JSONArray; import org.json.JSONObject; @@ -529,8 +531,8 @@ public class FragmentSetup extends FragmentEx { intent.putExtra( Intent.EXTRA_TITLE, "simpleemail_backup_" - + new SimpleDateFormat("yyyyMMdd").format(new Date().getTime()) - + ".json"); + + new SimpleDateFormat("yyyyMMdd", Locale.getDefault()).format(new Date().getTime()) + + ".json"); return intent; } diff --git a/app/src/main/res/values-he/strings.xml b/app/src/main/res/values-he/strings.xml deleted file mode 100644 index 9287d3b6..00000000 --- a/app/src/main/res/values-he/strings.xml +++ /dev/null @@ -1,269 +0,0 @@ - - - - Copyright Ⓒ 2018 by M. Bokhorst\nCopyright Ⓒ 2018 by Distopico (dystopia project) and contributors - Service - Notifications - Errors - - Synchronizing %1$d account - Synchronizing %1$d accounts - Synchronizing %1$d accounts - Synchronizing %1$d accounts - - - %1$d operation pending - %1$d operations pending - %1$d operations pending - %1$d operations pending - - - %1$d new message - %1$d new messages - %1$d new messages - %1$d new messages - - - %1$d unsent message - %1$d unsent messages - %1$d unsent messages - %1$d unsent messages - - \'%1$s\' failed - Setup - Reply templates - Operations - Legend - FAQ/support - Privacy - About - Invite - Rate this app - Other apps - - I agree - I disagree - Version %1$s - Accounts - Identities - Edit account - Edit identity - Edit folder - Setup - Export settings - Import settings - Accounts and identities will be exported without passwords - Imported accounts will be added, not overwritten - Settings exported - Settings imported - Manage accounts - To receive email - Manage identities - To send email - Disable battery optimizations - To continuously receive email (optional) - In the next dialog, select \"All apps\" at the top, select this app and select and confirm \"Don\'t optimize\" - Disable data saving - Grant permissions - To get contact information (optional) - Manage notifications - To do - Done - Light theme - Dark theme - Advanced options - Enable sync - Show contact photos - Use notification light - Browse messages on the server - Swipe actions - Compact message view - Debug mode - Select … - Your name - Your email address - Reply to address - Optional - Linked account - Account name - Used to differentiate folders - Signature text - Color - Domain name - Get settings - Settings not found - IMAP - SMTP - Provider - Custom - Host name - STARTTLS - Allow insecure connections - Port number - User name - Password - Select account - Authorizing account … - Advanced - Store sent messages (normally not needed) - Synchronize (receive messages) - Synchronize (send messages) - Primary (default account) - Primary (default identity) - Keep alive interval (minutes) - Check - Name missing - Email address missing - Account missing - Host name missing - User name missing - Password missing - No drafts folder selected - No primary account or no drafts folder - No primary account or no archive folder - This provider does not support push messages. This will delay reception of new messages and increase battery usage. - IMAP UIDPLUS not supported, see the FAQ - Delete this account permanently? - Delete this identity permanently? - POP is not supported - Insecure connections are not supported - Synchronize now - Delete local messages - Empty trash - Edit properties - Delete all trashed messages permanently? - Folder name - Display name - Hide from list - Hide hidden folders - Show hidden folders - Synchronize (receive messages) - Show in unified inbox - Synchronize (days) - Folder %1$s exists - Delete folder permanently? - Unified inbox - Inbox - Outbox - Archive - Drafts - Trash - Spam - Sent - System - User - Folders primary account - Conversation - No messages - Show images - Re: %1$s - Fwd: %1$s - Mark read - Mark unread - Add star - Remove star - Forward - Reply to all - Show headers - Show original - Trash - Delete - More - Spam - Move - Archive - Reply - Moving message to %1$s - No reply templates defined - No viewer app available for %1$s - Attachment saved - Some attachments are not downloaded and will not be forwarded, continue? - Delete message permanently? - Discard draft? - Report message as spam? - Fix - Compose - From: - To: - Reply to: - CC: - BCC: - Subject: - Your message - Discard - Save - Send - Clipboard empty - Bold - Italic - Insert link - Insert image - Add attachment - Show CC/BCC - Sender missing - Recipient missing - Attachments still loading - Draft discarded - Draft saved - Sending message - Encrypt - Decrypt - OpenKeychain not found - Search - Search on server - Searching \'%1$s\' - Sort on - Time - Unread - Starred - Move to sent - Previous - Next - Reply template - Template name - Template text - Inbox - Unified inbox - Archive - Trash - Account disconnected - Account connected - CC/BCC - Attachment - Conversation - Contacts - Synchronize on - Synchronize off - Primary/starred - Disconnected - Connecting - Connected - Synchronizing - Downloading - Closing - Long press for options - If you have a question or a problem, please use the support menu to get help - Swipe left to trash; swipe right to archive (if available) - Long press a message to start selecting multiple messages - Downloading messages can take some time, depending on the number of messages, the speed of your internet connection and your email provider - Open link - There is an update to version %1$s available - Do you have a question or problem? - Yes - No - Undo - Try SimpleEmail, an simple, free software,, privacy friendly email app for Android - Unexpected error - Log - Debug info - Please describe the problem and indicate the time of the problem: - Please describe what you were doing when the app crashed: - Privacy policy - SimpleEmail does not collect any information, does not require unnecessary permissions and is 100% Free Software. - Permissions are needed and why - • have full network access (INTERNET): to send and receive email \n• view network connections (ACCESS_NETWORK_STATE): to monitor internet connectivity changes \n• run at startup (RECEIVE_BOOT_COMPLETED): to start monitoring on device start \n• foreground service (FOREGROUND_SERVICE): to run a foreground service on Android 9 Pie and later \n• prevent device from sleeping (WAKE_LOCK): to keep the device awake while synchronizing messages \n• [Optional] read your contacts (READ_CONTACTS): to autocomplete addresses and to show photos \n• [Optional] find accounts on the device (GET_ACCOUNTS): to use OAuth instead of passwords - Storage framework not available - See details - You don\'t have accounts configured yet - You don\'t have identities configured yet - diff --git a/app/src/main/res/values-iw/strings.xml b/app/src/main/res/values-iw/strings.xml index 60ba3a07..9287d3b6 100644 --- a/app/src/main/res/values-iw/strings.xml +++ b/app/src/main/res/values-iw/strings.xml @@ -1,33 +1,34 @@ - + + - Copyright Ⓒ 2018 by M. Bokhorst\nCopyright Ⓒ 2018 by Distopico (dystopia project) and contributors + Copyright Ⓒ 2018 by M. Bokhorst\nCopyright Ⓒ 2018 by Distopico (dystopia project) and contributors Service Notifications Errors - Synchronizing %1$d account - Synchronizing %1$d accounts - Synchronizing %1$d accounts - Synchronizing %1$d accounts - + Synchronizing %1$d account + Synchronizing %1$d accounts + Synchronizing %1$d accounts + Synchronizing %1$d accounts + - %1$d operation pending - %1$d operations pending - %1$d operations pending - %1$d operations pending - + %1$d operation pending + %1$d operations pending + %1$d operations pending + %1$d operations pending + - %1$d new message - %1$d new messages - %1$d new messages - %1$d new messages - + %1$d new message + %1$d new messages + %1$d new messages + %1$d new messages + - %1$d unsent message - %1$d unsent messages - %1$d unsent messages - %1$d unsent messages - + %1$d unsent message + %1$d unsent messages + %1$d unsent messages + %1$d unsent messages + \'%1$s\' failed Setup Reply templates @@ -78,7 +79,7 @@ Swipe actions Compact message view Debug mode - Select … + Select … Your name Your email address Reply to address @@ -102,7 +103,7 @@ User name Password Select account - Authorizing account … + Authorizing account … Advanced Store sent messages (normally not needed) Synchronize (receive messages) @@ -122,15 +123,15 @@ No primary account or no archive folder This provider does not support push messages. This will delay reception of new messages and increase battery usage. IMAP UIDPLUS not supported, see the FAQ - Delete this account permanently\? - Delete this identity permanently\? + Delete this account permanently? + Delete this identity permanently? POP is not supported Insecure connections are not supported Synchronize now Delete local messages Empty trash Edit properties - Delete all trashed messages permanently\? + Delete all trashed messages permanently? Folder name Display name Hide from list @@ -140,7 +141,7 @@ Show in unified inbox Synchronize (days) Folder %1$s exists - Delete folder permanently\? + Delete folder permanently? Unified inbox Inbox Outbox @@ -176,10 +177,10 @@ No reply templates defined No viewer app available for %1$s Attachment saved - Some attachments are not downloaded and will not be forwarded, continue\? - Delete message permanently\? - Discard draft\? - Report message as spam\? + Some attachments are not downloaded and will not be forwarded, continue? + Delete message permanently? + Discard draft? + Report message as spam? Fix Compose From: @@ -247,7 +248,7 @@ Downloading messages can take some time, depending on the number of messages, the speed of your internet connection and your email provider Open link There is an update to version %1$s available - Do you have a question or problem\? + Do you have a question or problem? Yes No Undo