1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-17 23:15:10 -05:00
Commit Graph

89 Commits

Author SHA1 Message Date
cketti
24cdf811e6 Prepare to integrate Transifex translations
Change the translated strings files to a format similar to what
Transifex exports. This should make it easier to see the content changes
when translations are pulled from Transifex for the first time.
2014-04-08 04:35:21 +02:00
cketti
eaa12d2bd4 Sync translations (and remove place holders) 2014-04-08 04:35:21 +02:00
Joe Steele
daea7f1ecd Eliminate the 'if available' connection security options
These options originated in the AOSP email client from which K-9 Mail was
forked.  They provide an odd combination of 2 features:

1. Don't bother to authenticate the server's certificate (applies to both
SSL/TLS and STARTTLS); i.e., blindly accept all certificates.  This is
generally a bad security policy which is susceptible to MITM attacks.

2. If STARTTLS is selected but the server doesn't claim to support
STARTTLS, then proceed without using encryption.  This, too, is a bad
security policy which is susceptible to MITM attacks.

Since the time that K-9 Mail was forked, a couple things have changed:

> K-9 Mail has implemented the ability for users to review and permanently
accept individual certificates that would otherwise fail authentication.
With this ability, there is no need for a user to subject themselves to
the ongoing risks of feature 1. above.  Hence, this commit removes feature
1.

> The AOSP email client has changed its behavior and no longer permits a
security downgrade to an unencrypted connection if the server doesn't
claim to support STARTTLS (i.e., they eliminated feature 2. above). K-9
Mail should do the same.  It's unlikely that a server is going to provide
STARTTLS on an intermittent basis, so providing a contingency for such
unusual behavior is an unnecessary risk.  Hence, this commit removes that
feature as well.

Effect on existing users:

If the old connection security setting was "SSL/TLS (if available)" (which
now gets remapped to "SSL/TLS"), and the server does not provide a
certificate that can be authenticated, then a "Certificate error for
<account name>" notification is generated telling the user to check their
server settings.  Tapping the notification takes the user to the relevant
server settings, where the user can tap "Next" to review the certificate
and choose to permanently accept it.  This process would occur during the
first syncing of folders after application upgrade or (in the case of
SMTP) during the first attempt to send a message.

If the connection security setting was "STARTTLS (if available)" (which
now gets remapped to "STARTTLS"), and the server does not provide a
certificate that can be authenticated, then the same process as above
would occur.

If the old connection security setting was "STARTTLS (if available)", and
the server doesn't claim to support STARTTLS, then the user would get a
certificate error notification which would lead them to the server's
settings.  There they would need to choose a different connection security
-- most likely "NONE".  If they didn't change anything but instead just
tapped "Next", the server settings would be checked again and a dialog
would pop up saying, "Cannot connect to server. (STARTTLS connection
security not available)". (The implementation of notifications when
STARTTLS is not available is not actually included here -- it's in the
commit that follows.)

Regarding the changes to providers.xml:  in cases where the scheme ended
with "+ssl", the schemes were simply updated by appending "+".  In cases
where the scheme ended with "+tls", a check of the server was made to
assure that STARTTLS was available before appending "+" to the scheme.
Domains paran.com and nate.com failed the check and were removed because
no current information could be found.  Domains me.com and mac.com also
failed and were updated based on http://support.apple.com/kb/ht4864.
2014-03-03 17:23:00 -05:00
Igor Nedoboy
63e48f7e29 Update Russian translation 2014-01-05 00:50:01 +01:00
cketti
06ec852090 Rename plurals to make Transifex happy 2014-01-04 01:44:31 +01:00
Igor Nedoboy
9ea241f897 Update Russian translation 2013-11-10 22:49:00 +01:00
russian k-9 mail user
5d1abd89bf Update strings.xml 2013-10-21 05:05:09 +04:00
russian k-9 mail user
f57fd551e2 Sync with ChangeLog translation 2013-10-20 14:33:29 +04:00
cketti
ef3ba02a89 Merge pull request #400 from zjw/change_line_endings
Fix problems related to the saving and retrieval of drafts
2013-10-19 21:22:29 +02:00
cketti
43d1084047 Run script to sync translations 2013-10-19 18:03:50 +02:00
russian k-9 mail user
4f6241a4bb Update Russian translation 2013-10-19 17:30:10 +02:00
Joe Steele
ef01cabccc Remove \n from R.string.message_compose_reply_header_fmt
This string resource is used in two places -- both with and without the
linefeed at the end.  Instead of having a linefeed in the string and
having the code remove it if not needed, the linefeed is now omitted from
the string and the code adds it if needed.

Also, the line ending is changed from \n to \r\n.

Also, the string in the DE and FR locales had linefeeds at the start that
were removed so they match all the other locales.

(The string in the zh-rTW locale was left alone, since it had no
linefeeds.  It looks like that file has numerous instances where \n was
replaced with actual newlines, which is probably not correct.)
2013-10-11 11:39:48 -04:00
Jesse Vincent
decf9b7f6b Merge pull request #390 from bboa/master
Update strings.xml
2013-09-29 12:57:32 -07:00
russian k-9 mail user
ecf9e24469 Update strings.xml
(RU) Various improvements and fixes. The some terms are unified with desktop clients (e. g. Sylpheed).
2013-09-24 20:02:42 +04:00
Koji Arai
80232132c5 Added detailed description for narrow devices 2013-09-18 16:52:17 +09:00
russian k-9 mail user
ebb8dcdc02 Update strings.xml 2013-09-13 13:22:47 +04:00
russian k-9 mail user
ab7315e2f1 Update strings.xml
Updates and improvements (RU)
2013-09-12 19:16:26 +04:00
russian k-9 mail user
b9110f9293 Update strings.xml
Updates and improvements (RU)
2013-09-02 23:31:41 +04:00
cketti
ef467eb806 Run script to sync translations 2013-08-29 21:24:58 +02:00
cketti
22e6c8cdbe Add visual indicator that a menu item opens a submenu
This isn't the best solution. Most of the developers agree that a right-aligned
triangle or arrow would be a better fit for such an indicator. But we currently
don't have the time to write the code to do it.
Personally, I think we should try to get rid of submenus altogether.
2013-08-29 21:24:15 +02:00
russian k-9 mail user
966562b473 Update strings.xml
New strings added
2013-08-26 00:18:38 +04:00
Jesse Vincent
99e354bc9f Add back select/deselect action to return it to the context menu where users keep looking 2013-08-22 20:56:56 -04:00
Jesse Vincent
cac85a29d4 partially revert "Remove unused strings" - bring back our "stars" preference
This reverts commit 4e8c8e35de.

Conflicts:
	res/values-ca/strings.xml
	res/values-cs/strings.xml
	res/values-da/strings.xml
	res/values-de/strings.xml
	res/values-el/strings.xml
	res/values-es/strings.xml
	res/values-fi/strings.xml
	res/values-fr-rCA/strings.xml
	res/values-fr/strings.xml
	res/values-gl/strings.xml
	res/values-hu/strings.xml
	res/values-it/strings.xml
	res/values-iw/strings.xml
	res/values-ja/strings.xml
	res/values-ko/strings.xml
	res/values-nl/strings.xml
	res/values-pl/strings.xml
	res/values-pt-rBR/strings.xml
	res/values-ru/strings.xml
	res/values-sv/strings.xml
	res/values-tr/strings.xml
	res/values-uk/strings.xml
	res/values-zh-rCN/strings.xml
	res/values-zh-rTW/strings.xml
	res/values/strings.xml
2013-08-22 20:56:55 -04:00
cketti
e6d6744f55 Rename string to better convey the meaning
notification_action_read -> notification_action_mark_as_read
2013-07-23 20:12:48 +02:00
cketti
61bd371bc1 Rename "SSL" to "SSL/TLS" and "TLS" to "STARTTLS"
Fixes issue 5775
2013-07-18 20:02:54 +02:00
russian k-9 mail user
6221bb72da Update Russian translation 2013-07-09 23:24:04 +02:00
cketti
2a48ad2170 Remove preference summary attribute when empty string was used
This will display the preference title vertically centered. Some
translations still had text for the summary, so their preference title
might need to be changed to adjust for possible loss of information.
2013-07-09 23:18:10 +02:00
cketti
110d0ad8ac Sync translations using the new script 2013-07-09 17:22:39 +02:00
cketti
ebd74ed96c Move comments that should be preserved when syncing translations 2013-07-09 17:22:14 +02:00
cketti
f964d497db Remove XML comments to work around limitations of sync_translation.py 2013-07-09 17:21:59 +02:00
russian k-9 mail user
dfdc656d57 Update strings.xml
improved
2013-07-07 22:46:53 +04:00
russian k-9 mail user
09dd5d35bc Update strings.xml 2013-07-07 15:28:15 +04:00
russian k-9 mail user
64462ac148 Update strings.xml
instead of #326
2013-07-06 23:59:54 +04:00
bboa
25e9df8c45 Update Russian 2013-06-30 00:51:56 +04:00
Vincent Untz
9da0d4416f Update message_compose_reply_header_fmt to have only one newline
The PREFIX quote style was using an empty line between the header and
the quote. But mail apps using this way of quoting style do not have an
empty line between the quote header and the quote.
2013-04-14 20:06:00 -07:00
cketti
1b442f5be8 Add placeholders for missing strings / remove unused strings 2013-02-21 05:36:55 +01:00
Danny Baumann
49d1bdbcb0 Improve last folder update time formatting. 2013-02-13 11:20:40 +01:00
Danny Baumann
0fac8e999d Clean up date handling.
Remove home-grown date formatting, and replace it by usage of the
DateUtils class which is present since API level 3.
2013-02-11 15:19:15 +01:00
m0viefreak
865151fef8 merge date and time font size preference into one
The header changes merged those, so remove the now unneeded preferece, too.
2013-02-11 13:05:52 +01:00
cketti
3cd1b13833 Update help text for hotkeys 2013-02-01 21:30:07 +01:00
Andrew Chen
e123d378f4 Add interaction_preferences back. Remove localization of other strings from d06e7728d7 2012-12-23 14:05:22 -08:00
cketti
e7be8151fe Convert translations of 'accounts_welcome' to HTML 2012-12-17 19:00:17 +01:00
cketti
99ae73ebb9 Remove the setting to hide the refile buttons
With the introduction of the action bar there is no longer a separate
button bar for refile actions. So it's no longer necessary to hide the
buttons to save screen space.
2012-12-08 11:51:10 +01:00
Andrew Chen
301c8549e0 Fix ru XML formatting. 2012-12-03 16:25:51 -08:00
Alexey
7410eb000c Update res/values-ru/strings.xml
The main part has been translated.
2012-11-28 12:34:32 +04:00
cketti
349b1e997e Use type of compose action as action bar title
I.e. one of "Compose", "Reply", "Reply all", "Forward"
2012-11-21 01:42:19 +01:00
cketti
4e8c8e35de Remove unused strings 2012-11-19 08:06:57 +01:00
cketti
c5b552af08 Add placeholders for missing strings in translations 2012-11-19 03:29:21 +01:00
Alexey
f206373e62 Update res/values-ru/strings.xml
Some typos fixes and traslations.
2012-10-14 14:23:21 +04:00
Alexey
e9f74051ab Update res/values-ru/strings.xml
The most part of required lines was translated.
2012-10-03 13:19:19 +04:00