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

120 Commits

Author SHA1 Message Date
Joe Steele
59a61366ca Merge branch 'remove_gallery_bug_workaround'
Conflicts:
	res/values-it/strings.xml
	res/values-iw/strings.xml
	res/values-sv/strings.xml
2014-09-09 18:59:18 -04:00
cketti
5a6648ceeb Update translations from Transifex
New languages:
- Latvian
- Estonian
- Norwegian Bokmål
- Galician (Spain)
2014-09-09 00:04:10 +02:00
cketti
9e203b75cc Remove gallery bug work-around
This bug was present in the Gallery app shipped with Android 2.0.
The time has come to say good-bye. We will never forget you! But only because you're part of our Git history.
2014-09-07 23:35:18 +02:00
Joe Steele
0fba273357 Remove the obsolete "Condensed layout" preference 2014-08-19 17:17:45 -04:00
Joe Steele
8166f03e87 Remove obsolete "Show unread count" preference
Only applies to pre-Honeycomb devices
2014-08-19 17:17:42 -04:00
Joe Steele
af77bbd1bc Eliminate obsolete background data sync option
It only applied to pre-ICS devices.

ConnectivityManager.ACTION_BACKGROUND_DATA_SETTING_CHANGED is no longer
broadcast.

ConnectivityManager.getBackgroundDataSetting() always returns true.
2014-08-19 17:14:44 -04:00
cketti
3054ff757b Update translations to use ellipsis character 2014-04-08 21:29:40 +02:00
cketti
d5c6d96112 Fetch translations from Transifex
Include new Basque (eu) translation
2014-04-08 17:36:20 +02:00
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
cketti
06ec852090 Rename plurals to make Transifex happy 2014-01-04 01:44:31 +01:00
Erkan
388ee8e27d Update French translation 2013-12-15 16:58:58 +01:00
cketti
4cdbe00732 Remove problematic linebreaks from strings files 2013-12-06 03:14:16 +01: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
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
Koji Arai
80232132c5 Added detailed description for narrow devices 2013-09-18 16:52:17 +09:00
Erkan
68bcde5562 Update strings.xml 2013-09-11 12:40:45 +02:00
Léo Colombaro
0808283543 Fix & Update French Translations
* Lire => Lu
* New translations
2013-08-30 17:03:03 +02: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
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
Alessandro Lenzen
fe08279b95 It's APG, not AGP. 2013-08-15 14:08:37 +02: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
f18b36707b Merge pull request #338 from brouberol/master
Improvement of French translation
2013-07-18 12:19:37 -07:00
cketti
61bd371bc1 Rename "SSL" to "SSL/TLS" and "TLS" to "STARTTLS"
Fixes issue 5775
2013-07-18 20:02:54 +02:00
Balthazar Rouberol
845c685852 Improvement of French translations
Signed-off-by: Balthazar Rouberol <balthazar.rouberol@mapado.com>
2013-07-18 09:35:20 +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
f964d497db Remove XML comments to work around limitations of sync_translation.py 2013-07-09 17:21:59 +02:00
cketti
ada383d3df Fix error in XML of French translation 2013-05-29 00:45:14 +02:00
Erkan
c4bbbc2d05 Update French translation 2013-05-29 00:26:46 +02: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
Erkan
b5f68d4c2c Update strings.xml 2013-04-04 07:43:28 +03:00
cketti
1b442f5be8 Add placeholders for missing strings / remove unused strings 2013-02-21 05:36:55 +01:00
Erkan
56762110e4 Update res/values-fr/strings.xml 2013-02-16 10:20:11 +01:00
Danny Baumann
8e8254c2dd Build fixes. 2013-02-13 14:33:14 +01:00
Andrew Chen
0a55240c89 Merge pull request #251 from rk4an/patch-2
Update res/values-fr/strings.xml
2013-02-13 05:23:31 -08: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
Erkan
764a8c19fc Update res/values-fr/strings.xml 2013-02-09 18:05:40 +01:00
Erkan
5c384b1b62 Update res/values-fr/strings.xml 2013-02-04 09:22:21 +01:00
Danny Baumann
5d1e42c453 Improve certificate failure notifications.
The commit that introduced those notifications also introduced a rather
... interesting design pattern: The CertificateValidationException
notified the user of its pure existance - it's no longer a 'message'
only, but defines policy. As this is more than unusual, replace this
pattern by the MessagingController treating
CertificateValidationException specially when accessing remote folders.

Also make clear which account failed when constructing the notification.
2013-02-02 13:04:41 +01:00
cketti
cce969a6b6 Merge branch 'split_view'
Conflicts:
	res/values-de/strings.xml
	src/com/fsck/k9/fragment/MessageListFragment.java
2013-02-02 05:30:30 +01:00
cketti
3cd1b13833 Update help text for hotkeys 2013-02-01 21:30:07 +01:00
Erkan
8f17f7294b Update res/values-fr/strings.xml 2013-01-19 11:08:40 +01:00
Erkan
1b98bd6795 Update res/values-fr/strings.xml 2013-01-11 21:13:24 +01:00
Erkan
619ed98ed3 Update res/values-fr/strings.xml 2012-12-26 10:34:22 +01:00