Commit graph

44 commits

Author SHA1 Message Date
cc74b73738 Housekeeping... 2022-09-10 13:25:18 +02:00
dba6f22e11 Housekeeping... 2022-06-27 09:29:23 +02:00
52543893f6 Fix build, merge translations 2022-06-24 19:00:02 +02:00
8066afd2e5 Housekeeping... 2022-06-22 18:56:02 +02:00
93a154a85d Translation sync 2022-06-01 20:21:16 +02:00
f2b3628733 Translation sync 2022-05-14 20:14:08 +02:00
16dd7399b3 Translation sync 2022-05-11 18:39:21 +02:00
OliNau
f6670a8d6f
Fixed typo and added additional mounting options
1. Fixed typo (one -> on)
2. Added camera:mount=street_lamp because it's the fourth most used tag and shown on the wiki
3. Added camera:mount=tree because it's a logical tag that can be used quite a number of times in my vicinity (not often used though)
2022-05-04 14:56:00 +02:00
303ccfa322 Translation sync 2022-04-18 01:47:54 +02:00
8db80d879a Translation sync 2022-04-13 18:42:40 +02:00
92f33a440e Revert "Translation sync + fix translation issue"
This reverts commit aaa59955cb.
2022-04-09 19:32:22 +02:00
aaa59955cb Translation sync + fix translation issue 2022-04-09 19:07:43 +02:00
0ec0367529 Translation sync 2022-04-09 17:35:21 +02:00
855959d623 Translation sync 2022-04-07 03:13:29 +02:00
c2f7403f04 Translation sync 2022-04-03 03:17:10 +02:00
320f38802d Add article to presets 2022-04-03 03:13:21 +02:00
f949a52d92 Add descriptions to builtin layers 2021-12-05 05:16:24 +01:00
925860ad63 Regen translations 2021-12-03 02:31:01 +01:00
51459d6fe2 Regenerate documentation 2021-12-03 02:30:25 +01:00
0018fcf1f0 Only do ID-check on tagrenderings for official themes 2021-11-11 17:14:03 +01:00
746273f594 Another sanity check, another bunch of fixed layers; add tagrendering-steal possibility, add some styling to TV-theme 2021-11-10 18:42:31 +01:00
b928bcda6f Remove obsolete keys through lint script (once more) 2021-11-07 21:20:05 +01:00
37231969e6 Merge branch 'master' into develop 2021-11-07 15:31:55 +01:00
2a49074ab6 Regenerate translations 2021-11-07 14:37:21 +01:00
a9489f6135 Merge master 2021-11-04 21:57:10 +01:00
d8d12c607b Translation sync, should fix #538 2021-11-04 17:14:17 +01:00
07bc5d6a6d Merge develop 2021-10-26 01:27:35 +02:00
680ff75cee Regenerate translations 2021-10-25 21:48:45 +02:00
e334f806bc Merge branch 'develop' into features/left-right-rendering 2021-10-22 14:01:47 +02:00
d40bf15bc7 Fix translations 2021-10-22 13:47:36 +02:00
a041fbf050 Theme format refactoring: move line properties into a seperate lineRendering configuration 2021-10-20 02:01:27 +02:00
1852eb8e52 Refactoring: moved pointRenderingConfig into seperate part of the configuration, removed roaming rendering capabilities 2021-10-19 03:00:57 +02:00
f386c3a25f Convert comments in tagRenderings into IDs as they were mostly used like this 2021-09-26 18:00:24 +02:00
73f76881c4 Use same formatting as weblate for translation files 2021-09-22 16:58:25 +02:00
70da6685e1 Fix themes + fix tests 2021-07-26 17:38:56 +02:00
00e2f56d3e Remove all old 'hideUnderlayingFeaturePercentages' as they aren't used anymore; check in script; fix #431 2021-07-26 10:37:11 +02:00
bd89e66aca Translation sync, move new question to the bottom 2021-07-18 18:02:17 +02:00
19d34454af Translation sync 2021-07-04 00:22:46 +02:00
833e3d8510 Translation sync 2021-06-04 17:23:17 +02:00
38b60526f6 Sync translations 2021-05-30 20:56:09 +02:00
40a79ab6a6 Formatting all the JSON files 2021-05-19 22:38:41 +02:00
Midgard
4a3537f925 Improve camera direction description
Also show the direction=* tag in camera popup (it was already used for
the icon orientation).
2021-04-28 21:53:59 +02:00
Midgard
122acf8674 Fix issues with camera rotation
This commit fixes at least these issues that I was aware of:
* Cardinal directions (e.g. NE) were not recognized.
* The camera icon did not rotatie when direction=* was used instead of
  camera:direction, but the blue direction visualizer did.

Pietervdvn said he would have liked to convert the code for direction
normalizing to calculatedTags in a JSON file (as documented in
Docs/CalculatedTags.md), but when he saw the oneliners I had to produce
in response, I was allowed to keep it in SimpleMetaTagger.ts for now.
For your amusement, the oneliners are included below.

    "calculatedTags": [
      "_direction:numerical=(dir => dir === undefined ? undefined : ({N: 0, NNE: 22.5, NE: 45, ENE: 67.5, E: 90, ESE: 112.5, SE: 135, SSE: 157.5, S: 180, SSW: 202.5, SW: 225, WSW: 247.5, W: 270, WNW: 292.5, NW: 315, NNW: 337.5}[dir] ?? (isNaN(parseFloat(dir)) ? undefined : ((parseFloat(dir) % 360 + 360) % 360)))))(feat.properties['camera:direction'] ?? feat.properties.direction)",
      "_direction:leftright=feat.properties['_direction:numerical'] === undefined ? undefined : (feat.properties['_direction:numerical'] <= 180 ? 'right' : 'left')"
    ]
2021-04-28 17:21:06 +02:00
ce9b0eabb1 Move layers to canonical paths, rewrite some regexes as 'or' as to make the taginfo-information more accurate 2021-04-20 10:49:45 +02:00