vng
165b81e263
[generator][script] Fixed diffs building.
...
Signed-off-by: vng <viktor.govako@gmail.com>
2024-10-23 13:14:38 -03:00
Alexander Borsuk
b7557fc9e5
[strings] Latvian translations from @ttrasuns
...
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-10-12 16:33:48 -03:00
Fabian Wüthrich
53787dd05e
[bookmarks] Script to convert Google Maps Places to KML
...
This script converts a CSV file exported from Google Takeout to a KML file. A
user can import this KML file to Organic Maps to transfer saved places in Google
Maps to Organic Maps bookmarks. The script requires an API key because it needs
to look up the coordinates from the Google Places API.
See https://github.com/orgs/organicmaps/discussions/928
Signed-off-by: Fabian Wüthrich <me@fabwu.ch>
2024-08-20 09:59:46 +02:00
Alexander Borsuk
d8ff238648
[tools] Use formal translations instead of informal for DeepL languages
...
Except for pt-BR, where informal looks better.
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-08-09 12:20:52 +02:00
0c7f9040e9
Update tools/python/stylesheet/drules_merge.py
...
Co-authored-by: Alexander Borsuk <170263+biodranik@users.noreply.github.com>
Signed-off-by: Sergiy Kozyr <s.trump@gmail.com>
2024-07-29 15:14:48 -03:00
66f04c6090
Fixed styles merging
...
Signed-off-by: Sergiy Kozyr <s.trump@gmail.com>
2024-07-29 15:14:48 -03:00
Alexander Borsuk
fecccafba4
[tools] Fixed clean_strings_txt.py to include iOS app tips
...
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-07-10 21:00:42 +02:00
Viktor Govako
402e5b26a4
[generator] Updated generator_tool and added test.
...
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2024-07-01 13:58:24 -03:00
David Martinez
1276dc76f2
[styles] Rename styles to default/vehicle/outdoors + light/dark
...
clear/style-clear -> default/style-light
clear/style-night -> default/style-dark
vehicle/style-clear -> vehicle/style-light
vehicle/style-night -> vehicle/style-dark
outdoors/style-clear -> outdoors/style-light
outdoors/style-night -> outdoors/style-dark
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-05-23 00:16:43 -03:00
Viktor Govako
6a5d934b40
[generator][search] Restore external postcodes.
...
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2024-05-22 17:06:20 -03:00
Andrew Shkrob
aacbe403fb
[data] Remove drules_proto-bw
...
Signed-off-by: Andrew Shkrob <andrew.shkrob.social@yandex.by>
2024-05-08 23:29:24 +02:00
fde252347f
[tools] fail with warning when OMIM_PATH doesn't exist
...
otherwise it fails later when trying to access `{OMIM_PATH}/data`, with the unhelpful message "AssertError: USER_RESOURCE_PATH is not None"
Signed-off-by: Harry Bond <me@hbond.xyz>
2024-05-06 14:17:55 +02:00
Alexander Borsuk
45b1100c93
Save produced json in a more compact UTF-8 format
...
This change will reduce the size of generated countries.txt from 405K to 355K
and speed up loading/decoding of the countries list.
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-04-28 23:37:10 +02:00
Alexander Borsuk
9c7fc19a4a
[tools] Updated translate.py script
...
- Correct/filter out pt-PT and zh translations
- Use ar in DeepL
- Remove es-MX as it is not supported by Google
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-04-11 21:26:23 +02:00
eae8ebd449
[tools] properly warn if translate-shell isn't installed
...
Signed-off-by: Harry Bond <me@hbond.xyz>
2024-04-08 23:03:25 +02:00
Alexander Borsuk
ef5d3fa80f
[tools] Fallback to Google Translations if DeepL fails
...
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-04-04 08:46:08 +03:00
921cdaad34
[oauth2] I accidentally removed OAuth2 application from master.apis.dev.openstreetmap.org
...
Have to create new one and update Debug credentials
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
388217fa58
Formatting
...
Removed EditorHostFragment.clearNoobAlertFlag() method
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
98e2e328b5
Added OAuth2 flow test
...
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
Meenbeese
d7c4c99101
[tools] Migrate all the scripts to Python3
...
Signed-off-by: Meenbeese <meenbeese@tutanota.com>
2024-03-18 19:10:27 +02:00
Alexander Borsuk
a9b45f9ebd
[tools] Faster localizations generation
...
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-03-15 21:59:31 +01:00
Alexander Borsuk
11895d7ecd
[android] Fix missing category strings removed by R8 from AGP 8.3
...
- Renamed search categories to keep them all by an R8 rule in res/raw/keep.xml
- clean strings script retrieves categories from data/categories.txt
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-03-14 08:31:42 +02:00
1467ac4afe
Added Google subfolder to string usage search
...
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-03-11 08:44:47 +01:00
Alexander Borsuk
62f5c53eec
[tools] Fixed warning with wrong escape sequence
...
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-03-09 23:28:35 +02:00
Viktor Govako
94f2d8a47c
[generator] Build popularity.
...
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2024-02-04 22:24:54 -03:00
a9973ec907
[strings] Fix messy formatting of countries_names.txt
...
This huge diff is necessary to re-enable automatic tooling.
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2024-01-28 12:23:58 +02:00
9d245b2d12
[strings] Add Azerbaijani translations
...
Machine-translated from Türkçe and reviewed.
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2024-01-07 18:35:56 +02:00
732baca186
[tools] Add a command for translating into a new language
...
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2024-01-07 18:35:56 +02:00
Alexander Borsuk
3c38de1a10
[tools] Enabled af, lt translations for strings
...
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-12-09 15:00:15 +01:00
Alexander Borsuk
efafb16ae9
[tools] Exclude translations for languages not yet supported by the core
...
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-12-09 15:00:15 +01:00
Alexander Borsuk
df840832dd
[tools] Fix wrong lost capitalization in translate.py
...
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-12-09 15:00:15 +01:00
Viktor Govako
a938b15b26
[generator] Removed dummy disable_cross_mwm_progress option.
...
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2023-11-22 12:39:58 -03:00
Nikhil Dhariwal
39b3bb0e6a
Update README.md
...
Signed-off-by: Nikhil Dhariwal <nicksd111@gmail.com>
2023-10-24 10:20:58 +02:00
0931844bd1
[generator] More helpful logging of subprocess launch failures
...
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-09-08 17:32:02 -03:00
Harry Bond
ec770dd7c6
[tools] fix building of osmctools
...
Signed-off-by: Harry Bond <endim8@pm.me>
2023-09-05 10:33:49 -03:00
a6ede2b146
[android] Re-organize flavors in proper way
...
Follow up 331b030
"Use module project structure"
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2023-09-04 23:32:17 +03:00
Alexander Borsuk
dac5eb6cde
[tools] Support custom source language in translate.py
...
- Also added Hindi
- strings.txt format is printed last as more relevant
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-09-03 12:32:01 +02:00
Arnaud Vergnet
b39a6dbb5f
[android] Update tools to new android structure
...
Signed-off-by: Arnaud Vergnet <arnaud.vergnet@mailo.com>
2023-09-03 10:05:14 +03:00
Viktor Govako
0b89460767
[generator][script] Always set --data_path for python generator toolchain.
...
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2023-08-20 08:07:16 -03:00
Andrew Shkrob
271a796c5f
[cmake] Add CTest
...
Signed-off-by: Andrew Shkrob <andrew.shkrob.social@yandex.by>
2023-07-18 17:13:41 -03:00
f34f86dbf6
[generator] Improve default PLANET_MD5_URL handling
...
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-07-15 13:01:12 -03:00
2aa43f5e86
[generator][docs] Improve setup instructions and logging
...
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-07-15 13:01:12 -03:00
eef7661b62
[docs] Add python >= 3.7 requirement for translate.py
...
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-07-13 00:29:20 +02:00
Viktor Govako
468ab8065d
add second hand category, auction, collectors shops, turnstile & exit
...
also remove 'lt' from translate tool, app doesn't build with lt translations
also increase count in test
Signed-off-by: Harry Bond <endim8@pm.me>
2023-07-01 10:28:52 -03:00
Alexander Borsuk
49aa39a113
[tools] Title Case for English translations and less formal result
...
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-06-03 22:39:55 +02:00
Alexander Borsuk
099d07c1d3
[tools] Minor dependabot security warning fix
...
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-06-03 13:45:34 +02:00
Alexander Borsuk
3bbc4a15bf
Fixed Github security scan warning
...
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-05-27 15:55:48 +02:00
Alexander Borsuk
ad4bf7e3a0
[tools] Fixed dependabot warning
...
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-05-26 01:36:37 +02:00
Alexander Borsuk
adc646c2a8
[tools] Comment how to register a free DeepL API account
...
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-05-25 14:49:47 -03:00
Alexander Borsuk
afabf85589
[tools] Enabled lt and sw, print both formats at the same time
...
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-05-25 14:49:47 -03:00