Commit graph

36022 commits

Author SHA1 Message Date
5400ad8c7c [strings] Generated for previously ignored languages
Needed-for: #1762

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2022-01-07 08:29:50 +01:00
5a6fb09621
[strings] Improve roads classification, add references (#1779)
* [strings] Improve roads classification

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>

* [tools] Add references support for translation files

By default translations duplicated in a referenced definition are removed.
--keep-resolved-references option allows to keep/restore them.

Needed-for: #1703, #1767

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>

* [strings] Added references to Roads section

Removed translations duplicate to the referenced definition.

Needed-for: #1767

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>

* [strings] Move type.area_highway.* into Roads section

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>

* [strings] Add refs and dedup types.area_highway.*

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2022-01-06 22:05:14 +01:00
Alexander Borsuk
0ae6d7a151 Using the latest XCode for iOS builds
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-01-06 21:30:11 +01:00
Alexander Borsuk
9b83df4c7d [build] Fixed paths to version script for Fastlane
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-01-05 21:42:13 +01:00
Alexander Borsuk
11a67f11a9 Unified app version for all platforms
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-01-05 18:52:39 +01:00
Alexander Borsuk
c85ead97c2 [strings] Regenerated
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-01-04 19:23:55 +01:00
Alexander Borsuk
9e72732140 More free space on Github runners to fix failing tests
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-01-04 19:23:40 +01:00
Alexander Borsuk
331414a95a Fixed missing breaks
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-01-04 19:23:40 +01:00
Alexander Borsuk
796e4a6d0a Mercator epsilon
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-01-04 19:23:40 +01:00
Alexander Borsuk
935676bc07 Minor warning fix, also for freetype builds
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-01-04 19:23:40 +01:00
Alexander Borsuk
6c98e8802a [android] Removed non necessary support library
It was needed for KitKat devices

Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-01-04 19:23:40 +01:00
Alexander Borsuk
6978e2b841 Removed unused file logging
If necessary, it should be implemented later by directly modifying base/logging.hpp

Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-01-04 19:23:40 +01:00
Alexander Borsuk
05dee05ebb Removed unused WiFi Location service
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-01-04 19:23:40 +01:00
Alexander Borsuk
baf7d1494d tools/unix/build_omim.sh -x to build with precompiled headers
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-01-04 19:23:40 +01:00
d2ccfe4139 [tools] Quote commands run in generate_localizations.sh
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2022-01-03 16:40:24 +01:00
54f0066110 [ci] Improve strings validation workflow
- use strings_utils.py as it has more checks than clean_strings_txt.py.
- validate types_strings.txt also

Needed-for: #1703

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2022-01-03 16:40:24 +01:00
b9bc0a9b95 [tools] Check for unused translation strings before generation of localizations
Needed-for: #1703

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2022-01-03 16:40:24 +01:00
4bdcc734a1 [tools] Validate and format strings files before generation of localizations
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2022-01-03 16:40:24 +01:00
38e448e7e8 [tools] Rename find_untranslated_strings.py to strings_utils.py
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2022-01-03 16:40:24 +01:00
f47942efa1 [strings] Correct Norwegian 'no' to Norwegian Bokmål 'nb'
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2022-01-03 08:15:42 +01:00
d3839ee5ae [strings] Sort strings.txt and types_strings.txt
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2022-01-03 08:15:42 +01:00
5ed0ad7a40 Changed string representation of opening hours in long-click copy menu and in editor UI.
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2021-12-30 23:28:48 +03:00
51ac4c26a5 [tools] Update find_untranslated_strings.py
- introduced CLI
- added languages stats
- filter output by selected languages
- plurals support
- more thorough file format check
- added validation mode
- preliminary "ref=" support
- general refactoring
- beautified by autopep8

Needed-for: #1703

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2021-12-30 14:16:05 +01:00
a107eb9084 [strings] Fix typos and mistakes in language codes
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2021-12-30 14:16:05 +01:00
b5fef4b595 [strings] Added leisure.beach_resort; minor fixes
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2021-12-26 14:05:14 +01:00
Alexander Borsuk
07fe2ec5ac [android] Do not stop music when announcing directions
Also added a proper audio attributes and fixed focus release.

Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-12-26 12:46:03 +01:00
Alexander Borsuk
c6499fd147 [android] Minor warning fix
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-12-26 12:46:03 +01:00
Poussinou
195198d0cc Update FUNDING.yml 2021-12-25 22:37:26 +01:00
10e7d3cad6 [docs] Describe desktop app's run-time options
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2021-12-24 22:00:15 +01:00
3d19108cd3 [docs] Update desktop app running options
Add a way to switch map language.

Needed-for: #1638

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2021-12-24 22:00:15 +01:00
Alexander Borsuk
38924e23f7 [android] Upgraded to the latest NDK
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-12-24 21:37:46 +01:00
b2a178fd50 [android] Break long routing time/distance string into 2 lines
Used non-breakable spaces to control where the string breaks.
Ellipsize the string from the end in case 2 lines are not enough still.

Needed-for: #1528

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2021-12-23 22:32:28 +01:00
Viktor Govako
bc26c799a0 [desktop] Show maxspeed for lines.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2021-12-23 13:37:35 +01:00
Viktor Govako
71aefb8ecf Minor warning fixes.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2021-12-23 13:37:35 +01:00
Viktor Govako
611e365ef9 [3party] Disable most annoying warnings (boost, protobuf).
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2021-12-23 13:37:35 +01:00
Viktor Govako
5c9d20b3fd [drape] Better CirclesPack assertions.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2021-12-23 13:37:35 +01:00
Viktor Govako
0bb421b1ad [search] Fixed possible signed/unsigned issue.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2021-12-23 13:37:35 +01:00
Viktor Govako
076a7b699c [downloader] Use move semantics for callbacks.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2021-12-22 11:06:18 +03:00
Viktor Govako
25e1e9f503 [android] Use common metaserver logic for downloading resources.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2021-12-22 11:06:18 +03:00
Alexander Borsuk
7443224686 [strings] Regenerated German
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-12-21 07:54:58 +01:00
Alexander Borsuk
de7ec38466 Minor cleanup
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-12-21 07:54:39 +01:00
Alexander Borsuk
70ea3ff888 [android] Fixed non-working FAQ on Android 5 and 6
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-12-21 07:54:39 +01:00
Alexander Borsuk
0090973d18 [android] Removed unnecessary assert
It caused crash on FDroid without downloaded worlds

Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-12-21 07:54:39 +01:00
j13m126
f13b386e77
Merge pull request #1716 from j13m126/master
added German translations

Signed-off-by: Lukas Kronberger <j13m126@posteo.de>
2021-12-21 00:19:34 +01:00
Alexander Borsuk
8ac494af59 [strings] Regenerated German and Greek changes
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-12-19 18:22:15 +01:00
Viktor Govako
60bd5db097 Removed dummy operators.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2021-12-19 18:21:19 +01:00
Viktor Govako
25d1a6372d Prettify Framework interface.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2021-12-19 18:21:19 +01:00
Viktor Govako
5c81e89584 [drape] Prettify and optimize code.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2021-12-19 18:21:19 +01:00
67c3c33884 [tests] Update measurement_utils.cpp unit tests
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2021-12-19 19:07:13 +03:00
61d76b31a7 [platform] Make distance rounding more consistent
E.g. both 998m and 1004m are rounded to 1km now
(before the change 998m rounded to 1000m).
Likewise 9992m is rounded to 10km now, not 10.0km.

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2021-12-19 19:07:13 +03:00