Commit graph

503 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
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
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
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
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
Enrique Garcia
50b35086c9 Add missing getopts option
Signed-off-by: Enrique Garcia <cquike@arcor.de>
2024-09-02 12:54:57 +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
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
5c0892cacb
Fix the use of cached command-line variables in build_omim.sh (#8710)
* Extend .gitignore with more autogenerated files

Mostly stuff produced by CMake, but also the .settings folder in
android.

Signed-off-by: tmpod <tom@tmpod.dev>

* Fix the build shell script's use of cached command-line variables

Variables declared only through the command-line, such as
`BUILD_STANDALONE`, assume their cached values (visible in
CMakeCache.txt files) whenever they are not defined.
This caused the build script to run in standalone mode even when you
didn't want it to, as long as you passed the flag once before.
`BUILD_DESIGNER` didn't have the same problem because it is declared in
the root `CMakeList.txt` and defaults to OFF. Should we also define the
standalone variable there?

Signed-off-by: tmpod <tom@tmpod.dev>

---------

Signed-off-by: tmpod <tom@tmpod.dev>
2024-07-26 16:25:39 +02:00
b9cc76cf24 [tools] Add update_gplay_relnotes.sh script
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-06-05 11:25:12 +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
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
00a93e760c [tools] Check twine version when generating localizations
Reverted previous commits.
Do not install official unpatched twine locally (por que?..)

Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-03-09 23:28:35 +02:00
Meenbeese
12c93a7436 Remove unneeded if condition
Signed-off-by: Meenbeese <meenbeese@tutanota.com>
2024-02-16 08:48:20 +02:00
Meenbeese
370ba600c1 [tools] Fix the usage of stale Twine version
Signed-off-by: Meenbeese <meenbeese@tutanota.com>
2024-02-16 08:48:20 +02:00
Alexander Borsuk
ae43df9b66 Removed manual symlink creation
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-11-28 14:11:29 +01:00
Alexander Borsuk
d72319d4f2 [tools] Added af into tools/unix/translate_categories.sh
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-11-11 11:52:54 +01:00
zyphlar
0c3e1f5ae2 Fix sed syntax error
Signed-off-by: Will Bradley <bradley.will@gmail.com>
2023-11-10 22:16:25 +01:00
b8851702fc [core] Add outdoors map style support
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-11-02 09:50:46 -03:00
Ferenc Géczi
d48dafb6ef [tools] Remove former SKIP_QT_GUI from CMake cache
Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
2023-10-28 20:03:54 +02:00
Ferenc Géczi
3f69e6ca1a [tools] Fix building of "desktop" target
Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
2023-10-07 08:17:30 +02:00
Ferenc Géczi
84ca62a3f4 [tools] Fix building with standalone or designer on Linux
Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
2023-10-07 08:16:55 +02:00
Ferenc Géczi
e4062e70eb [tools] Build with SKIP_QT_GUI on by default
Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
2023-10-06 11:38:13 -03:00
Ferenc Géczi
d29008385a [qt][platform]: Add option to build without Qt positioning
Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
2023-10-06 11:38:13 -03:00
Harry Bond
cdec75ef7b [docs] some small improvements
Signed-off-by: Harry Bond <endim8@pm.me>
2023-10-04 07:09:25 +02:00
Ferenc Géczi
6f9cbc0be7 [cmake] Rename SKIP_DESKTOP to SKIP_QT_GUI
Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
2023-10-02 14:55:15 +02: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
David Martinez
2c2bea0836 [tools] Fix android path in generate_localizations.sh
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2023-09-04 02:22:19 +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
49d4019a77 [tools] Update kothic (Load priorities without drules types specified; Validate visibilities)
Re-enable dark drules generation.

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-08-09 19:16:04 -03:00
fe2cef35fd [tools] Update kothic (Remove drule types from prio.txt files)
Temporary disable dark drules.

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-08-09 19:16:04 -03:00
1cebf03f0e [tools] Update kothic (Load grouped priorities; Add comments with visibility range and other drules info)
Re-enable dark drules generation.

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-08-09 19:16:04 -03:00
f7386981f0 [tools] Update kothic (Group types with same priorities)
Temporary disable dark drules generation.

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-08-09 19:16:04 -03:00
d17a1a6f28 [styles] Dump priorities into separate files
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-08-09 19:16:04 -03:00
rokuz
5d9e5547c2 Review fixes
Signed-off-by: rokuz <r.kuznetsow@gmail.com>
2023-06-28 17:22:22 -03:00
rokuz
38bca34dd3 Fix script for generating Vulkan shaders
Signed-off-by: rokuz <r.kuznetsow@gmail.com>
2023-06-28 17:22:22 -03:00
Alexander Borsuk
ec56bd5a4a [tools] Updated translate script docs, added lt to Google Translate
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-05-26 01:36:37 +02:00
8b4cb8d662 [android] Fix Bahasa localization
`id` code is deprecated, please use `in` instead.

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2023-03-26 09:59:17 +03:00
96c71c2bd4 [android] Enable Hebrew localization
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2023-03-24 18:59:06 +02:00
Ferenc Géczi
40904fb7d9 [tools] Fix unbound variable in version.sh
When trying to build from branches that were older than 30 days,
the build failed with the following message:

 `version.sh: line 12: COUNT_AND_DATE: unbound variable`

This commit fixes that.

Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
2023-02-26 08:13:19 +01:00
Alexander Borsuk
3c1b2d1b2c [android] Automatically update locales_config.xml when new languages are added
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-02-22 21:18:55 +01:00
Alexander Borsuk
6956087114 [android] Fixed missing Traditional Chinese localization
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-02-21 13:23:49 +01:00
Alexander Borsuk
37277ddd37 [tools] Fixed wrong RTL translations generated by the trans tool
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-02-18 19:16:09 +01:00
Alexander Borsuk
2748875ba4 [tools] Script to reset all whats new to en-US version
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-02-10 09:34:33 +01:00
Alexander Borsuk
45125ba0d2 Use custom brew path on Mac if it is defined
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-12-22 09:05:44 +01:00