183 Commits

Author SHA1 Message Date
relan
950854318b Add styles for app list and empty text
Those styles will be used in the three layouts that will define the
look of the fragments.
2015-11-09 15:43:09 +03:00
relan
96091b00d5 Use darker primary colors for the Dark theme
Primary colors of the Light theme are too bright for the Dark theme.
2015-10-29 18:26:39 +03:00
relan
a962ba9523 Remove compact layout strings
They are unused now.
2015-10-21 22:04:52 +03:00
relan
71da35d3fd Remove compact layout setting
It's quite useless because it makes app list insignificantly smaller.
Besides, this contradicts the Material Design spec.
2015-10-21 22:04:52 +03:00
Daniel Martí
e8093a66f0 Replace preferences by settings in other strings 2015-10-20 23:40:57 +02:00
Daniel Martí
5b688d3c23 Rename Preferences to Settings
For consistency with Android and other apps.

Closes #464.
2015-10-19 09:48:05 +02:00
Daniel Martí
f349437334 Replace all tabs with spaces in string xml files
For consistency, and to keep weblate from adding even more tabs everywhere.
2015-10-19 09:35:57 +02:00
relan
68de2356c5 Fix default textColor for TextView
TextView respects textViewStyle since appcompat-v7:22.2:

     public AppCompatTextView(Context context, AttributeSet attrs) {
-        this(context, attrs, 0);
+        this(context, attrs, android.R.attr.textViewStyle);
     }

This change in appcompat-v7 breaks previous behaviour by applying
textColorSecondary to TextViews: text becomes grey after upgrading
appcompat-v7 to 22.2.

See https://code.google.com/p/android/issues/detail?id=170476
2015-10-19 07:56:41 +03:00
Daniel Martí
f1c3e5ee32 Add id to list of languages and add in link
As per #139.
2015-10-11 01:35:45 +02:00
Daniel Martí
469f09c0b3 Remove all unused resources 2015-10-06 14:33:28 +02:00
Daniel Martí
c4699df82a Merge branch 'theme-night' into 'master'
Add night theme

[Screenshot](http://i.imgur.com/gVK5M0G.png)

The screenshot is huge, so making it an image in markdown takes up a lot of space. Hence link.

See merge request !149
2015-10-06 10:33:18 +00:00
Daniel Martí
5c4de9a166 Use the same format for hardcoded categories 2015-10-06 09:32:31 +02:00
Daniel Martí
c8bf53fd3b Use category_X for category name strings
This means more consistent and descriptive naming.
2015-10-06 09:18:15 +02:00
Daniel Martí
a052dc2ff1 Add night theme
Similar to the dark theme, but dropping blue in favour of very dark shades of
grey.

Removed colorEdgeEffect to simplify the sharing of the style between dark and
night themes. It should default to colorPrimary anyway, so we're good.

Fixes #345.
2015-10-06 09:03:11 +02:00
Jeff Mixon
36e0479967 Refresh layout of AppDetails screen
This change primarily affects the AppDetails links section to make them easier to click. It also strips down the UI a bit to provide a cleaner interface as well as some modest Material Design tweaks.

Fixes #389.
2015-10-05 22:38:57 +02:00
Peter Serwylo
0164adc386 Don't depend on Content-Length headers to download (Fixes #430)
Instead, keep downloading until the `InputStream` returns -1.

Also, required updates to the UI so that when the download size is
not known, there is still a reasonable response to the user.

Note that this still fails when using the Android download manager
if the download attempts to get resumed, and the server did not
send a Connection: close, Content-Length, or Transfer-Encoding: Chunked
header.
2015-10-04 11:21:38 +11:00
Daniel Martí
9bb0719a86 Update list of languages 2015-10-02 17:34:07 -07:00
relan
b3ae79e5c2 Correct the fingerprint caption
Do not use the word "repo" in captions because all the info in the
activity is about a repository.
2015-10-01 17:49:31 +03:00
relan
2cc6661979 Make repository details look more Material
See http://www.google.com/design/spec/style/typography.html

Remove useless attributes; add styles with proper paddings, size and color
for caption and body text. Unfortunately, line spacing attributes are
supported only since Jelly Bean.
2015-10-01 17:38:20 +03:00
relan
6f6bd44a38 Use static title for repository details activity
Repository name is usually too long to fit into the title. Besides, it's
also shown in the activity, no need to duplicate it.
2015-10-01 07:26:58 +03:00
relan
77f0dbb65a Correct the message about disabled repo
Explain that repository should be enabled.
2015-10-01 07:26:58 +03:00
Daniel Martí
998d99eee0 Be consistent about strings being capitalized
These strings aren't completely wrong being all lowercase, but better be
consistent.
2015-09-30 13:45:03 -07:00
Daniel Martí
be1b68153f Don't use emoticons in strings 2015-09-30 13:40:52 -07:00
Daniel Martí
e856a9be3b Don't end setting summaries with periods 2015-09-30 13:20:35 -07:00
Dominik Schürmann
2b0f2cfc67 Better error handling 2015-09-30 07:41:32 +02:00
Dominik Schürmann
50215356ae Privileged Install: improve strings, fix uninstall 2015-09-30 07:41:27 +02:00
relan
5046213f3c Make repositories list look more Material
See http://www.google.com/design/spec/components/lists.html
2015-09-27 11:41:59 +03:00
relan
38a19c305d Remove unused strings 2015-09-27 11:41:59 +03:00
Daniel Martí
c0fc70c7c0 Make all donation methods strings translatable
F-Droid itself (the app name) can be translated, so these fall under the same
category.
2015-09-25 10:12:17 -07:00
Daniel Martí
3b3fb93990 Forgot to remove dogecoin layout/string
Follow-up to 735ac0eb3da.

Fixes #433.
2015-09-24 22:20:07 -07:00
Toby Kurien
2642c14cb7 Better handle download errors from DownloadManager
Rebased and squashed from !141.
2015-09-23 22:26:49 -07:00
Daniel Martí
d90edde68a langs-list-check: ignore symlinks, update list 2015-09-19 16:28:19 -07:00
Daniel Martí
cdfe1566fa Give more context on some strings, split installed
As per !140, some languages require different translations for an app being
installed and the tab name for installed apps. Namely, one is plural while the
other isn't. Separate the two.
2015-09-14 15:00:14 -07:00
Nico Alt
ab2c1d49b6 Prompt for unstable updates globally 2015-09-14 18:58:52 +02:00
Daniel Martí
85b8c9a0c2 Improve some strings as per #415 2015-09-13 22:57:54 -07:00
Daniel Martí
38075ae36d Get rid of the last all caps strings. #415
If we really, really need all caps strings, do it in xml/java. Don't make
translators use all caps.
2015-09-13 16:43:44 -07:00
Daniel Martí
eb4782c50b Remove duplicate scan_qr string. #415
The other one isn't capitalized, but we shouldn't expect translators to have
to use all caps anyway.
2015-09-13 16:42:29 -07:00
Daniel Martí
dd8a3440d6 Rework about dialog
* Don't have website link twice
* Add source code link
* Don't have trailing spaces in strings
2015-09-12 23:26:14 -07:00
Daniel Martí
7f23cc9d51 Apply langs-list-check fixes 2015-09-12 22:08:14 -07:00
Daniel Martí
63e83c3b21 Remove all remaining unused strings
If they are ever useful again, they can be brought back with their
translations. Reasons to not keep them around:

* Most will not be used ever again
* Most languages don't have all of them yet
* Translators doing new languages would waste their time

Kept the local repo https ones since the setting was just temporarily
removed.
2015-09-12 21:43:51 -07:00
Daniel Martí
47ea7267ed Don't have spaces at the end of strings 2015-09-12 19:39:13 -07:00
Daniel Martí
100ba7088b Remove more unused old strings 2015-09-12 19:28:04 -07:00
Daniel Martí
272a614ce4 Remove some more old strings 2015-09-12 19:14:15 -07:00
Daniel Martí
7e03c3d81a Update translatable categories 2015-09-12 19:14:15 -07:00
Daniel Martí
7832732a25 Remove some unused strings, most very old 2015-09-12 19:01:28 -07:00
Daniel Martí
393694eab8 Some strings don't need all caps 2015-09-12 18:49:10 -07:00
Daniel Martí
0537e24a82 Be consistent about capitalized strings. #415 2015-09-12 18:41:25 -07:00
Daniel Martí
852d88de84 Toast strings are full sentences. #415 2015-09-12 18:38:20 -07:00
Daniel Martí
e8a0b151fb Be consistent about "Wi-Fi". #415 2015-09-12 18:28:51 -07:00
Daniel Martí
cf0ab74870 Allow app_name to be translated. Fixes #203. 2015-09-12 15:19:46 -07:00