Commit graph

1544 commits

Author SHA1 Message Date
6e37398cf1 [strings] Switch to Weblate
https://github.com/orgs/organicmaps/discussions/4515

Weblate works fine. There is no longer a need to maintain a
homegrown, non-standard translation toolchain.

Categories are not in Weblate yet, but they weren't supported by
the previous toolkit too. This issue can be addressed later.

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2025-03-05 18:07:24 +00:00
ac1cbbfa2a [strings] Extract types strings into individual files
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2025-03-05 09:07:14 +00:00
4b15a12893 Revert "[ios] Use today's commits count and two numbers from commit hash in the build number"
This reverts commit ee36eb8d12.
2025-02-25 12:18:28 +00:00
25a6c1a5b1 [tools] Remove outdated scripts
Signed-off-by: Andrei Shkrob <github@shkrob.dev>
2025-02-23 20:09:53 +00:00
fa52e1b3d4 [strings] Decrease discrepancies with Weblate
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2025-02-23 11:40:52 +00:00
Viktor Govako
d6f1d1174c [generator] Do not generate traffic keys
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2025-02-18 06:59:42 +03:00
Viktor Govako
1e31f4c8c0 [generator] Do not copy local planet.o5m dump, but make a symlink instead
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2025-02-18 06:59:42 +03:00
vng
76584aaa52 [generator] Updated doc and removed obsolete
Signed-off-by: vng <viktor.govako@gmail.com>
2025-02-18 06:59:42 +03:00
25a875483e [build] Fix Android versioning
Caused by ee36eb8d1 "Use today's commits count and two numbers"

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2025-01-26 21:41:54 +03:00
082b36b541 Use htmlmin2 to work on newer python versions
Signed-off-by: map-per <map-per@gmx.de>
2025-01-21 19:33:02 +03:00
c738109066 Add mwm_diff_tool to generator instructions
Signed-off-by: map-per <map-per@gmx.de>
2025-01-08 14:23:17 +00:00
3e6eb90be6 Remove unused mwm_names_en.txt
Signed-off-by: Harry Bond <me@hbond.xyz>
2025-01-04 13:53:07 +03:00
Andrew Shkrob
5da5e95eb8 [java] Update codestyle
Signed-off-by: Andrew Shkrob <andrew.shkrob.social@yandex.by>
2024-12-29 11:37:08 +00:00
Alexander Borsuk
ee36eb8d12 [ios] Use today's commits count and two numbers from commit hash in the build number
Now it looks like this:

  ios_version    2024.03.27
  ios_build      1.44211.31960

And allows deploying different versions from branches into the TestFlight without clashing

Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-12-23 16:47:12 +00:00
Alexander Borsuk
a4781d12f2 [tools] version.sh initializes printed variables when displaying help
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-12-23 16:47:12 +00:00
7a9f5b4883 [tools] Update kothic (#30 and #29)
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-12-14 14:10:34 +03:00
c49fe92362 [tools] Validate and auto-format more strings files
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-12-06 23:18:13 -03:00
Meenbeese
3c0fbeaa9c [tools] Remove some unused scripts
Signed-off-by: Meenbeese <meenbeese@tutanota.com>
2024-11-30 00:06:30 -03:00
Meenbeese
4227cbe3b8 [tools] Delete redundant macdeployqtfix submodule
Signed-off-by: Meenbeese <meenbeese@tutanota.com>
2024-11-17 14:34:10 +01:00
Rudo Kemper
62acf49cd5 Support fetching cid data
Signed-off-by: Rudo Kemper <rtakemper@gmail.com>
2024-11-02 22:18:43 -03:00
Rudo Kemper
9e670d7752 Code cleanup
Signed-off-by: Rudo Kemper <rtakemper@gmail.com>
2024-11-02 22:18:43 -03:00
Rudo Kemper
38b5c9188c Fix possible edge cases and clarify that we can't do CID
Signed-off-by: Rudo Kemper <rtakemper@gmail.com>
2024-11-02 22:18:43 -03:00
Rudo Kemper
5d94959498 Script doesn't exit if unable to retrieve coords
Signed-off-by: Rudo Kemper <rtakemper@gmail.com>
2024-11-02 22:18:43 -03:00
Rudo Kemper
87e7230570 For 0,0 coordinates, request from google API using query param value
Signed-off-by: Rudo Kemper <rtakemper@gmail.com>
2024-11-02 22:18:43 -03:00
Rudo Kemper
130a531bcd Only parse coords from q= param if it's in coord format
Signed-off-by: Rudo Kemper <rtakemper@gmail.com>
2024-11-02 22:18:43 -03:00
Rudo Kemper
696e28bc74 Handle null GeoJSON coords with q param
Signed-off-by: Rudo Kemper <rtakemper@gmail.com>
2024-11-02 22:18:43 -03:00
Rudo Kemper
8b5eafc4ec Make it possible to run script from cli or programmatically
Signed-off-by: Rudo Kemper <rtakemper@gmail.com>
2024-11-02 22:18:43 -03:00
Rudo Kemper
ceee774b1a Clarify instructions
Signed-off-by: Rudo Kemper <rtakemper@gmail.com>
2024-11-02 22:18:43 -03:00
Rudo Kemper
456321e24f Remove mimetype comment
Signed-off-by: Rudo Kemper <rtakemper@gmail.com>
2024-11-02 22:18:43 -03:00
Rudo Kemper
021c18760b Move print command to end of convert method
Signed-off-by: Rudo Kemper <rtakemper@gmail.com>
2024-11-02 22:18:43 -03:00
Rudo Kemper
19f98c06f5 Use datetime instead of dateutil
Signed-off-by: Rudo Kemper <rtakemper@gmail.com>
2024-11-02 22:18:43 -03:00
Rudo Kemper
b032cfaac1 Import specific os functions only
Signed-off-by: Rudo Kemper <31662219+rudokemper@users.noreply.github.com>
Signed-off-by: Rudo Kemper <rtakemper@gmail.com>
2024-11-02 22:18:43 -03:00
Rudo Kemper
8589c5766e Add option to download GeoJSON and export as GPX to google maps script
Signed-off-by: Rudo Kemper <31662219+rudokemper@users.noreply.github.com>
Signed-off-by: Rudo Kemper <rtakemper@gmail.com>
2024-11-02 22:18:43 -03:00
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
Andrew Shkrob
6e7a5e2368 [tools] Fix locale-config generation for android
Signed-off-by: Andrew Shkrob <andrew.shkrob.social@yandex.by>
2024-10-07 13:12:22 -03:00
David Martinez
bf77ae705c [skin_generator] Set 6plus skins resolution to 2.4x
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-10-02 13:43:37 -03:00
Meenbeese
8bcb729f38 Remove unused loadersim utility
Signed-off-by: Meenbeese <meenbeese@tutanota.com>
2024-09-19 23:01:12 +03:00
Kuzey Bilgin
026015eeef
[tools] Remove legacy download statistics tools
Signed-off-by: Meenbeese <meenbeese@tutanota.com>
2024-09-19 20:59:39 +01:00
Dwayne Bailey
3633aaf05e [strings] Convert Android newlines to Weblate style
This adds an actual newline before `\n`. This comes from the Translate
Toolkit where the original reason was readability.
2024-09-17 22:33:24 +01:00
Dwayne Bailey
3263ebb00d [strings] Update Twine use consistent indenting
Signed-off-by: Dwayne Bailey <dwayne@translate.org.za>
2024-09-17 20:56:45 +01:00
Enrique Garcia
50b35086c9 Add missing getopts option
Signed-off-by: Enrique Garcia <cquike@arcor.de>
2024-09-02 12:54:57 +02:00
Dwayne Bailey
6578a2f672 [strings] Drop Twine headers
Signed-off-by: Dwayne Bailey <dwayne@translate.org.za>
2024-08-20 13:08:22 +02: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
Dwayne Bailey
9c4400eab1 [strings] Sort plural forms in CLDR order
Signed-off-by: Dwayne Bailey <dwayne@translate.org.za>
2024-08-15 12:12:49 +02:00
46f6588cce
Updated embedded FAQ using organicmaps.app content (#8878)
* Updated embedded FAQ using organicmaps.app content

Signed-off-by: Sergiy Kozyr <s.trump@gmail.com>

* Updated faq.html using local Zola build

Signed-off-by: Sergiy Kozyr <s.trump@gmail.com>

* Added tools/unix/refresh-embedded-faq.sh

Signed-off-by: Sergiy Kozyr <s.trump@gmail.com>

---------

Signed-off-by: Sergiy Kozyr <s.trump@gmail.com>
2024-08-09 12:32:26 +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
Alexander Borsuk
ca3d273729 [tools] generate_localizations.sh can be run from any directory
Before this fix, it worked only if run from the repo root

Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-08-03 22:23:40 +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