Compare commits
39 Commits
yannikblos
...
map-per-di
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c09831caaa | ||
|
|
005f731faa | ||
|
|
237894cd45 | ||
|
|
323b49388d | ||
|
|
da9f2af963 | ||
|
|
f292298c4e | ||
|
|
be15215b83 | ||
|
|
4ae64791ff | ||
|
|
1de35bb5f8 | ||
|
|
7b7df6ff2e | ||
|
|
33e2f4854e | ||
|
|
5b4fa55e83 | ||
|
|
83256c4895 | ||
|
|
94542456a2 | ||
|
|
dd620c3f0c | ||
|
|
a42db17858 | ||
|
|
738d0641ca | ||
|
|
4f5f8782fe | ||
|
|
a886270dda | ||
|
|
66609ff08b | ||
|
|
c8bfeb8e96 | ||
|
|
7fc5ed494b | ||
|
|
d9850f506a | ||
|
|
f16d14e07f | ||
|
|
7852cdb5a5 | ||
|
|
9a96096066 | ||
|
|
f72c4a28d9 | ||
|
|
68bb78b00d | ||
|
|
b9d4f082de | ||
|
|
7e40a0e642 | ||
|
|
0d3d1823d8 | ||
|
|
09e08c4c8f | ||
|
|
a0a5459b15 | ||
|
|
6e57f9a2ba | ||
|
|
d971c51fd1 | ||
|
|
ac23642462 | ||
|
|
cfe1ce2c67 | ||
|
|
e07b2e52b3 | ||
|
|
24f59a1344 |
@@ -5,10 +5,10 @@ on:
|
||||
jobs:
|
||||
description: 'Which job(s) to run right now?'
|
||||
required: true
|
||||
default: 'all'
|
||||
default: 'all-except-upload'
|
||||
type: choice
|
||||
options:
|
||||
- all
|
||||
- all-except-upload
|
||||
- copy-coasts
|
||||
- planet
|
||||
- wiki
|
||||
@@ -16,30 +16,82 @@ on:
|
||||
- subways
|
||||
- tiger
|
||||
- maps
|
||||
- upload
|
||||
map-generator-continue:
|
||||
description: 'Continue previous map generation?'
|
||||
required: false
|
||||
default: false
|
||||
type: boolean
|
||||
map-generator-countries:
|
||||
description: 'Generate specific MWMs? (i.e. "US_New York_*, foo")'
|
||||
required: false
|
||||
type: string
|
||||
reset:
|
||||
description: 'Reset part of the system?'
|
||||
required: false
|
||||
default: 'no'
|
||||
type: choice
|
||||
options:
|
||||
- 'no'
|
||||
- wiki-ratelimit
|
||||
|
||||
## RCLONE_CONF is multi-line text containing keys and credentials for us2,ru1,fi1,de1 servers
|
||||
|
||||
env:
|
||||
RCLONE_CONF: ${{ secrets.RCLONE_CONF }}
|
||||
WIKIMEDIA_USERNAME: ${{ secrets.WIKIMEDIA_USERNAME }}
|
||||
WIKIMEDIA_PASSWORD: ${{ secrets.WIKIMEDIA_PASSWORD }}
|
||||
S3_KEY_ID: ${{ secrets.S3_KEY_ID }}
|
||||
S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }}
|
||||
S3_ENDPOINT: ${{ secrets.S3_ENDPOINT }}
|
||||
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||
SFTP_USER: ${{ secrets.SFTP_USER }}
|
||||
SFTP_PASSWORD: ${{ secrets.SFTP_PASSWORD }}
|
||||
SFTP_HOST: ${{ secrets.SFTP_HOST }}
|
||||
SFTP_PATH: ${{ secrets.SFTP_PATH }}
|
||||
ZULIP_BOT_EMAIL: ${{ secrets.ZULIP_BOT_EMAIL }}
|
||||
ZULIP_API_KEY: ${{ secrets.ZULIP_API_KEY }}
|
||||
MWMCONTINUE: ${{ inputs.map-generator-continue }}
|
||||
MWMCOUNTRIES: ${{ inputs.map-generator-countries }}
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
TZ: Etc/UTC
|
||||
|
||||
jobs:
|
||||
copy-coasts:
|
||||
if: inputs.jobs == 'copy-coasts' || inputs.jobs == 'all'
|
||||
name: Copy Previously Generated Coasts
|
||||
clone-repos:
|
||||
name: Clone Git Repos
|
||||
runs-on: mapfilemaker
|
||||
container:
|
||||
image: ubuntu:latest
|
||||
image: codeberg.org/comaps/maps_generator:f6d53d54f794
|
||||
volumes:
|
||||
- /media/4tbexternal:/media/4tbexternal
|
||||
- /mnt/4tbexternal:/mnt/4tbexternal
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-map-generator-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
steps:
|
||||
- uses: actions/cache@v4
|
||||
with:
|
||||
path: "~"
|
||||
key: cache-${{ github.run_id }}-${{ github.run_attempt }}
|
||||
- name: Checkout main repo
|
||||
shell: bash
|
||||
run: |
|
||||
echo "Cloning $FORGEJO_SERVER_URL/$FORGEJO_REPOSITORY branch $FORGEJO_REF_NAME"
|
||||
cd ~
|
||||
git clone --recurse-submodules --shallow-submodules -b $FORGEJO_REF_NAME --single-branch $FORGEJO_SERVER_URL/$FORGEJO_REPOSITORY.git comaps
|
||||
- name: Checkout wikiparser repo
|
||||
shell: bash
|
||||
run: |
|
||||
cd ~
|
||||
git clone https://codeberg.org/comaps/wikiparser.git
|
||||
- name: Checkout subways repo
|
||||
shell: bash
|
||||
run: |
|
||||
cd ~
|
||||
git clone https://codeberg.org/comaps/subways.git
|
||||
|
||||
copy-coasts:
|
||||
if: inputs.jobs == 'copy-coasts' || inputs.jobs == 'all-except-upload'
|
||||
name: Copy Previously Generated Coasts
|
||||
runs-on: mapfilemaker
|
||||
needs:
|
||||
- clone-repos
|
||||
container:
|
||||
image: codeberg.org/comaps/maps_generator:f6d53d54f794
|
||||
volumes:
|
||||
- /mnt/4tbexternal/:/mnt/4tbexternal/
|
||||
- /mnt/4tbexternal/osm-planet:/home/planet
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-map-generator-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
@@ -47,336 +99,403 @@ jobs:
|
||||
- name: Copy Coasts
|
||||
shell: bash
|
||||
run: |
|
||||
if [ -f /media/4tbexternal/osm-maps/*/intermediate_data/WorldCoasts.geom ]; then
|
||||
cp /media/4tbexternal/osm-maps/*/intermediate_data/WorldCoasts.geom /media/4tbexternal/osm-planet/latest_coasts.geom
|
||||
cp /media/4tbexternal/osm-maps/*/intermediate_data/WorldCoasts.rawgeom /media/4tbexternal/osm-planet/latest_coasts.rawgeom
|
||||
echo "WorldCoasts available:"
|
||||
ls -al /mnt/4tbexternal/osm-maps/*/intermediate_data/WorldCoasts.*
|
||||
|
||||
if [ -f /mnt/4tbexternal/osm-maps/*/intermediate_data/WorldCoasts.geom ]; then
|
||||
|
||||
echo "Before:"
|
||||
ls -al /home/planet/latest_coasts*
|
||||
|
||||
cp -p /mnt/4tbexternal/osm-maps/*/intermediate_data/WorldCoasts.geom /home/planet/latest_coasts.geom
|
||||
cp -p /mnt/4tbexternal/osm-maps/*/intermediate_data/WorldCoasts.rawgeom /home/planet/latest_coasts.rawgeom
|
||||
|
||||
echo "After:"
|
||||
ls -al /home/planet/latest_coasts*
|
||||
|
||||
else
|
||||
|
||||
echo "No WorldCoasts found."
|
||||
|
||||
fi
|
||||
|
||||
update-planet:
|
||||
if: inputs.jobs == 'planet' || inputs.jobs == 'all'
|
||||
if: inputs.jobs == 'planet' || inputs.jobs == 'all-except-upload'
|
||||
name: Update Planet
|
||||
runs-on: mapfilemaker
|
||||
needs:
|
||||
- clone-repos
|
||||
container:
|
||||
image: ubuntu:latest
|
||||
image: codeberg.org/comaps/maps_generator:f6d53d54f794
|
||||
volumes:
|
||||
- /media/4tbexternal:/media/4tbexternal
|
||||
- /mnt/4tbexternal/:/mnt/4tbexternal/
|
||||
- /mnt/4tbexternal/osm-planet:/home/planet
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-map-generator-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
steps:
|
||||
- name: Install dependencies
|
||||
shell: bash
|
||||
run: |
|
||||
apt-get update -y
|
||||
apt-get install -y pyosmium osmium-tool python3-venv python3-pip wget2
|
||||
rm -f /usr/lib/python*/EXTERNALLY-MANAGED
|
||||
pip3 install "protobuf<4"
|
||||
- name: Download Planet File if Absent
|
||||
shell: bash
|
||||
# TODO: replace wget2 with curl -Z
|
||||
run: |
|
||||
if [ ! -d /media/4tbexternal/osm-planet/planet/ ]; then
|
||||
mkdir -p /media/4tbexternal/osm-planet/planet/
|
||||
if [ ! -d /home/planet/planet/ ]; then
|
||||
mkdir -p /home/planet/planet/
|
||||
fi
|
||||
if [ ! -f /media/4tbexternal/osm-planet/planet/planet-latest.osm.pbf ]; then
|
||||
cd /media/4tbexternal/osm-planet/planet/
|
||||
wget2 --verbose --progress=bar --continue --debug https://ftpmirror.your.org/pub/openstreetmap/pbf/planet-latest.osm.pbf
|
||||
if [ ! -f /home/planet/planet/planet-latest.osm.pbf ]; then
|
||||
cd /home/planet/planet/
|
||||
wget2 --verbose --progress=bar --continue https://ftpmirror.your.org/pub/openstreetmap/pbf/planet-latest.osm.pbf
|
||||
else
|
||||
echo "planet-latest.osm.pbf was found, raw download not required."
|
||||
fi
|
||||
- name: Update Planet
|
||||
shell: bash
|
||||
run: |
|
||||
cd /media/4tbexternal/osm-planet/planet/
|
||||
pyosmium-up-to-date planet-latest.osm.pbf -o planet-latest-new.osm.pbf -vv --size 16384
|
||||
cd /home/planet/planet/
|
||||
rm -f planet-latest-new.osm.pbf
|
||||
pyosmium-up-to-date planet-latest.osm.pbf -o planet-latest-new.osm.pbf -v --size 16384
|
||||
mv planet-latest-new.osm.pbf planet-latest.osm.pbf
|
||||
- name: Converting planet-latest.osm.pbf to planet.o5m
|
||||
run: /root/OM/osmctools/osmconvert planet-latest.osm.pbf -o=planet.o5m
|
||||
# TODO: better to run osmupdate (not convert) just before starting the maps jobs - for max fresh data.
|
||||
run: |
|
||||
echo "Starting..."
|
||||
cd /home/planet/planet/
|
||||
osmconvert -v --drop-author --drop-version --hash-memory=4000 planet-latest.osm.pbf -o=planet.o5m
|
||||
echo "Done."
|
||||
- name: Notify Zulip
|
||||
run: |
|
||||
curl -X POST https://comaps.zulipchat.com/api/v1/messages \
|
||||
-u $ZULIP_BOT_EMAIL:$ZULIP_API_KEY \
|
||||
--data-urlencode type=stream \
|
||||
--data-urlencode 'to="DevOps"' \
|
||||
--data-urlencode topic=codeberg-bot \
|
||||
--data-urlencode 'content=Planet update is done!'
|
||||
|
||||
wiki-update:
|
||||
if: inputs.jobs == 'wiki' || inputs.jobs == 'all'
|
||||
if: inputs.jobs == 'wiki' || inputs.jobs == 'all-except-upload'
|
||||
name: Update Wikipedia
|
||||
runs-on: mapfilemaker
|
||||
needs:
|
||||
- clone-repos
|
||||
container:
|
||||
image: ubuntu:latest
|
||||
image: codeberg.org/comaps/maps_generator:f6d53d54f794
|
||||
volumes:
|
||||
- /media/4tbexternal:/media/4tbexternal
|
||||
- /mnt/4tbexternal/:/mnt/4tbexternal/
|
||||
- /mnt/4tbexternal/osm-planet:/home/planet
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-map-generator-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
steps:
|
||||
- name: Install dependencies
|
||||
shell: bash
|
||||
run: |
|
||||
apt-get update -y
|
||||
apt-get install -y jq curl wget2 rustc cargo git ca-certificates
|
||||
- name: Clone wikiparser if necessary
|
||||
shell: bash
|
||||
run: |
|
||||
if [ ! -d /media/4tbexternal/wikiparser ]; then
|
||||
cd /media/4tbexternal
|
||||
git clone https://codeberg.org/comaps/wikiparser.git
|
||||
fi
|
||||
- uses: actions/cache@v4
|
||||
with:
|
||||
path: "~"
|
||||
key: cache-${{ github.run_id }}-${{ github.run_attempt }}
|
||||
- name: Check for planet file
|
||||
shell: bash
|
||||
# TODO: remove debug output
|
||||
run: |
|
||||
if [ ! -f /media/4tbexternal/osm-planet/planet/planet-latest.osm.pbf ]; then
|
||||
echo "ERROR: No file at /media/4tbexternal/osm-planet/planet/planet-latest.osm.pbf"
|
||||
ls -al /media/4tbexternal/
|
||||
ls -al /media/4tbexternal/osm-planet/
|
||||
ls -al /media/4tbexternal/osm-planet/planet/
|
||||
if [ ! -f /home/planet/planet/planet-latest.osm.pbf ]; then
|
||||
echo "ERROR: No file at /home/planet/planet/planet-latest.osm.pbf"
|
||||
ls -al /home/planet/
|
||||
ls -al /home/planet/planet/
|
||||
exit 1
|
||||
fi
|
||||
- name: Only get new dumps once per 30 days
|
||||
shell: bash
|
||||
run: |
|
||||
if [[ '${{ inputs.reset }}' == 'wiki-ratelimit' ]]; then
|
||||
echo "Bypassing wiki rate limit upon request."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
datediff() {
|
||||
d1=$(date -d "$1" +%s)
|
||||
d2=$(date -d "$2" +%s)
|
||||
echo $(( (d1 - d2) / 86400 ))
|
||||
}
|
||||
RECENTDUMPDATE=$(find /home/planet/wikipedia/dumps/ -mindepth 1 -maxdepth 1 -iname "2*" -type d | sort -n -r | head -1 | cut -d/ -f6)
|
||||
TODAY=$(date +%Y%m%d)
|
||||
DATEDIFF=$(datediff $TODAY $RECENTDUMPDATE)
|
||||
if [ $DATEDIFF -lt 30 ]; then
|
||||
echo "ERROR: The most recent wiki dump is from $RECENTDUMPDATE, $DATEDIFF days ago. Wikimedia limits users to 15 snapshot requests per month."
|
||||
echo "Set the 'reset' option to 'wiki-ratelimit' to bypass this."
|
||||
ls -al /home/planet/wikipedia/dumps/
|
||||
exit 1
|
||||
fi
|
||||
- name: Update Wikipedia from Enterprise API
|
||||
shell: bash
|
||||
run: |
|
||||
mkdir -p /media/4tbexternal/osm-planet/wikipedia/dumps
|
||||
mkdir -p /media/4tbexternal/osm-planet/wikipedia/build
|
||||
cd /media/4tbexternal/wikiparser
|
||||
#todo: curl in download.sh can fail when rate limited and even save error messages to the output. need to validate.
|
||||
#downloading all languages can also trigger rate limits or fail as well. needs work.
|
||||
#also: a failure to download means a failure to build, and could result in no wiki descriptions etc.
|
||||
#also-also: do we want to remove old wiki data in planet between builds? pastk: no need, its being updated / augmented
|
||||
mkdir -p /home/planet/wikipedia/dumps
|
||||
mkdir -p /home/planet/wikipedia/build
|
||||
cd ~/wikiparser
|
||||
ls -al
|
||||
echo "Downloading ..."
|
||||
./download.sh /media/4tbexternal/osm-planet/wikipedia/dumps
|
||||
./download.sh /home/planet/wikipedia/dumps
|
||||
ls -al /home/planet/wikipedia/dumps/*
|
||||
echo "Running ..."
|
||||
./run.sh /media/4tbexternal/osm-planet/wikipedia/build \
|
||||
/media/4tbexternal/osm-planet/planet/planet-latest.osm.pbf \
|
||||
/media/4tbexternal/osm-planet/wikipedia/dumps/latest/*.tar.gz
|
||||
./run.sh /home/planet/wikipedia/build \
|
||||
/home/planet/planet/planet-latest.osm.pbf \
|
||||
/home/planet/wikipedia/dumps/latest/*.tar.gz
|
||||
echo "DONE"
|
||||
- name: Check that the latest dumps are present, recent, and not super tiny
|
||||
shell: bash
|
||||
run: |
|
||||
FAILCHECK=0
|
||||
|
||||
# Check all .tar.gz files in /home/planet/wikipedia/dumps/latest/
|
||||
for file in /home/planet/wikipedia/dumps/latest/*.tar.gz; do
|
||||
# Check if file exists (handles case where glob doesn't match)
|
||||
[ -e "$file" ] || continue
|
||||
|
||||
# Get file size in MB and modification time in days
|
||||
size_mb=$(stat -f%z "$file" 2>/dev/null | awk '{print int($1/1024/1024)}' || stat -c%s "$file" | awk
|
||||
'{print int($1/1024/1024)}')
|
||||
days_old=$(find "$file" -mtime -7 | wc -l)
|
||||
|
||||
# Verify conditions
|
||||
if [ "$size_mb" -lt 100 ]; then
|
||||
echo "FAIL: $file is only ${size_mb}MB (< 100MB)"
|
||||
FAILCHECK=1
|
||||
elif [ "$days_old" -eq 0 ]; then
|
||||
echo "FAIL: $file is older than 7 days"
|
||||
ls -al $file
|
||||
FAILCHECK=1
|
||||
else
|
||||
echo "PASS: $file (${size_mb}MB, modified within 7 days)"
|
||||
fi
|
||||
done
|
||||
|
||||
exit $FAILCHECK
|
||||
- name: Notify Zulip
|
||||
run: |
|
||||
curl -X POST https://comaps.zulipchat.com/api/v1/messages \
|
||||
-u $ZULIP_BOT_EMAIL:$ZULIP_API_KEY \
|
||||
--data-urlencode type=stream \
|
||||
--data-urlencode 'to="DevOps"' \
|
||||
--data-urlencode topic=codeberg-bot \
|
||||
--data-urlencode 'content=Wiki update is done!'
|
||||
|
||||
update-isolines:
|
||||
if: inputs.jobs == 'isolines' || inputs.jobs == 'all'
|
||||
if: inputs.jobs == 'isolines' || inputs.jobs == 'all-except-upload'
|
||||
name: Update Isolines
|
||||
runs-on: mapfilemaker
|
||||
needs:
|
||||
- clone-repos
|
||||
container:
|
||||
image: ubuntu:latest
|
||||
image: codeberg.org/comaps/maps_generator:f6d53d54f794
|
||||
volumes:
|
||||
- /media/4tbexternal:/media/4tbexternal
|
||||
- /mnt/4tbexternal/:/mnt/4tbexternal/
|
||||
- /mnt/4tbexternal/osm-planet:/home/planet
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-map-generator-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
steps:
|
||||
- name: Install dependencies
|
||||
shell: bash
|
||||
run: |
|
||||
apt-get update -qq \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
curl \
|
||||
osmctools \
|
||||
rclone \
|
||||
git \
|
||||
ca-certificates \
|
||||
openssh-client \
|
||||
sshpass \
|
||||
vim \
|
||||
wget \
|
||||
build-essential \
|
||||
clang \
|
||||
cmake \
|
||||
python3 \
|
||||
python3-pip \
|
||||
python3.12-venv \
|
||||
qt6-base-dev \
|
||||
qt6-positioning-dev \
|
||||
libc++-dev \
|
||||
libfreetype-dev \
|
||||
libglvnd-dev \
|
||||
libgl1-mesa-dev \
|
||||
libharfbuzz-dev \
|
||||
libicu-dev \
|
||||
libqt6svg6-dev \
|
||||
libqt6positioning6-plugins \
|
||||
libqt6positioning6 \
|
||||
libsqlite3-dev \
|
||||
libxrandr-dev \
|
||||
libxinerama-dev \
|
||||
libxcursor-dev \
|
||||
libxi-dev \
|
||||
zlib1g-dev
|
||||
rm -f /usr/lib/python*/EXTERNALLY-MANAGED
|
||||
pip3 install "protobuf<4"
|
||||
- name: Clone main repo if necessary
|
||||
shell: bash
|
||||
run: |
|
||||
if [ ! -d /media/4tbexternal/comaps-init ]; then
|
||||
apt-get update -qq && apt-get install -y --no-install-recommends git
|
||||
cd /media/4tbexternal
|
||||
git clone --recurse-submodules --shallow-submodules -b rebase-generator-pastk-wb251014 --single-branch https://codeberg.org/comaps/comaps.git comaps-init
|
||||
fi
|
||||
- uses: actions/cache@v4
|
||||
with:
|
||||
path: "~"
|
||||
key: cache-${{ github.run_id }}-${{ github.run_attempt }}
|
||||
# TODO: we only need to update these if our SRTM or countries change
|
||||
# TODO: after update, verify that sizable files exist: /home/planet/isolines/*.isolines
|
||||
- name: Update Isolines
|
||||
shell: bash
|
||||
# TODO: preserve previous isolines version?
|
||||
# TODO: cleanup the tmp-tiles dir after completion
|
||||
run: |
|
||||
cd /media/4tbexternal/comaps-init/
|
||||
./tools/unix/build_omim.sh -R topography_generator_tool
|
||||
rm -rf ../osm-planet/isolines/
|
||||
mkdir ../osm-planet/isolines/
|
||||
../omim-build-relwithdebinfo/topography_generator_tool \
|
||||
cd ~/comaps/
|
||||
./tools/unix/build_omim.sh -p ~ -R topography_generator_tool
|
||||
rm -rf /home/planet/isolines/
|
||||
mkdir /home/planet/isolines/
|
||||
~/omim-build-relwithdebinfo/topography_generator_tool \
|
||||
--profiles_path=./data/conf/isolines/isolines-profiles.json \
|
||||
--countries_to_generate_path=./data/conf/isolines/countries-to-generate.json \
|
||||
--tiles_isolines_out_dir=../osm-planet/isolines/tmp-tiles/ \
|
||||
--countries_isolines_out_dir=../osm-planet/isolines/ \
|
||||
--tiles_isolines_out_dir=/home/planet/isolines/tmp-tiles/ \
|
||||
--countries_isolines_out_dir=/home/planet/isolines/ \
|
||||
--data_dir=./data/ \
|
||||
--srtm_path=../osm-planet/SRTM-patched-europe/ \
|
||||
--threads=22
|
||||
--srtm_path=/home/planet/SRTM-patched-europe/ \
|
||||
--threads=96
|
||||
- name: Check isolines
|
||||
shell: bash
|
||||
run: |
|
||||
NUMISO=$(ls -al /home/planet/isolines/*.isolines | wc -l)
|
||||
echo "Found $NUMISO isolines"
|
||||
if [ $NUMISO -lt 10 ]; then
|
||||
echo "ERROR: Did generation fail?"
|
||||
exit 1
|
||||
fi
|
||||
- name: Notify Zulip
|
||||
run: |
|
||||
curl -X POST https://comaps.zulipchat.com/api/v1/messages \
|
||||
-u $ZULIP_BOT_EMAIL:$ZULIP_API_KEY \
|
||||
--data-urlencode type=stream \
|
||||
--data-urlencode 'to="DevOps"' \
|
||||
--data-urlencode topic=codeberg-bot \
|
||||
--data-urlencode 'content=Isolines are done!'
|
||||
|
||||
update-subways:
|
||||
if: inputs.jobs == 'subways' || inputs.jobs == 'all'
|
||||
if: inputs.jobs == 'subways' || inputs.jobs == 'all-except-upload'
|
||||
name: Update Subways
|
||||
runs-on: mapfilemaker
|
||||
needs:
|
||||
- clone-repos
|
||||
container:
|
||||
image: ubuntu:latest
|
||||
image: codeberg.org/comaps/maps_generator:f6d53d54f794
|
||||
volumes:
|
||||
- /media/4tbexternal:/media/4tbexternal
|
||||
- /mnt/4tbexternal/:/mnt/4tbexternal/
|
||||
- /mnt/4tbexternal/osm-planet:/home/planet
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-map-generator-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
steps:
|
||||
- name: Install dependencies
|
||||
shell: bash
|
||||
run: |
|
||||
apt-get update -qq && apt-get install -y --no-install-recommends curl osmctools osmium-tool python3-venv ca-certificates git python3-pip
|
||||
rm -f /usr/lib/python*/EXTERNALLY-MANAGED
|
||||
pip3 install "protobuf<4"
|
||||
- name: Clone subways if necessary
|
||||
shell: bash
|
||||
run: |
|
||||
if [ ! -d /media/4tbexternal/subways ]; then
|
||||
cd /media/4tbexternal
|
||||
git clone https://codeberg.org/comaps/subways.git
|
||||
fi
|
||||
- name: Clone main repo if necessary
|
||||
shell: bash
|
||||
run: |
|
||||
if [ ! -d /media/4tbexternal/comaps-init ]; then
|
||||
cd /media/4tbexternal
|
||||
git clone --recurse-submodules --shallow-submodules -b rebase-generator-pastk-wb251014 --single-branch https://codeberg.org/comaps/comaps.git comaps-init
|
||||
fi
|
||||
- uses: actions/cache@v4
|
||||
with:
|
||||
path: "~"
|
||||
key: cache-${{ github.run_id }}-${{ github.run_attempt }}
|
||||
- name: Update Subways
|
||||
shell: bash
|
||||
run: |
|
||||
cd /media/4tbexternal/comaps-init/
|
||||
cd ~/comaps/
|
||||
cp tools/unix/maps/settings.sh.prod tools/unix/maps/settings.sh
|
||||
./tools/unix/maps/generate_subways.sh
|
||||
- name: Notify Zulip
|
||||
run: |
|
||||
curl -X POST https://comaps.zulipchat.com/api/v1/messages \
|
||||
-u $ZULIP_BOT_EMAIL:$ZULIP_API_KEY \
|
||||
--data-urlencode type=stream \
|
||||
--data-urlencode 'to="DevOps"' \
|
||||
--data-urlencode topic=codeberg-bot \
|
||||
--data-urlencode 'content=Subways are done!'
|
||||
|
||||
update-tiger:
|
||||
if: inputs.jobs == 'tiger' || inputs.jobs == 'all'
|
||||
if: inputs.jobs == 'tiger' || inputs.jobs == 'all-except-upload'
|
||||
name: Update TIGER
|
||||
runs-on: mapfilemaker
|
||||
needs:
|
||||
- clone-repos
|
||||
container:
|
||||
image: ubuntu:latest
|
||||
image: codeberg.org/comaps/maps_generator:f6d53d54f794
|
||||
volumes:
|
||||
- /media/4tbexternal:/media/4tbexternal
|
||||
- /mnt/4tbexternal/:/mnt/4tbexternal/
|
||||
- /mnt/4tbexternal/osm-planet:/home/planet
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-map-generator-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
steps:
|
||||
- name: Install dependencies
|
||||
shell: bash
|
||||
run: |
|
||||
apt-get update -qq && apt-get install -y --no-install-recommends \
|
||||
build-essential \
|
||||
clang \
|
||||
cmake \
|
||||
ninja-build \
|
||||
ca-certificates \
|
||||
git \
|
||||
wget2
|
||||
- name: Clone main repo if necessary
|
||||
shell: bash
|
||||
run: |
|
||||
if [ ! -d /media/4tbexternal/comaps-init ]; then
|
||||
cd /media/4tbexternal
|
||||
git clone --recurse-submodules --shallow-submodules -b rebase-generator-pastk-wb251014 --single-branch https://codeberg.org/comaps/comaps.git comaps-init
|
||||
fi
|
||||
- uses: actions/cache@v4
|
||||
with:
|
||||
path: "~"
|
||||
key: cache-${{ github.run_id }}-${{ github.run_attempt }}
|
||||
- name: Build address_parser
|
||||
shell: bash
|
||||
run: |
|
||||
cd /media/4tbexternal/comaps-init
|
||||
rm -rf ../omim-build-relwithdebinfo/CMakeCache.txt
|
||||
rm -rf ../omim-build-relwithdebinfo/CMakeFiles
|
||||
./tools/unix/build_omim.sh -R address_parser_tool
|
||||
cd ~/comaps
|
||||
#rm -rf ~/omim-build-relwithdebinfo/CMakeCache.txt
|
||||
#rm -rf ~/omim-build-relwithdebinfo/CMakeFiles
|
||||
./tools/unix/build_omim.sh -p ~ -R address_parser_tool
|
||||
- name: Update TIGER from Nominatim
|
||||
shell: bash
|
||||
# TODO: use curl instead of wget2
|
||||
run: |
|
||||
cd /media/4tbexternal/osm-planet/
|
||||
# TODO: maybe remove old osm-planet/tiger first?
|
||||
cd /home/planet/
|
||||
mkdir -p tiger
|
||||
wget2 https://nominatim.org/data/tiger-nominatim-preprocessed-latest.csv.tar.gz
|
||||
tar -xOzf tiger-nominatim-preprocessed-latest.csv.tar.gz | /media/4tbexternal/omim-build-relwithdebinfo/address_parser_tool --output_path=./tiger
|
||||
cd ~/comaps
|
||||
tar -xOzf /home/planet/tiger-nominatim-preprocessed-latest.csv.tar.gz | ~/omim-build-relwithdebinfo/address_parser_tool --output_path=/home/planet/tiger
|
||||
|
||||
generate-maps:
|
||||
if: inputs.jobs == 'maps' || inputs.jobs == 'all'
|
||||
if: inputs.jobs == 'maps' || inputs.jobs == 'all-except-upload'
|
||||
name: Generate Maps
|
||||
runs-on: mapfilemaker
|
||||
needs:
|
||||
- clone-repos
|
||||
timeout-minutes: 40320
|
||||
container:
|
||||
image: ubuntu:latest
|
||||
image: codeberg.org/comaps/maps_generator:f6d53d54f794
|
||||
volumes:
|
||||
- /media/4tbexternal:/media/4tbexternal
|
||||
- /mnt/4tbexternal/:/mnt/4tbexternal/
|
||||
- /mnt/4tbexternal/osm-planet:/home/planet
|
||||
options: --ulimit nofile=262144:262144
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-map-generator-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
steps:
|
||||
- name: Install dependencies
|
||||
shell: bash
|
||||
run: |
|
||||
apt-get update -qq \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
curl \
|
||||
osmctools \
|
||||
rclone \
|
||||
git \
|
||||
ca-certificates \
|
||||
openssh-client \
|
||||
sshpass \
|
||||
vim \
|
||||
wget \
|
||||
build-essential \
|
||||
clang \
|
||||
cmake \
|
||||
ninja-build \
|
||||
python3 \
|
||||
python3-pip \
|
||||
python3.12-venv \
|
||||
qt6-base-dev \
|
||||
qt6-positioning-dev \
|
||||
libc++-dev \
|
||||
libfreetype-dev \
|
||||
libglvnd-dev \
|
||||
libgl1-mesa-dev \
|
||||
libharfbuzz-dev \
|
||||
libicu-dev \
|
||||
libqt6svg6-dev \
|
||||
libqt6positioning6-plugins \
|
||||
libqt6positioning6 \
|
||||
libsqlite3-dev \
|
||||
libxrandr-dev \
|
||||
libxinerama-dev \
|
||||
libxcursor-dev \
|
||||
libxi-dev \
|
||||
zlib1g-dev
|
||||
- name: Clone repo if necessary
|
||||
shell: bash
|
||||
run: |
|
||||
if [ ! -d /media/4tbexternal/comaps-init ]; then
|
||||
cd /media/4tbexternal
|
||||
git clone --recurse-submodules --shallow-submodules -b rebase-generator-pastk-wb251014 --single-branch https://codeberg.org/comaps/comaps.git comaps-init
|
||||
fi
|
||||
- uses: actions/cache@v4
|
||||
with:
|
||||
path: "~"
|
||||
key: cache-${{ github.run_id }}-${{ github.run_attempt }}
|
||||
- name: Make output folders if necessary
|
||||
shell: bash
|
||||
run: |
|
||||
if [ ! -d /media/4tbexternal/osm-maps ]; then
|
||||
mkdir -p /media/4tbexternal/osm-maps
|
||||
if [ ! -d /mnt/4tbexternal/osm-maps ]; then
|
||||
mkdir -p /mnt/4tbexternal/osm-maps
|
||||
fi
|
||||
- name: Get SRTM if necessary
|
||||
# TODO: it should be a separate step like Wiki or isolines
|
||||
shell: bash
|
||||
run: |
|
||||
if [ ! -d /media/4tbexternal/osm-planet/SRTM-patched-europe/ ]; then
|
||||
if [ ! -d /home/planet/SRTM-patched-europe/ ]; then
|
||||
echo "ERROR: NO SRTM"
|
||||
exit 1
|
||||
fi
|
||||
- name: Symlink paths for repo scripts
|
||||
shell: bash
|
||||
run: |
|
||||
mkdir -p /root/OM
|
||||
ln -s /media/4tbexternal/comaps-init /root/OM/organicmaps
|
||||
ln -s /media/4tbexternal/osm-planet /home/planet
|
||||
ln -s /media/4tbexternal/osm-maps /root/OM/maps_build
|
||||
- name: Run docker_maps_generator.sh
|
||||
shell: bash
|
||||
run: |
|
||||
cd /root/OM/organicmaps
|
||||
./tools/unix/docker_maps_generator.sh
|
||||
cd ~/comaps
|
||||
bash ./tools/unix/maps/docker_maps_generator.sh
|
||||
- name: Notify Zulip
|
||||
run: |
|
||||
curl -X POST https://comaps.zulipchat.com/api/v1/messages \
|
||||
-u $ZULIP_BOT_EMAIL:$ZULIP_API_KEY \
|
||||
--data-urlencode type=stream \
|
||||
--data-urlencode 'to="DevOps"' \
|
||||
--data-urlencode topic=codeberg-bot \
|
||||
--data-urlencode 'content=Generator is done!'
|
||||
|
||||
upload-maps:
|
||||
if: inputs.jobs == 'upload'
|
||||
name: Upload Maps
|
||||
runs-on: mapfilemaker
|
||||
container:
|
||||
image: codeberg.org/comaps/maps_generator:f6d53d54f794
|
||||
volumes:
|
||||
- /mnt/4tbexternal/:/mnt/4tbexternal/
|
||||
- /mnt/4tbexternal/osm-planet:/home/planet
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-map-generator-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
steps:
|
||||
- name: Write config file
|
||||
run: |
|
||||
mkdir -p ~/.config/rclone/
|
||||
echo "${{ secrets.RCLONE_CONF }}" > ~/.config/rclone/rclone.conf
|
||||
- name: Upload map files to CDNs
|
||||
shell: bash
|
||||
run: |
|
||||
shopt -s nullglob
|
||||
buildfolder=$(find /mnt/4tbexternal/osm-maps/ -mindepth 1 -maxdepth 1 -iname "2*" -type d | sort -n -r | head -1 | cut -d/ -f5)
|
||||
builddate=$(find /mnt/4tbexternal/osm-maps/*/ -mindepth 1 -maxdepth 1 -iname "2*" -type d | sort -n -r | head -1 | cut -d/ -f6)
|
||||
mwmfiles=( /mnt/4tbexternal/osm-maps/$buildfolder/$builddate/*.mwm )
|
||||
|
||||
if (( ${#mwmfiles[@]} )); then
|
||||
echo "<$(date +%T)> Uploading maps from $buildfolder/$builddate..."
|
||||
cd ~/comaps/tools/unix/maps
|
||||
./upload_to_cdn.sh /mnt/4tbexternal/osm-maps/$buildfolder/$builddate
|
||||
echo "<$(date +%T)> Finished uploading maps from $buildfolder/$builddate."
|
||||
else
|
||||
echo "<$(date +%T)> No MWM files in /mnt/4tbexternal/osm-maps/$buildfolder/$builddate/*.mwm, not uploading maps."
|
||||
echo "<$(date +%T)> Found top level: $(ls -alt /mnt/4tbexternal/osm-maps/*)"
|
||||
echo "<$(date +%T)> Found second level: $(ls -alt /mnt/4tbexternal/osm-maps/$buildfolder/*)"
|
||||
fi
|
||||
- name: Notify Zulip
|
||||
run: |
|
||||
curl -X POST https://comaps.zulipchat.com/api/v1/messages \
|
||||
-u $ZULIP_BOT_EMAIL:$ZULIP_API_KEY \
|
||||
--data-urlencode type=stream \
|
||||
--data-urlencode 'to="DevOps"' \
|
||||
--data-urlencode topic=codeberg-bot \
|
||||
--data-urlencode 'content=Upload is done!'
|
||||
|
||||
|
||||
1
.gitignore
vendored
@@ -9,6 +9,7 @@ Makefile.Release
|
||||
object_script.*.Debug
|
||||
object_script.*.Release
|
||||
compile_commands.json
|
||||
*.local.*
|
||||
|
||||
stxxl.errlog
|
||||
stxxl.log
|
||||
|
||||
@@ -357,7 +357,7 @@ class DownloaderAdapter extends RecyclerView.Adapter<DownloaderAdapter.ViewHolde
|
||||
|
||||
private MenuBottomSheetItem getCancelMenuItem()
|
||||
{
|
||||
return new MenuBottomSheetItem(R.string.cancel, R.drawable.ic_cancel, () -> onCancelActionSelected(mSelectedItem));
|
||||
return new MenuBottomSheetItem(R.string.cancel, R.drawable.ic_close, () -> onCancelActionSelected(mSelectedItem));
|
||||
}
|
||||
|
||||
private class ItemViewHolder extends BaseInnerViewHolder<CountryItem>
|
||||
|
||||
@@ -153,6 +153,7 @@ public class EditorFragment extends BaseMwmFragment implements View.OnClickListe
|
||||
private final Map<Metadata.MetadataType, View> mDetailsBlocks = new HashMap<>();
|
||||
private final Map<Metadata.MetadataType, View> mSocialMediaBlocks = new HashMap<>();
|
||||
private MaterialButton mReset;
|
||||
private MaterialButton mDisused;
|
||||
|
||||
private EditorHostFragment mParent;
|
||||
|
||||
@@ -827,6 +828,8 @@ public class EditorFragment extends BaseMwmFragment implements View.OnClickListe
|
||||
osmInfo.setMovementMethod(LinkMovementMethod.getInstance());
|
||||
mReset = view.findViewById(R.id.reset);
|
||||
mReset.setOnClickListener(this);
|
||||
mDisused = view.findViewById(R.id.disused);
|
||||
mDisused.setOnClickListener(this);
|
||||
|
||||
mDetailsBlocks.put(Metadata.MetadataType.FMD_OPEN_HOURS, blockOpeningHours);
|
||||
mDetailsBlocks.put(Metadata.MetadataType.FMD_PHONE_NUMBER, blockPhone);
|
||||
@@ -894,6 +897,8 @@ public class EditorFragment extends BaseMwmFragment implements View.OnClickListe
|
||||
mParent.addLanguage();
|
||||
else if (id == R.id.reset)
|
||||
reset();
|
||||
else if (id == R.id.disused)
|
||||
placeDisused();
|
||||
else if (id == R.id.block_outdoor_seating)
|
||||
mOutdoorSeating.toggle();
|
||||
}
|
||||
@@ -939,9 +944,12 @@ public class EditorFragment extends BaseMwmFragment implements View.OnClickListe
|
||||
if (mParent.addingNewObject())
|
||||
{
|
||||
UiUtils.hide(mReset);
|
||||
UiUtils.hide(mDisused);
|
||||
return;
|
||||
}
|
||||
|
||||
mDisused.setVisibility(Editor.nativeCanMarkPlaceAsDisused() ? View.VISIBLE : View.GONE);
|
||||
|
||||
if (Editor.nativeIsMapObjectUploaded())
|
||||
{
|
||||
mReset.setText(R.string.editor_place_doesnt_exist);
|
||||
@@ -1014,6 +1022,19 @@ public class EditorFragment extends BaseMwmFragment implements View.OnClickListe
|
||||
dialogFragment.setTextSaveListener(this::commitPlaceDoesntExists);
|
||||
}
|
||||
|
||||
private void placeDisused()
|
||||
{
|
||||
new MaterialAlertDialogBuilder(requireActivity(), R.style.MwmTheme_AlertDialog)
|
||||
.setTitle(R.string.editor_mark_business_vacant_title)
|
||||
.setMessage(R.string.editor_mark_business_vacant_description)
|
||||
.setPositiveButton(R.string.editor_submit, (dlg, which) -> {
|
||||
Editor.nativeMarkPlaceAsDisused();
|
||||
mParent.processEditedFeatures();
|
||||
})
|
||||
.setNegativeButton(android.R.string.cancel, null)
|
||||
.show();
|
||||
}
|
||||
|
||||
private void commitPlaceDoesntExists(@NonNull String text)
|
||||
{
|
||||
Editor.nativePlaceDoesNotExist(text);
|
||||
|
||||
@@ -358,7 +358,7 @@ public class EditorHostFragment
|
||||
.show();
|
||||
}
|
||||
|
||||
private void processEditedFeatures()
|
||||
public void processEditedFeatures()
|
||||
{
|
||||
if (OsmOAuth.isAuthorized())
|
||||
{
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
package app.organicmaps.widget.placepage;
|
||||
|
||||
import java.time.ZonedDateTime;
|
||||
import java.time.format.TextStyle;
|
||||
import java.util.Locale;
|
||||
|
||||
public class OpenStateTextFormatter
|
||||
{
|
||||
private OpenStateTextFormatter() {}
|
||||
|
||||
static String formatHoursMinutes(int hour, int minute, boolean use24h)
|
||||
{
|
||||
if (use24h)
|
||||
return String.format(Locale.ROOT, "%02d:%02d", hour, minute);
|
||||
|
||||
int h = hour % 12;
|
||||
if (h == 0) h = 12;
|
||||
String ampm = (hour < 12) ? "AM" : "PM";
|
||||
return String.format(Locale.ROOT, "%d:%02d %s", h, minute, ampm);
|
||||
}
|
||||
|
||||
static boolean isSameLocalDate(ZonedDateTime a, ZonedDateTime b)
|
||||
{
|
||||
return a.toLocalDate().isEqual(b.toLocalDate());
|
||||
}
|
||||
|
||||
static String dayShort(ZonedDateTime t, Locale locale)
|
||||
{
|
||||
return t.getDayOfWeek().getDisplayName(TextStyle.SHORT, locale);
|
||||
}
|
||||
|
||||
static String buildAtLabel(
|
||||
boolean opens,
|
||||
boolean isToday,
|
||||
String dayShort,
|
||||
String time,
|
||||
String opensAtLocalized,
|
||||
String closesAtLocalized,
|
||||
String opensDayAtLocalized,
|
||||
String closesDayAtLocalized
|
||||
)
|
||||
{
|
||||
if (isToday)
|
||||
return opens ? String.format(Locale.ROOT, opensAtLocalized, time) // Opens at %s
|
||||
: String.format(Locale.ROOT, closesAtLocalized, time); // Closes at %s
|
||||
return opens ? String.format(Locale.ROOT, opensDayAtLocalized, dayShort, time) // Opens %s at %s
|
||||
: String.format(Locale.ROOT, closesDayAtLocalized, dayShort, time); // Closes %s at %s
|
||||
}
|
||||
}
|
||||
@@ -85,9 +85,11 @@ import com.google.android.material.textview.MaterialTextView;
|
||||
import java.time.Instant;
|
||||
import java.time.ZoneId;
|
||||
import java.time.ZonedDateTime;
|
||||
import java.time.format.TextStyle;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
|
||||
public class PlacePageView extends Fragment
|
||||
implements View.OnClickListener, View.OnLongClickListener, LocationListener, SensorListener, Observer<MapObject>,
|
||||
@@ -105,6 +107,10 @@ public class PlacePageView extends Fragment
|
||||
private static final String LINKS_FRAGMENT_TAG = "LINKS_FRAGMENT_TAG";
|
||||
private static final String TRACK_SHARE_MENU_ID = "TRACK_SHARE_MENU_ID";
|
||||
|
||||
private static final int SHORT_HORIZON_CLOSE_MIN = 60;
|
||||
|
||||
private static final int SHORT_HORIZON_OPEN_MIN = 15;
|
||||
|
||||
private static final List<CoordinatesFormat> visibleCoordsFormat =
|
||||
Arrays.asList(CoordinatesFormat.LatLonDMS, CoordinatesFormat.LatLonDecimal, CoordinatesFormat.OLCFull,
|
||||
CoordinatesFormat.UTM, CoordinatesFormat.MGRS, CoordinatesFormat.OSMLink);
|
||||
@@ -797,57 +803,95 @@ public class PlacePageView extends Fragment
|
||||
final String ohStr = mMapObject.getMetadata(Metadata.MetadataType.FMD_OPEN_HOURS);
|
||||
final Timetable[] timetables = OpeningHours.nativeTimetablesFromString(ohStr);
|
||||
|
||||
if (timetables != null && timetables.length != 0)
|
||||
// No valid timetable
|
||||
if (timetables == null || timetables.length == 0)
|
||||
{
|
||||
final Context context = requireContext();
|
||||
final OhState poiState = OpeningHours.nativeCurrentState(timetables);
|
||||
|
||||
// Ignore unknown rule state
|
||||
if (poiState.state == OhState.State.Unknown)
|
||||
{
|
||||
UiUtils.hide(mTvOpenState);
|
||||
return;
|
||||
}
|
||||
|
||||
// Get colours
|
||||
final ForegroundColorSpan colorGreen =
|
||||
new ForegroundColorSpan(ContextCompat.getColor(context, R.color.base_green));
|
||||
final ForegroundColorSpan colorYellow =
|
||||
new ForegroundColorSpan(ContextCompat.getColor(context, R.color.base_yellow));
|
||||
final ForegroundColorSpan colorRed = new ForegroundColorSpan(ContextCompat.getColor(context, R.color.base_red));
|
||||
|
||||
// Get next state info
|
||||
final SpannableStringBuilder openStateString = new SpannableStringBuilder();
|
||||
final boolean isOpen = (poiState.state == OhState.State.Open); // False == Closed due to early exit for Unknown
|
||||
final long nextStateTime = isOpen ? poiState.nextTimeClosed : poiState.nextTimeOpen; // Unix time (seconds)
|
||||
final int minsToNextState = (int) ((nextStateTime - (System.currentTimeMillis() / 1000)) / 60);
|
||||
|
||||
if (minsToNextState <= 60) // POI opens/closes in 60 mins
|
||||
{
|
||||
final String minsToChangeStr = minsToNextState + " " + getString(R.string.minute);
|
||||
final String nextChangeFormatted = getString(isOpen ? R.string.closes_in : R.string.opens_in, minsToChangeStr);
|
||||
final ForegroundColorSpan nextChangeColor = isOpen ? colorYellow : colorRed;
|
||||
// TODO: We should check closed/open time for specific feature's timezone.
|
||||
ZonedDateTime time = ZonedDateTime.ofInstant(Instant.ofEpochSecond(nextStateTime), ZoneId.systemDefault());
|
||||
String localizedTime =
|
||||
new HoursMinutes(time.getHour(), time.getMinute(), DateUtils.is24HourFormat(context)).toString();
|
||||
|
||||
openStateString.append(nextChangeFormatted, nextChangeColor, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE)
|
||||
.append(" • ") // Add spacer
|
||||
.append(getString(R.string.at, localizedTime));
|
||||
}
|
||||
else if (isOpen)
|
||||
openStateString.append(getString(R.string.open_now), colorGreen, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
|
||||
// TODO: Add "Closes at 18:00" etc
|
||||
else // Closed
|
||||
openStateString.append(getString(R.string.closed_now), colorRed, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
|
||||
// TODO: Add "Opens at 18:00" etc
|
||||
|
||||
UiUtils.setTextAndHideIfEmpty(mTvOpenState, openStateString);
|
||||
UiUtils.hide(mTvOpenState);
|
||||
return;
|
||||
}
|
||||
// No valid timetable
|
||||
UiUtils.hide(mTvOpenState);
|
||||
|
||||
final Context context = requireContext();
|
||||
final OhState poiState = OpeningHours.nativeCurrentState(timetables);
|
||||
|
||||
// Ignore unknown rule state
|
||||
if (poiState.state == OhState.State.Unknown)
|
||||
{
|
||||
UiUtils.hide(mTvOpenState);
|
||||
return;
|
||||
}
|
||||
|
||||
// Get colours
|
||||
final ForegroundColorSpan colorGreen =
|
||||
new ForegroundColorSpan(ContextCompat.getColor(context, R.color.base_green));
|
||||
final ForegroundColorSpan colorYellow =
|
||||
new ForegroundColorSpan(ContextCompat.getColor(context, R.color.base_yellow));
|
||||
final ForegroundColorSpan colorRed = new ForegroundColorSpan(ContextCompat.getColor(context, R.color.base_red));
|
||||
|
||||
// Get next state info
|
||||
final SpannableStringBuilder openStateString = new SpannableStringBuilder();
|
||||
final boolean isOpen = (poiState.state == OhState.State.Open); // False == Closed due to early exit for Unknown
|
||||
final long nextStateTime = isOpen ? poiState.nextTimeClosed : poiState.nextTimeOpen; // Unix time (seconds)
|
||||
final long nowSec = System.currentTimeMillis() / 1000;
|
||||
final int minsToNextState = (int) ((nextStateTime - nowSec) / 60);
|
||||
|
||||
// NOTE: Timezone is currently device timezone. TODO: use feature-specific timezone.
|
||||
final ZonedDateTime nextChangeLocal =
|
||||
ZonedDateTime.ofInstant(Instant.ofEpochSecond(nextStateTime), ZoneId.systemDefault());
|
||||
|
||||
String localizedTimeString = OpenStateTextFormatter.formatHoursMinutes(
|
||||
nextChangeLocal.getHour(), nextChangeLocal.getMinute(), DateUtils.is24HourFormat(context));
|
||||
|
||||
final boolean shortHorizonClosing = isOpen && minsToNextState >= 0 && minsToNextState <= SHORT_HORIZON_CLOSE_MIN;
|
||||
final boolean shortHorizonOpening = !isOpen && minsToNextState >= 0 && minsToNextState <= SHORT_HORIZON_OPEN_MIN;
|
||||
|
||||
if (shortHorizonClosing || shortHorizonOpening) // POI Opens/Closes in 60 mins • at 18:00
|
||||
{
|
||||
final String minsToChangeStr = getResources().getQuantityString(
|
||||
R.plurals.minutes_short, Math.max(minsToNextState, 1), Math.max(minsToNextState, 1));
|
||||
final String nextChangeFormatted = getString(isOpen ? R.string.closes_in : R.string.opens_in, minsToChangeStr);
|
||||
|
||||
openStateString.append(nextChangeFormatted, colorYellow, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE)
|
||||
.append(" • ") // Add spacer
|
||||
.append(getString(R.string.at, localizedTimeString));
|
||||
}
|
||||
else
|
||||
{
|
||||
final String opensAtStr = getString(R.string.opens_at); // "Opens at %s"
|
||||
final String closesAtStr = getString(R.string.closes_at); // "Closes at %s"
|
||||
final String opensDayAtStr = getString(R.string.opens_day_at); // "Opens %1$s at %2$s"
|
||||
final String closesDayAtStr = getString(R.string.closes_day_at); // "Closes %1$s at %2$s"
|
||||
|
||||
final boolean isToday =
|
||||
OpenStateTextFormatter.isSameLocalDate(nextChangeLocal, ZonedDateTime.now(nextChangeLocal.getZone()));
|
||||
// Full weekday name per design feedback.
|
||||
final String dayName =
|
||||
nextChangeLocal.getDayOfWeek().getDisplayName(TextStyle.FULL, Locale.getDefault());
|
||||
|
||||
if (isOpen) // > 60 minutes OR negative (safety). Show “Open now • Closes at 18:00”
|
||||
{
|
||||
openStateString.append(getString(R.string.open_now), colorGreen, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
|
||||
|
||||
final String atLabel =
|
||||
OpenStateTextFormatter.buildAtLabel(false, isToday, dayName, localizedTimeString,
|
||||
opensAtStr, closesAtStr, opensDayAtStr, closesDayAtStr);
|
||||
|
||||
if (!TextUtils.isEmpty(atLabel))
|
||||
openStateString.append(" • ").append(atLabel);
|
||||
}
|
||||
else // Closed
|
||||
{
|
||||
openStateString.append(getString(R.string.closed_now), colorRed, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
|
||||
|
||||
final String atLabel =
|
||||
OpenStateTextFormatter.buildAtLabel(true, isToday, dayName, localizedTimeString,
|
||||
opensAtStr, closesAtStr, opensDayAtStr, closesDayAtStr);
|
||||
|
||||
if (!TextUtils.isEmpty(atLabel))
|
||||
openStateString.append(" • ").append(atLabel);
|
||||
}
|
||||
}
|
||||
|
||||
UiUtils.setTextAndHideIfEmpty(mTvOpenState, openStateString);
|
||||
}
|
||||
|
||||
private void addPlace()
|
||||
|
||||
10
android/app/src/main/res/drawable/ic_browse_activity.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960"
|
||||
android:tint="?colorControlNormal">
|
||||
<path
|
||||
android:pathData="M80,360v-160q0,-33 23.5,-56.5T160,120h640q33,0 56.5,23.5T880,200v160h-80v-160L160,200v160L80,360ZM160,720q-33,0 -56.5,-23.5T80,640v-200h80v200h640v-200h80v200q0,33 -23.5,56.5T800,720L160,720ZM40,840v-80h880v80L40,840ZM480,420ZM80,440v-80h240q11,0 21,6t15,16l47,93 123,-215q5,-9 14,-14.5t20,-5.5q11,0 21,5.5t15,16.5l49,98h235v80L620,440q-11,0 -21,-5.5T584,418l-26,-53 -123,215q-5,10 -15,15t-21,5q-11,0 -20.5,-6T364,578l-69,-138L80,440Z"
|
||||
android:fillColor="#fff"/>
|
||||
</vector>
|
||||
@@ -1,9 +0,0 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960">
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M480,536L284,732Q273,743 256,743Q239,743 228,732Q217,721 217,704Q217,687 228,676L424,480L228,284Q217,273 217,256Q217,239 228,228Q239,217 256,217Q273,217 284,228L480,424L676,228Q687,217 704,217Q721,217 732,228Q743,239 743,256Q743,273 732,284L536,480L732,676Q743,687 743,704Q743,721 732,732Q721,743 704,743Q687,743 676,732L480,536Z"/>
|
||||
</vector>
|
||||
@@ -1,5 +1,10 @@
|
||||
<vector android:height="24dp" android:tint="#FFFFFF"
|
||||
android:viewportHeight="24" android:viewportWidth="24"
|
||||
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="@android:color/white" android:pathData="M19,6.41L17.59,5 12,10.59 6.41,5 5,6.41 10.59,12 5,17.59 6.41,19 12,13.41 17.59,19 19,17.59 13.41,12z"/>
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:tint="#FFFFFF"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960">
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M480,536L284,732Q273,743 256,743Q239,743 228,732Q217,721 217,704Q217,687 228,676L424,480L228,284Q217,273 217,256Q217,239 228,228Q239,217 256,217Q273,217 284,228L480,424L676,228Q687,217 704,217Q721,217 732,228Q743,239 743,256Q743,273 732,284L536,480L732,676Q743,687 743,704Q743,721 732,732Q721,743 704,743Q687,743 676,732L480,536Z"/>
|
||||
</vector>
|
||||
|
||||
10
android/app/src/main/res/drawable/ic_dark_mode.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960"
|
||||
android:tint="?colorControlNormal">
|
||||
<path
|
||||
android:pathData="M480,840q-150,0 -255,-105T120,480q0,-150 105,-255t255,-105q14,0 27.5,1t26.5,3q-41,29 -65.5,75.5T444,300q0,90 63,153t153,63q55,0 101,-24.5t75,-65.5q2,13 3,26.5t1,27.5q0,150 -105,255T480,840ZM480,760q88,0 158,-48.5T740,585q-20,5 -40,8t-40,3q-123,0 -209.5,-86.5T364,300q0,-20 3,-40t8,-40q-78,32 -126.5,102T200,480q0,116 82,198t198,82ZM470,490Z"
|
||||
android:fillColor="#fff"/>
|
||||
</vector>
|
||||
10
android/app/src/main/res/drawable/ic_download_st.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24"
|
||||
android:tint="?colorControlNormal">
|
||||
<path
|
||||
android:pathData="M19,9h-4v-6h-6v6h-4l7,7 7,-7ZM5,18v2h14v-2h-14Z"
|
||||
android:fillColor="#FFF"/>
|
||||
</vector>
|
||||
10
android/app/src/main/res/drawable/ic_eco.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960"
|
||||
android:tint="?colorControlNormal">
|
||||
<path
|
||||
android:pathData="M216,784q-45,-45 -70.5,-104T120,558q0,-63 24,-124.5T222,318q35,-35 86.5,-60t122,-39.5Q501,204 591.5,201t202.5,7q8,106 5,195t-16.5,160.5q-13.5,71.5 -38,125T684,778q-53,53 -112.5,77.5T450,880q-65,0 -127,-25.5T216,784ZM328,768q29,17 59.5,24.5T450,800q46,0 91,-18.5t86,-59.5q18,-18 36.5,-50.5t32,-85Q709,534 716,459.5t2,-177.5q-49,-2 -110.5,-1.5T485,290q-61,9 -116,29t-90,55q-45,45 -62,89t-17,85q0,59 22.5,103.5T262,714q42,-80 111,-153.5T534,440q-72,63 -125.5,142.5T328,768ZM328,768ZM328,768Z"
|
||||
android:fillColor="#fff"/>
|
||||
</vector>
|
||||
10
android/app/src/main/res/drawable/ic_instant_mix.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960"
|
||||
android:tint="?colorControlNormal">
|
||||
<path
|
||||
android:pathData="M200,800v-280h-80v-80h240v80h-80v280h-80ZM200,360v-200h80v200h-80ZM360,360v-80h80v-120h80v120h80v80L360,360ZM440,800v-360h80v360h-80ZM680,800v-120h-80v-80h240v80h-80v120h-80ZM680,520v-360h80v360h-80Z"
|
||||
android:fillColor="#fff"/>
|
||||
</vector>
|
||||
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960"
|
||||
android:tint="?colorControlNormal">
|
||||
<path
|
||||
android:pathData="M280,920q-33,0 -56.5,-23.5T200,840v-720q0,-33 23.5,-56.5T280,40h400q33,0 56.5,23.5T760,120v124q18,7 29,22t11,34v80q0,19 -11,34t-29,22v404q0,33 -23.5,56.5T680,920L280,920ZM280,840h400v-720L280,120v720ZM280,840v-720,720ZM394,640h172q14,0 24,-10t10,-24v-132q0,-14 -10,-24t-24,-10h-6v-40q0,-33 -23.5,-56.5T480,320q-33,0 -56.5,23.5T400,400v40h-6q-14,0 -24,10t-10,24v132q0,14 10,24t24,10ZM440,440v-40q0,-17 11.5,-28.5T480,360q17,0 28.5,11.5T520,400v40h-80Z"
|
||||
android:fillColor="#fff"/>
|
||||
</vector>
|
||||
10
android/app/src/main/res/drawable/ic_network_manage.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960"
|
||||
android:tint="?colorControlNormal">
|
||||
<path
|
||||
android:pathData="M339,698q22,-22 49.5,-36t58.5,-19q-5,19 -8,38t-3,39q0,24 3.5,47t11.5,44L339,698ZM254,614 L170,528q62,-62 142,-95t168,-33q49,0 96,10.5t90,30.5q-44,8 -81.5,29T517,522q-9,-1 -18.5,-1.5T480,520q-64,0 -122.5,24.5T254,614ZM84,444 L0,360q95,-97 219.5,-148.5T480,160q136,0 260.5,51.5T960,360l-84,84q-79,-79 -181.5,-121.5T480,280q-112,0 -214.5,42.5T84,444ZM760,520 L772,580q12,5 22.5,10.5T816,604l58,-18 40,68 -46,40q2,12 2,26t-2,26l46,40 -40,68 -58,-18q-11,8 -21.5,13.5T772,860l-12,60h-80l-12,-60q-12,-5 -22.5,-10.5T624,836l-58,18 -40,-68 46,-40q-2,-12 -2,-26t2,-26l-46,-40 40,-68 58,18q11,-8 21.5,-13.5T668,580l12,-60h80ZM720,640q-33,0 -56.5,23.5T640,720q0,33 23.5,56.5T720,800q33,0 56.5,-23.5T800,720q0,-33 -23.5,-56.5T720,640Z"
|
||||
android:fillColor="#fff"/>
|
||||
</vector>
|
||||
10
android/app/src/main/res/drawable/ic_profile.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960"
|
||||
android:tint="?colorControlNormal">
|
||||
<path
|
||||
android:pathData="M480,480q-66,0 -113,-47t-47,-113q0,-66 47,-113t113,-47q66,0 113,47t47,113q0,66 -47,113t-113,47ZM160,800v-112q0,-34 17.5,-62.5T224,582q62,-31 126,-46.5T480,520q66,0 130,15.5T736,582q29,15 46.5,43.5T800,688v112L160,800ZM240,720h480v-32q0,-11 -5.5,-20T700,654q-54,-27 -109,-40.5T480,600q-56,0 -111,13.5T260,654q-9,5 -14.5,14t-5.5,20v32ZM480,400q33,0 56.5,-23.5T560,320q0,-33 -23.5,-56.5T480,240q-33,0 -56.5,23.5T400,320q0,33 23.5,56.5T480,400ZM480,320ZM480,720Z"
|
||||
android:fillColor="#fff"/>
|
||||
</vector>
|
||||
10
android/app/src/main/res/drawable/ic_record_voice_over.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960"
|
||||
android:tint="?colorControlNormal">
|
||||
<path
|
||||
android:pathData="m798,638 l-62,-62q44,-41 69,-97t25,-119q0,-63 -25,-118t-69,-96l62,-64q56,53 89,125t33,153q0,81 -33,153t-89,125ZM670,510l-64,-64q18,-17 29,-38.5t11,-47.5q0,-26 -11,-47.5T606,274l64,-64q32,29 50,67.5t18,82.5q0,44 -18,82.5T670,510ZM360,520q-66,0 -113,-47t-47,-113q0,-66 47,-113t113,-47q66,0 113,47t47,113q0,66 -47,113t-113,47ZM40,840v-112q0,-33 17,-62t47,-44q51,-26 115,-44t141,-18q77,0 141,18t115,44q30,15 47,44t17,62v112L40,840ZM120,760h480v-32q0,-11 -5.5,-20T580,694q-36,-18 -92.5,-36T360,640q-71,0 -127.5,18T140,694q-9,5 -14.5,14t-5.5,20v32ZM360,440q33,0 56.5,-23.5T440,360q0,-33 -23.5,-56.5T360,280q-33,0 -56.5,23.5T280,360q0,33 23.5,56.5T360,440ZM360,360ZM360,760Z"
|
||||
android:fillColor="#fff"/>
|
||||
</vector>
|
||||
10
android/app/src/main/res/drawable/ic_sd_card.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960"
|
||||
android:tint="?colorControlNormal">
|
||||
<path
|
||||
android:pathData="M360,440h80v-160h-80v160ZM480,440h80v-160h-80v160ZM600,440h80v-160h-80v160ZM240,880q-33,0 -56.5,-23.5T160,800v-480l240,-240h320q33,0 56.5,23.5T800,160v640q0,33 -23.5,56.5T720,880L240,880ZM240,800h480v-640L434,160L240,354v446ZM240,800h480,-480Z"
|
||||
android:fillColor="#fff"/>
|
||||
</vector>
|
||||
10
android/app/src/main/res/drawable/ic_search_recent_st.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24"
|
||||
android:tint="?colorControlNormal">
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M13.26,3C8.17,2.86 4,6.95 4,12L2.21,12c-0.45,0 -0.67,0.54 -0.35,0.85l2.79,2.8c0.2,0.2 0.51,0.2 0.71,0l2.79,-2.8c0.31,-0.31 0.09,-0.85 -0.36,-0.85L6,12c0,-3.9 3.18,-7.05 7.1,-7 3.72,0.05 6.85,3.18 6.9,6.9 0.05,3.91 -3.1,7.1 -7,7.1 -1.61,0 -3.1,-0.55 -4.28,-1.48 -0.4,-0.31 -0.96,-0.28 -1.32,0.08 -0.42,0.42 -0.39,1.13 0.08,1.49C9,20.29 10.91,21 13,21c5.05,0 9.14,-4.17 9,-9.26 -0.13,-4.69 -4.05,-8.61 -8.74,-8.74zM12.75,8c-0.41,0 -0.75,0.34 -0.75,0.75v3.68c0,0.35 0.19,0.68 0.49,0.86l3.12,1.85c0.36,0.21 0.82,0.09 1.03,-0.26 0.21,-0.36 0.09,-0.82 -0.26,-1.03l-2.88,-1.71v-3.4c0,-0.4 -0.34,-0.74 -0.75,-0.74z"/>
|
||||
</vector>
|
||||
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960"
|
||||
android:tint="?colorControlNormal">
|
||||
<path
|
||||
android:pathData="M480,560q-33,0 -56.5,-23.5T400,480q0,-33 23.5,-56.5T480,400q33,0 56.5,23.5T560,480q0,33 -23.5,56.5T480,560ZM480,840q-139,0 -241,-91.5T122,520h82q14,104 92.5,172T480,760q117,0 198.5,-81.5T760,480q0,-117 -81.5,-198.5T480,200q-69,0 -129,32t-101,88h110v80L120,400v-240h80v94q51,-64 124.5,-99T480,120q75,0 140.5,28.5t114,77q48.5,48.5 77,114T840,480q0,75 -28.5,140.5t-77,114q-48.5,48.5 -114,77T480,840Z"
|
||||
android:fillColor="#fff"/>
|
||||
</vector>
|
||||
@@ -1,9 +0,0 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:pathData="M2,20h20v-4h-20v4ZM4,17h2v2h-2v-2ZM2,4v4h20v-4h-20ZM6,7h-2v-2h2v2ZM2,14h20v-4h-20v4ZM4,11h2v2h-2v-2Z"
|
||||
android:fillColor="#FFF"/>
|
||||
</vector>
|
||||
10
android/app/src/main/res/drawable/ic_straighten.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960"
|
||||
android:tint="?colorControlNormal">
|
||||
<path
|
||||
android:pathData="M160,720q-33,0 -56.5,-23.5T80,640v-320q0,-33 23.5,-56.5T160,240h640q33,0 56.5,23.5T880,320v320q0,33 -23.5,56.5T800,720L160,720ZM160,640h640v-320L680,320v160h-80v-160h-80v160h-80v-160h-80v160h-80v-160L160,320v320ZM280,480h80,-80ZM440,480h80,-80ZM600,480h80,-80ZM480,480Z"
|
||||
android:fillColor="#fff"/>
|
||||
</vector>
|
||||
10
android/app/src/main/res/drawable/ic_text_fields.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960"
|
||||
android:tint="?colorControlNormal">
|
||||
<path
|
||||
android:pathData="M280,800v-520L80,280v-120h520v120L400,280v520L280,800ZM640,800v-320L520,480v-120h360v120L760,480v320L640,800Z"
|
||||
android:fillColor="#fff"/>
|
||||
</vector>
|
||||
10
android/app/src/main/res/drawable/ic_three_d_rotation.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960"
|
||||
android:tint="?colorControlNormal">
|
||||
<path
|
||||
android:pathData="M480,880q-83,0 -156,-31.5T197,763q-54,-54 -85.5,-127T80,480h80q0,115 72.5,203T418,794l-58,-58 56,-56L598,862q-29,10 -58.5,14T480,880ZM500,600v-240h120q17,0 28.5,11.5T660,400v160q0,17 -11.5,28.5T620,600L500,600ZM300,600v-60h100v-40h-60v-40h60v-40L300,420v-60h120q17,0 28.5,11.5T460,400v160q0,17 -11.5,28.5T420,600L300,600ZM560,540h40v-120h-40v120ZM800,480q0,-115 -72.5,-203T542,166l58,58 -56,56 -182,-182q29,-10 58.5,-14t59.5,-4q83,0 156,31.5T763,197q54,54 85.5,127T880,480h-80Z"
|
||||
android:fillColor="#fff"/>
|
||||
</vector>
|
||||
10
android/app/src/main/res/drawable/ic_translate.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960"
|
||||
android:tint="?colorControlNormal">
|
||||
<path
|
||||
android:pathData="m476,880 l182,-480h84L924,880h-84l-43,-122L603,758L560,880h-84ZM160,760l-56,-56 202,-202q-35,-35 -63.5,-80T190,320h84q20,39 40,68t48,58q33,-33 68.5,-92.5T484,240L40,240v-80h280v-80h80v80h280v80L564,240q-21,72 -63,148t-83,116l96,98 -30,82 -122,-125 -202,201ZM628,688h144l-72,-204 -72,204Z"
|
||||
android:fillColor="#fff"/>
|
||||
</vector>
|
||||
10
android/app/src/main/res/drawable/ic_translate_indic.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960"
|
||||
android:tint="?colorControlNormal">
|
||||
<path
|
||||
android:pathData="m476,880 l182,-480h84L924,880h-84l-43,-122L603,758L560,880h-84ZM628,688h144l-72,-204 -72,204ZM254,640q-66,0 -123.5,-38.5T44,498l72,-36q21,42 58,70t79,28q38,0 62.5,-23.5T340,480q0,-33 -23.5,-56.5T260,400h-60v-80h60q25,0 42.5,-17.5T320,260q0,-25 -17,-42.5T261,200q-23,0 -41,15t-32,33l-63,-49q26,-32 60,-55.5t77,-23.5q57,0 97.5,40.5T400,259q0,27 -10,52.5T361,357q10,10 18.5,20.5T396,400h124v-200h-80v-80h240v80h-80v116l-61,164L420,480v4q0,63 -46,109.5T254,640Z"
|
||||
android:fillColor="#fff"/>
|
||||
</vector>
|
||||
@@ -3,7 +3,13 @@
|
||||
android:height="20dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960">
|
||||
<group
|
||||
android:pivotX="370"
|
||||
android:pivotY="480"
|
||||
android:scaleX="2.2"
|
||||
android:scaleY="1.7">
|
||||
<path
|
||||
android:pathData="M420,652q-8,0 -14,-5.5t-6,-14.5v-304q0,-9 6,-14.5t14,-5.5q2,0 14,6l145,145q5,5 7,10t2,11q0,6 -2,11t-7,10L434,646q-3,3 -6.5,4.5T420,652Z"
|
||||
android:fillColor="#1f1f1f"/>
|
||||
android:pathData="M640,760 L200,480l440,-280v560Z"
|
||||
android:fillColor="#FFFFFF"/>
|
||||
</group>
|
||||
</vector>
|
||||
|
||||
10
android/app/src/main/res/drawable/ic_wifi_find.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960"
|
||||
android:tint="?colorControlNormal">
|
||||
<path
|
||||
android:pathData="M480,840 L0,359q93,-93 215.5,-146T480,160q142,0 264.5,53T960,359l-56,57q-81,-81 -190,-128.5T480,240q-103,0 -195,32.5T117,363l419,420 -56,57ZM864,800L761,698q-18,11 -38,16.5t-43,5.5q-68,0 -114,-46t-46,-114q0,-68 46,-114t114,-46q68,0 114,46t46,114q0,23 -5.5,43T818,641l102,103 -56,56ZM680,640q34,0 57,-23t23,-57q0,-34 -23,-57t-57,-23q-34,0 -57,23t-23,57q0,34 23,57t57,23ZM480,783Z"
|
||||
android:fillColor="#fff"/>
|
||||
</vector>
|
||||
@@ -22,8 +22,8 @@
|
||||
android:clipChildren="false">
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/floating_triangle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="@dimen/margin_half"
|
||||
android:layout_height="@dimen/margin_half"
|
||||
android:elevation="@dimen/margin_eighth"
|
||||
android:layout_centerVertical="true"
|
||||
app:tint="@android:color/white"
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
android:layout_height="match_parent"
|
||||
android:padding="@dimen/margin_half_double_plus"/>
|
||||
</LinearLayout>
|
||||
<include layout="@layout/item_divider"/>
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:minHeight="@dimen/height_block_base"
|
||||
@@ -58,7 +57,6 @@
|
||||
android:layout_height="match_parent"
|
||||
android:padding="@dimen/margin_half_double_plus"/>
|
||||
</LinearLayout>
|
||||
<include layout="@layout/item_divider"/>
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:minHeight="@dimen/height_block_base"
|
||||
@@ -80,7 +78,6 @@
|
||||
android:layout_height="match_parent"
|
||||
android:padding="@dimen/margin_half_double_plus"/>
|
||||
</LinearLayout>
|
||||
<include layout="@layout/item_divider"/>
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:minHeight="@dimen/height_block_base"
|
||||
@@ -102,7 +99,6 @@
|
||||
android:layout_height="match_parent"
|
||||
android:padding="@dimen/margin_half_double_plus"/>
|
||||
</LinearLayout>
|
||||
<include layout="@layout/item_divider"/>
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:minHeight="@dimen/height_block_base"
|
||||
@@ -124,7 +120,6 @@
|
||||
android:padding="@dimen/margin_half_double_plus"
|
||||
android:layout_height="match_parent"/>
|
||||
</LinearLayout>
|
||||
<include layout="@layout/item_divider"/>
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:minHeight="@dimen/height_block_base"
|
||||
|
||||
@@ -394,7 +394,8 @@
|
||||
|
||||
<com.google.android.material.card.MaterialCardView
|
||||
android:id="@+id/cv__more"
|
||||
style="@style/MwmWidget.Editor.CardView">
|
||||
style="@style/MwmWidget.Editor.CardView"
|
||||
android:layout_marginBottom="@dimen/margin_base">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
@@ -421,6 +422,17 @@
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
</LinearLayout>
|
||||
</com.google.android.material.card.MaterialCardView>
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/disused"
|
||||
style="@style/MwmWidget.M3.Button.Secondary"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:layout_marginBottom="@dimen/margin_quarter"
|
||||
app:backgroundTint="?cardBackground"
|
||||
android:textColor="@color/base_red"
|
||||
app:strokeColor="@color/base_red"
|
||||
android:text="@string/editor_business_vacant_button"/>
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/reset"
|
||||
style="@style/MwmWidget.M3.Button.Secondary"
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
style="@style/MwmWidget.TextView.Search"
|
||||
android:text="@string/clear_search"
|
||||
app:drawableStartCompat="@drawable/ic_cancel"/>
|
||||
app:drawableStartCompat="@drawable/ic_close"/>
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
android:background="?attr/selectableItemBackgroundBorderless"
|
||||
android:contentDescription="@string/clear_the_search"
|
||||
android:scaleType="center"
|
||||
app:srcCompat="@drawable/ic_cancel"/>
|
||||
app:srcCompat="@drawable/ic_close"/>
|
||||
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/voice_input"
|
||||
|
||||
@@ -889,4 +889,5 @@
|
||||
<string name="avoid_steps">Vyhnout se schodům</string>
|
||||
<string name="offline_explanation_title">Offline mapy</string>
|
||||
<string name="list_description_empty">Upravit seznam pro přidání popisu</string>
|
||||
<string name="avoid_paved">Vyhnout se zpevněným cestám</string>
|
||||
</resources>
|
||||
|
||||
@@ -880,4 +880,5 @@
|
||||
<string name="offline_explanation_title">Offline kort</string>
|
||||
<string name="offline_explanation_text">Der skal downloades et kort for at kunne se og navigere i området.\nDownload kort over de områder, du ønsker at rejse i.</string>
|
||||
<string name="list_description_empty">Rediger listen for at tilføje en beskrivelse</string>
|
||||
<string name="avoid_paved">Undgå veje med fast belægning</string>
|
||||
</resources>
|
||||
|
||||
@@ -898,4 +898,5 @@
|
||||
<string name="offline_explanation_title">Mapas sin conexión</string>
|
||||
<string name="offline_explanation_text">Se debe descargar un mapa para ver y navegar el área\nDescarga mapas de las áreas que quieras navegar.</string>
|
||||
<string name="editor_place_doesnt_exist_description">Describe la situación actual del lugar para enviar una nota de error a la comunidad de OpenStreetMap</string>
|
||||
<string name="avoid_paved">Evitar caminos pavimentados</string>
|
||||
</resources>
|
||||
|
||||
@@ -889,4 +889,5 @@
|
||||
<string name="offline_explanation_title">Ilma võrguühenduseta toimivad kaardid</string>
|
||||
<string name="offline_explanation_text">Selles piirkonnas liikumiseks ja teekonna juhatamiseks pead vajaliku kaardi alla laadima.\nVali allalaaditav kaart selle piirkonna kohta.</string>
|
||||
<string name="list_description_empty">Kirjelduse lisamiseks muuda loendit</string>
|
||||
<string name="avoid_paved">Väldi sillutatud teid</string>
|
||||
</resources>
|
||||
|
||||
@@ -898,4 +898,5 @@
|
||||
<string name="editor_place_doesnt_exist_description">Décrivez le lieu afin de signaler l\'erreur à la communauté OpenStreetMap</string>
|
||||
<string name="offline_explanation_text">Une carte doit être téléchargée pour visualiser et vous déplacer dans une zone.\nTéléchargez les cartes des zones que vous souhaitez visiter.</string>
|
||||
<string name="list_description_empty">Modifier la liste pour ajouter une description</string>
|
||||
<string name="avoid_paved">Éviter les routes goudronnées</string>
|
||||
</resources>
|
||||
|
||||
@@ -844,4 +844,5 @@
|
||||
<string name="backup_interval_every_day">Ik dienu</string>
|
||||
<string name="clear">Notīrīt</string>
|
||||
<string name="closed_now">Šobrīd slēgts</string>
|
||||
<string name="avoid_paved">Izvairīties no ceļiem ar cietu mākslīgo segumu</string>
|
||||
</resources>
|
||||
|
||||
@@ -885,4 +885,5 @@
|
||||
<string name="editor_socket">Rediger kontakt</string>
|
||||
<string name="charge_socket_type1">Type 1</string>
|
||||
<string name="edit_socket_info_tooltip">Opprett nye kontakter eller rediger eksisterende.</string>
|
||||
<string name="avoid_paved">Unngå asfalterte veier</string>
|
||||
</resources>
|
||||
|
||||
@@ -372,7 +372,7 @@
|
||||
<!-- The message when user did not find anything in the search. -->
|
||||
<string name="search_not_found_query">Pobierz region, w którym szukasz lub spróbuj dodać nazwę pobliskiego miasta/wsi.</string>
|
||||
<string name="search_history_title">Historia wyszukiwania</string>
|
||||
<string name="search_history_text">Uzyskaj szybki dostęp do ostatniego hasła wyszukiwania.</string>
|
||||
<string name="search_history_text">Zobacz swoje ostatnie wyszukiwania</string>
|
||||
<string name="clear_search">Wyczyść historię wyszukiwania</string>
|
||||
<!-- Place Page link to Wikipedia article (if map object has it). -->
|
||||
<string name="read_in_wikipedia">Wikipedia</string>
|
||||
|
||||
@@ -870,4 +870,5 @@
|
||||
<string name="offline_explanation_title">Mapas offline</string>
|
||||
<string name="editor_place_doesnt_exist_description">Descreva com detalhes como está o local agora mesmo para enviar uma nota de erro à comunidade do OpenStreetMap</string>
|
||||
<string name="list_description_empty">Edite a lista para adicionar uma descrição</string>
|
||||
<string name="avoid_paved">Evitar vias pavimentadas</string>
|
||||
</resources>
|
||||
|
||||
@@ -890,4 +890,6 @@
|
||||
<string name="offline_explanation_title">Офлајн мапе</string>
|
||||
<string name="editor_place_doesnt_exist_description">Опишите како место сада изгледа та бисте послали поруку о грешци OpenStreetMap заједници</string>
|
||||
<string name="avoid_steps">Избегавај степенице</string>
|
||||
<string name="avoid_paved">Избегавај асфалтиране путеве</string>
|
||||
<string name="list_description_empty">Промените листу да бисте додали опис</string>
|
||||
</resources>
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Items in the Preferences can have space reserved for an icon. As none of the
|
||||
settings currently have associated icons, this leads to items that seem indented
|
||||
without purpose. This wastes space and can lead to truncation of the item names
|
||||
and descriptions. See https://github.com/organicmaps/organicmaps/issues/1872
|
||||
|
||||
To rectify this, the iconSpaceReserved property needs to be set to false.
|
||||
According to https://developer.android.com/reference/android/preference/Preference#attr_android:iconSpaceReserved
|
||||
false should be the default. However, according to
|
||||
https://material.io/design/platform-guidance/android-settings.html this goes
|
||||
against the material design guidelines and the default was overridden to true in
|
||||
https://cs.android.com/android/platform/superproject/+/android-9.0.0_r1:prebuilts/sdk/current/support/v7/preference/res/values-sw360dp-v13/values-sw360dp-v13.xml
|
||||
This file sets the default value back to false (i.e. no space reserved for icons).
|
||||
|
||||
See also the discussion at https://github.com/organicmaps/organicmaps/pull/1924
|
||||
-->
|
||||
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||
<bool name="config_materialPreferenceIconSpaceReserved" tools:ignore="MissingDefaultResource">false</bool>
|
||||
</resources>
|
||||
@@ -36,13 +36,13 @@
|
||||
<string name="try_again">再试一次</string>
|
||||
<string name="about_menu_title">关于 CoMaps</string>
|
||||
<!-- Text in About screen -->
|
||||
<string name="about_headline">由社区推动的开放项目</string>
|
||||
<string name="about_headline">由社区驱动的开源项目</string>
|
||||
<!-- Text in About screen -->
|
||||
<string name="about_proposition_1">• 使用方便,外观精美</string>
|
||||
<string name="about_proposition_1">• 简单易用,精工细作</string>
|
||||
<!-- Text in About screen -->
|
||||
<string name="about_proposition_2">•注重隐私,毫无广告</string>
|
||||
<string name="about_proposition_2">• 专注隐私,绝无广告</string>
|
||||
<!-- Text in About screen -->
|
||||
<string name="about_proposition_3">• 离线、快速、精简</string>
|
||||
<string name="about_proposition_3">• 离线、迅捷、轻量</string>
|
||||
<!-- Text in About screen -->
|
||||
<string name="about_developed_by_enthusiasts">完全开源、决策问责、财务透明的非营利应用。</string>
|
||||
<!-- The button that opens system location settings -->
|
||||
|
||||
@@ -441,6 +441,14 @@
|
||||
<string name="opens_in">Opens in %s</string>
|
||||
<string name="closes_in">Closes in %s</string>
|
||||
<string name="closed">Closed</string>
|
||||
<string name="opens_at">Opens at %s</string>
|
||||
<string name="closes_at">Closes at %s</string>
|
||||
<string name="opens_day_at">Opens on %1$s at %2$s</string>
|
||||
<string name="closes_day_at">Closes on %1$s at %2$s</string>
|
||||
<plurals name="minutes_short">
|
||||
<item quantity="one">%d min</item>
|
||||
<item quantity="other">%d min</item>
|
||||
</plurals>
|
||||
<!-- Used in the opening_hours fragment for the last checked date, eg. "Confirmed two weeks ago" -->
|
||||
<string name="hours_confirmed_time_ago">Confirmed %s</string>
|
||||
<!-- Used on the place page for the last checked date, eg. "Existence confirmed two weeks ago" -->
|
||||
@@ -543,6 +551,14 @@
|
||||
<string name="editor_place_doesnt_exist_description">Describe what the place looks like now to send an error note to the OpenStreetMap community</string>
|
||||
<!-- Error message for "Place doesn't exist" dialog when comment is empty -->
|
||||
<string name="delete_place_empty_comment_error">Please indicate the reason for deleting the place</string>
|
||||
<!-- Button in the editor to mark business as vacant -->
|
||||
<string name="editor_business_vacant_button">Business is vacant</string>
|
||||
<!-- Title of confirmation dialog before marking business as vacant -->
|
||||
<string name="editor_mark_business_vacant_title">Mark business as vacant</string>
|
||||
<!-- Description in confirmation dialog before marking business as vacant -->
|
||||
<string name="editor_mark_business_vacant_description">Use this if the business has moved out and the space is empty and ready for a new tenant.</string>
|
||||
<!-- Submit change to OSM in the editor -->
|
||||
<string name="editor_submit">Submit</string>
|
||||
<!-- Phone number error message -->
|
||||
<string name="error_enter_correct_phone">Enter a valid phone number</string>
|
||||
<string name="error_enter_correct_web">Enter a valid web address</string>
|
||||
|
||||
@@ -1,24 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<Preference
|
||||
android:key="backup_location"
|
||||
android:summary="@string/pref_backup_location_summary_initial"
|
||||
android:title="@string/pref_backup_location_title" />
|
||||
android:title="@string/pref_backup_location_title"
|
||||
app:iconSpaceReserved="false" />
|
||||
<Preference
|
||||
android:key="backup_now"
|
||||
android:summary="@string/pref_backup_now_summary"
|
||||
android:title="@string/pref_backup_now_title" />
|
||||
android:title="@string/pref_backup_now_title"
|
||||
app:iconSpaceReserved="false" />
|
||||
<ListPreference
|
||||
android:defaultValue="86400000"
|
||||
android:entries="@array/backup_interval_entries"
|
||||
android:entryValues="@array/backup_interval_values"
|
||||
android:key="backup_history_interval"
|
||||
android:title="@string/pref_backup_interval_title" />
|
||||
android:title="@string/pref_backup_interval_title"
|
||||
app:iconSpaceReserved="false" />
|
||||
<ListPreference
|
||||
android:defaultValue="10"
|
||||
android:entries="@array/backup_history_entries"
|
||||
android:entryValues="@array/backup_history_values"
|
||||
android:key="backup_history_count"
|
||||
android:title="@string/pref_backup_history_title" />
|
||||
android:title="@string/pref_backup_history_title"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
</PreferenceScreen>
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
<Preference
|
||||
android:key="@string/pref_osm_profile"
|
||||
android:title="@string/profile"
|
||||
app:icon="@drawable/ic_profile"
|
||||
tools:summary="LongLongUsernameHere"
|
||||
app:singleLineTitle="false"
|
||||
android:order="1"/>
|
||||
@@ -17,6 +18,7 @@
|
||||
<ListPreference
|
||||
android:key="@string/pref_munits"
|
||||
android:title="@string/measurement_units"
|
||||
app:icon="@drawable/ic_straighten"
|
||||
app:singleLineTitle="false"
|
||||
android:summary="@string/measurement_units_summary"
|
||||
android:entries="@array/measument_units"
|
||||
@@ -42,6 +44,7 @@
|
||||
<SwitchPreferenceCompat
|
||||
android:key="@string/pref_autodownload"
|
||||
android:title="@string/autodownload"
|
||||
app:icon="@drawable/ic_download_st"
|
||||
app:singleLineTitle="false"
|
||||
android:order="5"/>
|
||||
<SwitchPreferenceCompat
|
||||
@@ -49,22 +52,26 @@
|
||||
android:title="@string/big_font"
|
||||
app:singleLineTitle="false"
|
||||
android:defaultValue="false"
|
||||
app:icon="@drawable/ic_text_fields"
|
||||
android:order="6"/>
|
||||
<SwitchPreferenceCompat
|
||||
android:key="@string/pref_transliteration"
|
||||
android:title="@string/transliteration_title"
|
||||
app:singleLineTitle="false"
|
||||
app:icon="@drawable/ic_translate_indic"
|
||||
android:defaultValue="false"
|
||||
android:order="7"/>
|
||||
<Preference
|
||||
android:key="@string/pref_storage"
|
||||
android:title="@string/maps_storage"
|
||||
app:icon="@drawable/ic_sd_card"
|
||||
app:singleLineTitle="false"
|
||||
android:summary="@string/maps_storage_summary"
|
||||
android:order="8"/>
|
||||
<SwitchPreferenceCompat
|
||||
android:key="@string/pref_enable_logging"
|
||||
android:title="@string/enable_logging"
|
||||
app:icon="@drawable/ic_browse_activity"
|
||||
app:singleLineTitle="false"
|
||||
android:summary="@string/enable_logging_warning_message"
|
||||
android:defaultValue="false"
|
||||
@@ -80,6 +87,7 @@
|
||||
android:key="@string/pref_use_mobile_data"
|
||||
android:title="@string/mobile_data"
|
||||
app:singleLineTitle="false"
|
||||
app:icon="@drawable/ic_network_manage"
|
||||
android:summary="@string/mobile_data_description"
|
||||
android:entries="@array/mobile_data_options"
|
||||
android:entryValues="@array/mobile_data_options_values"
|
||||
@@ -91,6 +99,7 @@
|
||||
android:summary="@string/power_managment_description"
|
||||
android:entries="@array/power_management_scheme"
|
||||
android:entryValues="@array/power_management_scheme_values"
|
||||
app:icon="@drawable/ic_eco"
|
||||
android:order="15"/>
|
||||
<SwitchPreferenceCompat
|
||||
android:key="@string/pref_keep_screen_on"
|
||||
@@ -102,6 +111,7 @@
|
||||
<SwitchPreferenceCompat
|
||||
android:key="@string/pref_show_on_lock_screen"
|
||||
android:title="@string/enable_show_on_lock_screen"
|
||||
app:icon="@drawable/ic_mobile_lock_portrait"
|
||||
app:singleLineTitle="false"
|
||||
android:summary="@string/enable_show_on_lock_screen_description"
|
||||
android:defaultValue="true"
|
||||
@@ -109,6 +119,7 @@
|
||||
<Preference
|
||||
android:key="@string/pref_map_locale"
|
||||
android:title="@string/change_map_locale"
|
||||
app:icon="@drawable/ic_translate"
|
||||
app:singleLineTitle="false"
|
||||
android:persistent="false"
|
||||
android:order="18"/>
|
||||
@@ -116,6 +127,7 @@
|
||||
android:key="@string/pref_backup"
|
||||
android:title="@string/pref_backup_title"
|
||||
android:summary="@string/pref_backup_summary"
|
||||
app:icon="@drawable/ic_settings_backup_restore"
|
||||
app:singleLineTitle="false"
|
||||
android:persistent="false"
|
||||
android:order="19"/>
|
||||
@@ -128,12 +140,14 @@
|
||||
<ListPreference
|
||||
android:key="@string/pref_map_style"
|
||||
android:title="@string/pref_map_style_title"
|
||||
app:icon="@drawable/ic_dark_mode"
|
||||
app:singleLineTitle="false"
|
||||
android:entries="@array/map_style"
|
||||
android:order="1"/>
|
||||
<SwitchPreferenceCompat
|
||||
android:key="@string/pref_3d"
|
||||
android:title="@string/pref_map_3d_title"
|
||||
app:icon="@drawable/ic_three_d_rotation"
|
||||
app:singleLineTitle="false"
|
||||
android:order="2"/>
|
||||
<SwitchPreferenceCompat
|
||||
@@ -146,12 +160,14 @@
|
||||
android:title="@string/pref_tts_enable_title"
|
||||
app:singleLineTitle="false"
|
||||
android:persistent="false"
|
||||
app:icon="@drawable/ic_record_voice_over"
|
||||
android:order="4">
|
||||
</Preference>
|
||||
<PreferenceScreen
|
||||
android:key="@string/prefs_routing"
|
||||
android:order="5"
|
||||
android:title="@string/driving_options_title">
|
||||
android:title="@string/driving_options_title"
|
||||
app:icon="@drawable/ic_instant_mix">
|
||||
<intent
|
||||
android:targetClass="app.organicmaps.settings.DrivingOptionsActivity"
|
||||
android:targetPackage="@string/app_id">
|
||||
@@ -167,12 +183,14 @@
|
||||
android:key="@string/pref_play_services"
|
||||
android:title="@string/google_play_services"
|
||||
app:singleLineTitle="false"
|
||||
app:icon="@drawable/ic_wifi_find"
|
||||
android:summary="@string/pref_use_google_play"
|
||||
android:defaultValue="true"
|
||||
android:order="1"/>
|
||||
<SwitchPreferenceCompat
|
||||
android:key="@string/pref_search_history"
|
||||
android:title="@string/search_history_title"
|
||||
app:icon="@drawable/ic_search_recent_st"
|
||||
app:singleLineTitle="false"
|
||||
android:defaultValue="true"
|
||||
android:order="2"/>
|
||||
|
||||
@@ -5,45 +5,54 @@
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
android:key="@string/pref_tts_enabled"
|
||||
android:title="@string/pref_tts_enable_title" />
|
||||
android:title="@string/pref_tts_enable_title"
|
||||
app:iconSpaceReserved="false"/>
|
||||
<SwitchPreferenceCompat
|
||||
android:key="@string/pref_tts_street_names"
|
||||
android:title="@string/pref_tts_street_names_title"
|
||||
app:isPreferenceVisible="false"
|
||||
android:summary="@string/pref_tts_street_names_description"
|
||||
android:defaultValue="false" />
|
||||
android:defaultValue="false"
|
||||
app:iconSpaceReserved="false"/>
|
||||
<ListPreference
|
||||
android:key="@string/pref_tts_language"
|
||||
app:isPreferenceVisible="false"
|
||||
android:title="@string/pref_tts_language_title" />
|
||||
android:title="@string/pref_tts_language_title"
|
||||
app:iconSpaceReserved="false"/>
|
||||
<SeekBarPreference
|
||||
android:key="@string/pref_tts_volume"
|
||||
app:isPreferenceVisible="false"
|
||||
android:title="@string/volume" />
|
||||
android:title="@string/volume"
|
||||
app:iconSpaceReserved="false"/>
|
||||
<Preference
|
||||
android:key="@string/pref_tts_test_voice"
|
||||
app:isPreferenceVisible="false"
|
||||
android:title="@string/pref_tts_test_voice_title" />
|
||||
android:title="@string/pref_tts_test_voice_title"
|
||||
app:iconSpaceReserved="false"/>
|
||||
<Preference
|
||||
android:key="@string/pref_tts_open_system_settings"
|
||||
android:title="@string/pref_tts_open_system_settings" />
|
||||
android:title="@string/pref_tts_open_system_settings"
|
||||
app:iconSpaceReserved="false"/>
|
||||
<Preference
|
||||
android:enabled="false"
|
||||
android:key="@string/pref_tts_info"
|
||||
android:persistent="false"
|
||||
android:selectable="false"
|
||||
android:summary="@string/prefs_languages_information" />
|
||||
android:summary="@string/prefs_languages_information"
|
||||
app:iconSpaceReserved="false" />
|
||||
<Preference
|
||||
android:enabled="true"
|
||||
android:key="@string/pref_tts_info_link"
|
||||
android:persistent="false"
|
||||
android:selectable="true"
|
||||
android:summary="@string/prefs_languages_information_off_link" />
|
||||
android:summary="@string/prefs_languages_information_off_link"
|
||||
app:iconSpaceReserved="false" />
|
||||
<ListPreference
|
||||
android:key="@string/pref_tts_speed_cameras"
|
||||
android:title="@string/speedcams_alert_title"
|
||||
app:singleLineTitle="false"
|
||||
android:entries="@array/speed_cameras"
|
||||
android:entryValues="@array/speed_cameras_values"
|
||||
android:defaultValue="@string/auto_enum_value" />
|
||||
android:defaultValue="@string/auto_enum_value"
|
||||
app:iconSpaceReserved="false" />
|
||||
</androidx.preference.PreferenceScreen>
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
package app.organicmaps.widget.placepage;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertFalse;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import java.time.ZoneId;
|
||||
import java.time.ZonedDateTime;
|
||||
import java.util.Locale;
|
||||
|
||||
public class OpenStateTextFormatterTest
|
||||
{
|
||||
private static final String OPENS_AT = "Opens at %s";
|
||||
private static final String CLOSES_AT = "Closes at %s";
|
||||
private static final String OPENS_DAY_AT = "Opens %1$s at %2$s";
|
||||
private static final String CLOSES_DAY_AT = "Closes %1$s at %2$s";
|
||||
|
||||
@Test
|
||||
public void formatHoursMinutes_24h()
|
||||
{
|
||||
assertEquals("09:00", OpenStateTextFormatter.formatHoursMinutes(9, 0, true));
|
||||
assertEquals("18:05", OpenStateTextFormatter.formatHoursMinutes(18, 5, true));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void formatHoursMinutes_12h()
|
||||
{
|
||||
assertEquals("9:00 AM", OpenStateTextFormatter.formatHoursMinutes(9, 0, false));
|
||||
assertEquals("6:05 PM", OpenStateTextFormatter.formatHoursMinutes(18, 5, false));
|
||||
assertEquals("12:00 PM", OpenStateTextFormatter.formatHoursMinutes(12, 0, false));
|
||||
assertEquals("12:00 AM", OpenStateTextFormatter.formatHoursMinutes(0, 0, false));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void buildAtLabel_today_open_close()
|
||||
{
|
||||
String open = OpenStateTextFormatter.buildAtLabel(true, true, "Sat", "09:00",
|
||||
OPENS_AT, CLOSES_AT, OPENS_DAY_AT, CLOSES_DAY_AT);
|
||||
String close = OpenStateTextFormatter.buildAtLabel(false, true, "Sat", "18:00",
|
||||
OPENS_AT, CLOSES_AT, OPENS_DAY_AT, CLOSES_DAY_AT);
|
||||
assertEquals("Opens at 09:00", open);
|
||||
assertEquals("Closes at 18:00", close);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void buildAtLabel_other_day()
|
||||
{
|
||||
String open = OpenStateTextFormatter.buildAtLabel(true, false, "Sat", "09:00",
|
||||
OPENS_AT, CLOSES_AT, OPENS_DAY_AT, CLOSES_DAY_AT);
|
||||
String close = OpenStateTextFormatter.buildAtLabel(false, false, "Tue", "18:00",
|
||||
OPENS_AT, CLOSES_AT, OPENS_DAY_AT, CLOSES_DAY_AT);
|
||||
assertEquals("Opens Sat at 09:00", open);
|
||||
assertEquals("Closes Tue at 18:00", close);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void isSameLocalDate_and_dayShort_helpers()
|
||||
{
|
||||
ZonedDateTime a = ZonedDateTime.of(2025, 3, 1, 10, 0, 0, 0, ZoneId.of("Europe/Paris"));
|
||||
ZonedDateTime b = ZonedDateTime.of(2025, 3, 1, 22, 0, 0, 0, ZoneId.of("Europe/Paris"));
|
||||
ZonedDateTime c = a.plusDays(1);
|
||||
|
||||
assertTrue(OpenStateTextFormatter.isSameLocalDate(a, b));
|
||||
assertFalse(OpenStateTextFormatter.isSameLocalDate(a, c));
|
||||
|
||||
String day = OpenStateTextFormatter.dayShort(c, Locale.US);
|
||||
// March 2, 2025 is a Sunday; "Sun" in US locale
|
||||
assertEquals("Sun", day);
|
||||
}
|
||||
}
|
||||
@@ -277,6 +277,12 @@ JNIEXPORT jboolean JNICALL Java_app_organicmaps_sdk_editor_Editor_nativeIsNameEd
|
||||
return g_editableMapObject.IsNameEditable();
|
||||
}
|
||||
|
||||
JNIEXPORT jboolean JNICALL Java_app_organicmaps_sdk_editor_Editor_nativeCanMarkPlaceAsDisused(JNIEnv * env,
|
||||
jclass clazz)
|
||||
{
|
||||
return g_editableMapObject.CanMarkPlaceAsDisused();
|
||||
}
|
||||
|
||||
JNIEXPORT jboolean JNICALL Java_app_organicmaps_sdk_editor_Editor_nativeIsPointType(JNIEnv * env, jclass clazz)
|
||||
{
|
||||
return g_editableMapObject.IsPointType();
|
||||
@@ -434,6 +440,11 @@ JNIEXPORT void JNICALL Java_app_organicmaps_sdk_editor_Editor_nativeRollbackMapO
|
||||
g_framework->NativeFramework()->RollBackChanges(g_editableMapObject.GetID());
|
||||
}
|
||||
|
||||
JNIEXPORT void JNICALL Java_app_organicmaps_sdk_editor_Editor_nativeMarkPlaceAsDisused(JNIEnv * env, jclass clazz)
|
||||
{
|
||||
g_framework->NativeFramework()->MarkPlaceAsDisused(g_editableMapObject);
|
||||
}
|
||||
|
||||
JNIEXPORT jobjectArray JNICALL Java_app_organicmaps_sdk_editor_Editor_nativeGetAllCreatableFeatureTypes(JNIEnv * env,
|
||||
jclass clazz,
|
||||
jstring jLang)
|
||||
|
||||
@@ -99,6 +99,7 @@ public final class Editor
|
||||
|
||||
public static native boolean nativeIsAddressEditable();
|
||||
public static native boolean nativeIsNameEditable();
|
||||
public static native boolean nativeCanMarkPlaceAsDisused();
|
||||
public static native boolean nativeIsPointType();
|
||||
public static native boolean nativeIsBuilding();
|
||||
|
||||
@@ -164,6 +165,7 @@ public final class Editor
|
||||
public static native void nativeCreateNote(String text);
|
||||
public static native void nativePlaceDoesNotExist(@NonNull String comment);
|
||||
public static native void nativeRollbackMapObject();
|
||||
public static native void nativeMarkPlaceAsDisused();
|
||||
public static native void nativeCreateStandaloneNote(double lat, double lon, String text);
|
||||
|
||||
/**
|
||||
|
||||
@@ -1438,4 +1438,5 @@
|
||||
<string name="type.amenity.payment_centre">Platební centrum</string>
|
||||
<string name="type.leisure.indoor_play">Vnitřní herní centrum</string>
|
||||
<string name="type.shop.telecommunication">Telekomunikační obchod</string>
|
||||
<string name="type.amenity.car_pooling">Spolujízda</string>
|
||||
</resources>
|
||||
|
||||
@@ -28,9 +28,9 @@
|
||||
<string name="type.amenity.gambling">Gambling</string>
|
||||
<string name="type.leisure.adult_gaming_centre">Spillehal for voksne</string>
|
||||
<string name="type.leisure.amusement_arcade">Arkadespil</string>
|
||||
<string name="type.amenity.charging_station">Ladestander</string>
|
||||
<string name="type.amenity.charging_station.bicycle">Cykelladestander</string>
|
||||
<string name="type.amenity.charging_station.motorcar">Billadestander</string>
|
||||
<string name="type.amenity.charging_station">Ladestation</string>
|
||||
<string name="type.amenity.charging_station.bicycle">Ladestation til elcykler</string>
|
||||
<string name="type.amenity.charging_station.motorcar">Ladestation til elbiler</string>
|
||||
<string name="type.amenity.childcare">Vuggestue</string>
|
||||
<string name="type.amenity.cinema">Biograf</string>
|
||||
<string name="type.leisure.bowling_alley">Bowlinghal</string>
|
||||
@@ -83,17 +83,17 @@
|
||||
<string name="type.amenity.parking.street_side">Parkeringslomme</string>
|
||||
<string name="type.amenity.parking.street_side.fee">Parkeringslomme</string>
|
||||
<string name="type.amenity.parking.street_side.private">Privat parkeringslomme</string>
|
||||
<string name="type.amenity.parking.lane">Parkering i vejside</string>
|
||||
<string name="type.amenity.parking.lane.fee">Parkering i vejside</string>
|
||||
<string name="type.amenity.parking.lane.private">Privat parkering i vejside</string>
|
||||
<string name="type.amenity.parking_entrance">Parkeringsindkørsel</string>
|
||||
<string name="type.amenity.parking_entrance.private">Privat parkeringsindkørsel</string>
|
||||
<string name="type.amenity.parking_entrance.permissive">Parkeringsindkørsel</string>
|
||||
<string name="type.amenity.parking_space">Parkeringsplads</string>
|
||||
<string name="type.amenity.parking_space.permissive">Parkeringsplads</string>
|
||||
<string name="type.amenity.parking_space.private">Parkeringsplads</string>
|
||||
<string name="type.amenity.parking_space.underground">Parkeringsplads</string>
|
||||
<string name="type.amenity.parking_space.disabled">Handicapparkeringsplads</string>
|
||||
<string name="type.amenity.parking.lane">Gadeparkering</string>
|
||||
<string name="type.amenity.parking.lane.fee">Gadeparkering</string>
|
||||
<string name="type.amenity.parking.lane.private">Privat gadeparkering</string>
|
||||
<string name="type.amenity.parking_entrance">Indkørsel til parkeringshus</string>
|
||||
<string name="type.amenity.parking_entrance.private">Indkørsel til privat parkeringshus</string>
|
||||
<string name="type.amenity.parking_entrance.permissive">Indkørsel til parkeringshus</string>
|
||||
<string name="type.amenity.parking_space">Parkeringsbås</string>
|
||||
<string name="type.amenity.parking_space.permissive">Parkeringsbås</string>
|
||||
<string name="type.amenity.parking_space.private">Parkeringsbås</string>
|
||||
<string name="type.amenity.parking_space.underground">Parkeringsbås</string>
|
||||
<string name="type.amenity.parking_space.disabled">Handicapparkeringsbås</string>
|
||||
<string name="type.amenity.payment_terminal">Betalingsautomat</string>
|
||||
<string name="type.amenity.pharmacy">Apotek</string>
|
||||
<string name="type.amenity.place_of_worship">Tilbedelsessted</string>
|
||||
@@ -393,7 +393,7 @@
|
||||
<string name="type.man_made.bridge">Bro</string>
|
||||
<!-- These translations are used for all type.highway.*.tunnel. -->
|
||||
<string name="type.highway.road.tunnel">Tunnel</string>
|
||||
<string name="type.highway.secondary">Sækunder hovedvej</string>
|
||||
<string name="type.highway.secondary">Sekundær hovedvej</string>
|
||||
<!-- These translations are used for all type.highway.*.bridge. -->
|
||||
<string name="type.highway.secondary.bridge">Bro</string>
|
||||
<!-- These translations are used for all type.highway.*.tunnel. -->
|
||||
@@ -964,7 +964,7 @@
|
||||
<string name="type.shop.curtain">Gardinhandel</string>
|
||||
<string name="type.shop.deli">Delikatessebutik</string>
|
||||
<string name="type.shop.department_store">Stormagasin</string>
|
||||
<string name="type.shop.doityourself">Isenkræmmer</string>
|
||||
<string name="type.shop.doityourself">Byggemarked</string>
|
||||
<string name="type.shop.dry_cleaning">Renseri</string>
|
||||
<string name="type.shop.electronics">Elektronikbutik</string>
|
||||
<string name="type.shop.erotic">Erotikbutik</string>
|
||||
@@ -984,7 +984,7 @@
|
||||
<string name="type.shop.hearing_aids">Høreapparatbutik</string>
|
||||
<string name="type.shop.herbalist">Urtebutik</string>
|
||||
<string name="type.shop.hifi">HiFi lyd</string>
|
||||
<string name="type.shop.houseware">Husholdningsartikler butik</string>
|
||||
<string name="type.shop.houseware">Isenkræmmer</string>
|
||||
<string name="type.shop.jewelry">Smykkebutik</string>
|
||||
<string name="type.shop.kitchen">Køkkenforretning</string>
|
||||
<string name="type.shop.laundry">Vaskeri</string>
|
||||
@@ -993,21 +993,21 @@
|
||||
<string name="type.shop.mobile_phone">Mobiltelefonbutik</string>
|
||||
<string name="type.shop.money_lender">Pengeudlåner</string>
|
||||
<string name="type.shop.motorcycle">Motorcykelforhandler</string>
|
||||
<string name="type.shop.motorcycle_repair">Motorcykel reparation</string>
|
||||
<string name="type.shop.motorcycle_repair">Motorcykelværksted</string>
|
||||
<string name="type.shop.music">Pladebutik</string>
|
||||
<string name="type.shop.musical_instrument">Butik med musikinstrumenter</string>
|
||||
<string name="type.shop.musical_instrument">Instrumentbutik</string>
|
||||
<string name="type.shop.newsagent">Avis-kiosk</string>
|
||||
<string name="type.shop.optician">Optiker</string>
|
||||
<string name="type.shop.outdoor">Fritidsudstyr</string>
|
||||
<string name="type.shop.outdoor">Friluftsbutik</string>
|
||||
<string name="type.shop.outpost">Afhentningssted</string>
|
||||
<string name="type.shop.pasta">Pasta butik</string>
|
||||
<string name="type.shop.pasta">Pastabutik</string>
|
||||
<string name="type.shop.pastry">Bagværk</string>
|
||||
<string name="type.shop.pawnbroker">Pantelåner</string>
|
||||
<string name="type.shop.pet">Dyrehandel</string>
|
||||
<string name="type.shop.pet_grooming">Kæledyrspleje</string>
|
||||
<string name="type.shop.photo">Fotobutik</string>
|
||||
<string name="type.shop.rental">Udlejningsbutik</string>
|
||||
<string name="type.shop.rental.bicycle">Cykeludlejningsbutik</string>
|
||||
<string name="type.shop.rental.bicycle">Cykeludlejning</string>
|
||||
<string name="type.shop.seafood">Fiskehandler</string>
|
||||
<string name="type.shop.second_hand">Genbrugsbutik</string>
|
||||
<string name="type.shop.shoes">Skobutik</string>
|
||||
@@ -1015,7 +1015,7 @@
|
||||
<string name="type.shop.stationery">Kontorartikler</string>
|
||||
<string name="type.shop.supermarket">Supermarked</string>
|
||||
<string name="type.shop.tattoo">Tatovør</string>
|
||||
<string name="type.shop.tea">Tebutik</string>
|
||||
<string name="type.shop.tea">Tehandel</string>
|
||||
<string name="type.shop.ticket">Billetkontor</string>
|
||||
<string name="type.shop.toys">Legetøjsbutik</string>
|
||||
<string name="type.shop.travel_agency">Rejsebureau</string>
|
||||
@@ -1026,7 +1026,7 @@
|
||||
<string name="type.shop.wine">Vinhandel</string>
|
||||
<string name="type.shop.agrarian">Landbrugsbutik</string>
|
||||
<string name="type.shop.antiques">Antikvitetsbutik</string>
|
||||
<string name="type.shop.appliance">Hvidevarer butik</string>
|
||||
<string name="type.shop.appliance">Hvidevareforretning</string>
|
||||
<!-- maybe change to Art Gallery for en-US when supported -->
|
||||
<string name="type.shop.art">Kunstbutik</string>
|
||||
<string name="type.shop.baby_goods">Børnebutik</string>
|
||||
@@ -1036,8 +1036,8 @@
|
||||
<string name="type.shop.charity">Velgørenhedsbutik</string>
|
||||
<string name="type.shop.cheese">Ostebutik</string>
|
||||
<string name="type.shop.craft">Kunst og kunsthåndværk</string>
|
||||
<string name="type.shop.dairy">Mejeriprodukter</string>
|
||||
<string name="type.shop.electrical">El-butik</string>
|
||||
<string name="type.shop.dairy">Mejeributik</string>
|
||||
<string name="type.shop.electrical">Elektrikerbutik</string>
|
||||
<string name="type.shop.fishing">Fiskeributik</string>
|
||||
<string name="type.shop.interior_decoration">Brugskunsthandel</string>
|
||||
<string name="type.shop.lottery">Lottobutik</string>
|
||||
@@ -1058,7 +1058,7 @@
|
||||
<string name="type.sport.australian_football">Australsk fodbold</string>
|
||||
<string name="type.sport.baseball">Baseball</string>
|
||||
<string name="type.sport.basketball">Basketball</string>
|
||||
<string name="type.sport.beachvolleyball">Beachvolley</string>
|
||||
<string name="type.sport.beachvolleyball">Strandvolley</string>
|
||||
<string name="type.sport.chess">Skak</string>
|
||||
<string name="type.sport.curling">Curling</string>
|
||||
<string name="type.sport.equestrian">Ridesport</string>
|
||||
@@ -1163,7 +1163,7 @@
|
||||
<string name="type.highway.bridleway">Ridesti</string>
|
||||
<string name="type.highway.elevator">Elevator</string>
|
||||
<string name="type.highway.bridleway.permissive">Ridesti</string>
|
||||
<string name="type.amenity.biergarten">Traktørsted</string>
|
||||
<string name="type.amenity.biergarten">Biergarten</string>
|
||||
<string name="type.aerialway">Svævebane</string>
|
||||
<string name="type.aerialway.cable_car">Kabinelift</string>
|
||||
<string name="type.aerialway.drag_lift">Træklift</string>
|
||||
@@ -1220,7 +1220,7 @@
|
||||
<string name="type.cuisine.bubble_tea">Boblete</string>
|
||||
<string name="type.barrier.wall">Mur</string>
|
||||
<string name="type.cuisine.fish_and_chips">Fish and Chips</string>
|
||||
<string name="type.highway">Hovedvej</string>
|
||||
<string name="type.highway">Vej</string>
|
||||
<string name="type.highway.services">Rasteplads</string>
|
||||
<string name="type.internet_access">Internet</string>
|
||||
<string name="type.internet_access.wlan">Trådløst internet</string>
|
||||
@@ -1305,7 +1305,7 @@
|
||||
<string name="type.railway.subway">Metrolinje</string>
|
||||
<string name="type.public_transport.platform">Stoppested</string>
|
||||
<string name="type.railway.subway.tunnel">Metrolinjetunnel</string>
|
||||
<string name="type.shop.hardware">Byggemarked</string>
|
||||
<string name="type.shop.hardware">Isenkræmmer</string>
|
||||
<string name="type.aerialway.t.bar">Ankerlift</string>
|
||||
<string name="type.traffic_calming.bump">Vejbump</string>
|
||||
<string name="type.route.ferry">Færgerute</string>
|
||||
@@ -1389,8 +1389,32 @@
|
||||
<string name="type.barrier.wicket_gate">Portlåge</string>
|
||||
<string name="type.natural.wetland.reedbed">Rørskov</string>
|
||||
<string name="type.shop.lighting">Lysbutik</string>
|
||||
<string name="type.amenity.bench.backless">Rygløs bænk</string>
|
||||
<string name="type.amenity.charging_station.motorcar.small">Opladningspunkt til biler</string>
|
||||
<string name="type.leisure.sports_centre.sport.multi">Sportscenter</string>
|
||||
<string name="type.leisure.sports_centre.sport.american_football">Sportscenter</string>
|
||||
<string name="type.amenity.bench.backless">Bænk</string>
|
||||
<string name="type.amenity.charging_station.motorcar.small">Ladestander til biler</string>
|
||||
<string name="type.leisure.sports_centre.sport.multi">Idrætscenter</string>
|
||||
<string name="type.leisure.sports_centre.sport.american_football">Idrætscenter</string>
|
||||
<string name="type.amenity.car_pooling">Samkørsel</string>
|
||||
<string name="type.shop.telecommunication">Telefonibutik</string>
|
||||
<string name="type.disusedbusiness">Ledig forretning</string>
|
||||
<string name="type.amenity.boat_rental">Bådudlejning</string>
|
||||
<string name="type.man_made.observatory">Observatorium</string>
|
||||
<string name="type.amenity.lounger">Solseng</string>
|
||||
<string name="type.leisure.bandstand">Scenepavillon</string>
|
||||
<string name="type.leisure.indoor_play">Legeland</string>
|
||||
<string name="type.leisure.sports_centre.sport.archery">Bueskydningscenter</string>
|
||||
<string name="type.leisure.sports_centre.sport.athletics">Atletikcenter</string>
|
||||
<string name="type.leisure.sports_centre.sport.baseball">Baseballcenter</string>
|
||||
<string name="type.leisure.sports_centre.sport.badminton">Badmintoncenter</string>
|
||||
<string name="type.leisure.sports_centre.sport.basketball">Basketballcenter</string>
|
||||
<string name="type.leisure.sports_centre.sport.golf">Golfcenter</string>
|
||||
<string name="type.leisure.sports_centre.sport.gymnastics">Gymnastikcenter</string>
|
||||
<string name="type.man_made.telescope">Teleskop</string>
|
||||
<string name="type.man_made.telescope.optical">Teleskop (Optisk)</string>
|
||||
<string name="type.man_made.telescope.radio">Teleskop (Radio)</string>
|
||||
<string name="type.man_made.telescope.gamma">Teleskop (Gamma)</string>
|
||||
<string name="type.leisure.sports_centre.sport.swimming">Svømmehal</string>
|
||||
<string name="type.amenity.food_bank">Fødevarebank</string>
|
||||
<string name="type.amenity.soup_kitchen">Suppekøkken</string>
|
||||
<string name="type.amenity.food_sharing">Fødevarerdeling</string>
|
||||
<string name="type.amenity.give_box">Donationsbøsse</string>
|
||||
</resources>
|
||||
|
||||
@@ -337,7 +337,9 @@
|
||||
<string name="type.cuisine.vegetarian">Vegetarisch</string>
|
||||
<string name="type.cuisine.vietnamese">Vietnamesisch</string>
|
||||
<string name="type.emergency">Notfall</string>
|
||||
<string name="type.emergency.access_point">Rettungspunkt</string>
|
||||
<string name="type.emergency.assembly_point">Notfall-Sammelpunkt</string>
|
||||
<string name="type.emergency.life_ring">Rettungsring</string>
|
||||
<string name="type.emergency.defibrillator">Defibrillator</string>
|
||||
<string name="type.emergency.fire_hydrant">Hydrant</string>
|
||||
<string name="type.emergency.phone">Notruftelefon</string>
|
||||
@@ -1441,4 +1443,12 @@
|
||||
<string name="type.leisure.indoor_play">Indoor-Spielplatz</string>
|
||||
<string name="type.amenity.car_pooling">Fahrgemeinschaften</string>
|
||||
<string name="type.shop.telecommunication">Telekommunikationsgeschäft</string>
|
||||
<string name="type.man_made.telescope">Teleskop</string>
|
||||
<string name="type.man_made.telescope.optical">Teleskop (Optisch)</string>
|
||||
<string name="type.man_made.telescope.radio">Teleskop (Radio)</string>
|
||||
<string name="type.man_made.telescope.gamma">Teleskop (Gamma)</string>
|
||||
<string name="type.man_made.observatory">Observatorium</string>
|
||||
<string name="type.amenity.payment_centre">Zahlungszentrum</string>
|
||||
<string name="type.amenity.soup_kitchen">Suppenküche</string>
|
||||
<string name="type.amenity.food_bank">Tafel</string>
|
||||
</resources>
|
||||
|
||||
@@ -1437,4 +1437,13 @@
|
||||
<string name="type.leisure.fitness_centre.sport.yoga">Estudio de yoga</string>
|
||||
<string name="type.disusedbusiness">Local comercial vacante</string>
|
||||
<string name="type.amenity.lounger">Tumbona</string>
|
||||
<string name="type.amenity.boat_rental">Alquiler de botes</string>
|
||||
<string name="type.man_made.telescope">Telescopio</string>
|
||||
<string name="type.man_made.telescope.optical">Telescopio (óptico)</string>
|
||||
<string name="type.man_made.telescope.radio">Radiotelescopio</string>
|
||||
<string name="type.man_made.telescope.gamma">Telescopio Fermi</string>
|
||||
<string name="type.man_made.observatory">Observatorio</string>
|
||||
<string name="type.amenity.mobile_money_agent">Agencia de efectivo móvil</string>
|
||||
<string name="type.amenity.car_pooling">Punto de Vehículo Compartido</string>
|
||||
<string name="type.amenity.payment_centre">Centro de pagos</string>
|
||||
</resources>
|
||||
|
||||
@@ -1436,4 +1436,19 @@
|
||||
<string name="type.leisure.sports_centre.sport.yoga">Joogakeskus</string>
|
||||
<string name="type.disusedbusiness">Vaba äripind</string>
|
||||
<string name="type.amenity.lounger">Rannatool</string>
|
||||
<string name="type.amenity.boat_rental">Paadirent</string>
|
||||
<string name="type.man_made.telescope">Teleskoop</string>
|
||||
<string name="type.man_made.telescope.optical">Optiline teleskoop</string>
|
||||
<string name="type.man_made.telescope.radio">Raadioteleskoop</string>
|
||||
<string name="type.man_made.telescope.gamma">Gammateleskoop</string>
|
||||
<string name="type.man_made.observatory">Observatoorium</string>
|
||||
<string name="type.amenity.mobile_money_agent">Nutiraha müüja</string>
|
||||
<string name="type.amenity.car_pooling">Ühiskasutusautode peatus</string>
|
||||
<string name="type.amenity.payment_centre">Maksekeskus</string>
|
||||
<string name="type.leisure.indoor_play">Mängusaal/Mängutuba</string>
|
||||
<string name="type.shop.telecommunication">Sideteenuste pood</string>
|
||||
<string name="type.amenity.soup_kitchen">Supiköök</string>
|
||||
<string name="type.amenity.food_bank">Toidupank</string>
|
||||
<string name="type.amenity.food_sharing">Toidujagamine</string>
|
||||
<string name="type.amenity.give_box">Annetuskast</string>
|
||||
</resources>
|
||||
|
||||
@@ -1441,4 +1441,14 @@
|
||||
<string name="type.amenity.mobile_money_agent">Agent d\'argent liquide</string>
|
||||
<string name="type.leisure.indoor_play">Complexe de jeux intérieurs</string>
|
||||
<string name="type.shop.telecommunication">Boutique télécom</string>
|
||||
<string name="type.man_made.telescope.optical">Télescope (optique)</string>
|
||||
<string name="type.man_made.telescope.radio">Télescope (radio)</string>
|
||||
<string name="type.man_made.observatory">Observatoire</string>
|
||||
<string name="type.amenity.food_bank">Banque alimentaire</string>
|
||||
<string name="type.amenity.food_sharing">Repas partagé</string>
|
||||
<string name="type.man_made.telescope.gamma">Télescope (Gamma)</string>
|
||||
<string name="type.amenity.car_pooling">Covoiturage</string>
|
||||
<string name="type.amenity.soup_kitchen">Soupe populaire</string>
|
||||
<string name="type.amenity.give_box">Boîte à don</string>
|
||||
<string name="type.man_made.telescope">Télescope</string>
|
||||
</resources>
|
||||
|
||||
@@ -1400,4 +1400,5 @@
|
||||
<string name="type.shop.lighting">Negozio di illuminazione</string>
|
||||
<string name="type.amenity.bench.backless">Panchina senza schienale</string>
|
||||
<string name="type.amenity.charging_station.motorcar.small">Colonnina di ricarica</string>
|
||||
<string name="type.man_made.observatory">Osservatorio</string>
|
||||
</resources>
|
||||
|
||||
@@ -148,4 +148,11 @@
|
||||
<string name="type.amenity.place_of_worship.christian">Baznīca</string>
|
||||
<string name="type.amenity.boat_rental">Laivu noma</string>
|
||||
<string name="type.amenity.bicycle_repair_station">Divriteņu darbnīca</string>
|
||||
<string name="type.man_made.telescope.gamma">Teleskops (Gamma)</string>
|
||||
<string name="type.man_made.observatory">Observatorija</string>
|
||||
<string name="type.man_made.telescope">Teleskops</string>
|
||||
<string name="type.man_made.telescope.optical">Teleskops (optiskais)</string>
|
||||
<string name="type.man_made.telescope.radio">Teleskops (radio)</string>
|
||||
<string name="type.amenity.soup_kitchen">Zupas virtuve</string>
|
||||
<string name="type.amenity.food_sharing">Ēdiena kopīgošana</string>
|
||||
</resources>
|
||||
|
||||
@@ -1363,4 +1363,13 @@
|
||||
<string name="type.railway.funicular.tunnel">Kabelbanetunnel</string>
|
||||
<string name="type.military">Militært</string>
|
||||
<string name="type.landuse.education">Utdanningsinstitusjon</string>
|
||||
<string name="type.man_made.telescope">Teleskop</string>
|
||||
<string name="type.amenity.food_bank">Matsentral</string>
|
||||
<string name="type.man_made.telescope.gamma">Teleskop (Gamma)</string>
|
||||
<string name="type.man_made.telescope.radio">Teleskop (Radio)</string>
|
||||
<string name="type.amenity.soup_kitchen">Suppekjøkken</string>
|
||||
<string name="type.amenity.car_pooling">Samkjøring</string>
|
||||
<string name="type.shop.telecommunication">Telekommunikasjonsbutikk</string>
|
||||
<string name="type.amenity.boat_rental">Båtutleie</string>
|
||||
<string name="type.man_made.observatory">Observatorium</string>
|
||||
</resources>
|
||||
|
||||
@@ -1435,4 +1435,15 @@
|
||||
<string name="type.leisure.sports_centre.sport.yoga">Centrum sportowe</string>
|
||||
<string name="type.leisure.fitness_centre.sport.yoga">Studio Jogi</string>
|
||||
<string name="type.disusedbusiness">Pusty lokal</string>
|
||||
<string name="type.amenity.boat_rental">Wypożyczalnia łodzi</string>
|
||||
<string name="type.man_made.telescope">Teleskop</string>
|
||||
<string name="type.man_made.telescope.optical">Teleskop optyczny</string>
|
||||
<string name="type.man_made.telescope.radio">Radioteleskop</string>
|
||||
<string name="type.man_made.telescope.gamma">Teleskop (prom. gamma)</string>
|
||||
<string name="type.man_made.observatory">Obserwatorium</string>
|
||||
<string name="type.amenity.car_pooling">Car Pooling</string>
|
||||
<string name="type.shop.telecommunication">Sklep dostawcy usług telekomunikacyjnych</string>
|
||||
<string name="type.amenity.food_bank">Bank żywności</string>
|
||||
<string name="type.amenity.soup_kitchen">Jadłodajnia</string>
|
||||
<string name="type.amenity.food_sharing">Jadłodzielnia</string>
|
||||
</resources>
|
||||
|
||||
@@ -1425,4 +1425,19 @@
|
||||
<string name="type.leisure.fitness_centre.sport.yoga">Academia de ioga</string>
|
||||
<string name="type.disusedbusiness">Estabelecimento vazio</string>
|
||||
<string name="type.amenity.lounger">Espreguiçadeira</string>
|
||||
<string name="type.amenity.boat_rental">Aluguel de barco</string>
|
||||
<string name="type.man_made.telescope">Telescópio</string>
|
||||
<string name="type.man_made.telescope.optical">Telescópio (óptico)</string>
|
||||
<string name="type.man_made.telescope.radio">Telescópio (rádio)</string>
|
||||
<string name="type.man_made.telescope.gamma">Telescópio (gama)</string>
|
||||
<string name="type.man_made.observatory">Observatório</string>
|
||||
<string name="type.amenity.mobile_money_agent">Agente de Mobile Money</string>
|
||||
<string name="type.amenity.car_pooling">Carona</string>
|
||||
<string name="type.amenity.payment_centre">Centro de pagamentos</string>
|
||||
<string name="type.leisure.indoor_play">Centro de recreação interno</string>
|
||||
<string name="type.shop.telecommunication">Loja de Telecomunicação</string>
|
||||
<string name="type.amenity.soup_kitchen">Restaurante popular</string>
|
||||
<string name="type.amenity.food_bank">Banco de alimentos</string>
|
||||
<string name="type.amenity.food_sharing">Compartilhamento de alimentos</string>
|
||||
<string name="type.amenity.give_box">Caixa de doação</string>
|
||||
</resources>
|
||||
|
||||
@@ -652,8 +652,8 @@
|
||||
<string name="type.leisure.sauna">Сауна</string>
|
||||
<string name="type.leisure.slipway">Лодочный спуск</string>
|
||||
<string name="type.leisure.sports_centre">Спорткомплекс</string>
|
||||
<string name="type.sport.climbing">Скалодром</string>
|
||||
<string name="type.sport.yoga">Йога-центр</string>
|
||||
<string name="type.sport.climbing">Скалолазание</string>
|
||||
<string name="type.sport.yoga">Йога</string>
|
||||
<string name="type.leisure.stadium">Стадион</string>
|
||||
<string name="type.leisure.swimming_pool">Плавательный бассейн</string>
|
||||
<string name="type.leisure.swimming_pool.private">Плавательный бассейн</string>
|
||||
@@ -1131,7 +1131,7 @@
|
||||
<string name="type.shop.chemist">Бытовая химия</string>
|
||||
<string name="type.shop.chocolate">Магазин шоколада</string>
|
||||
<string name="type.shop.clothes">Магазин одежды</string>
|
||||
<string name="type.shop.coffee">Магазин кофе</string>
|
||||
<string name="type.shop.coffee">Продавец кофе</string>
|
||||
<string name="type.shop.computer">Компьютерный магазин</string>
|
||||
<string name="type.shop.confectionery">Кондитерская</string>
|
||||
<string name="type.shop.convenience">Продуктовый магазин</string>
|
||||
@@ -1248,7 +1248,7 @@
|
||||
<string name="type.sport.handball">Гандбол</string>
|
||||
<string name="type.sport.multi">Различные виды спорта</string>
|
||||
<!-- Used to tag a scuba diving site. -->
|
||||
<string name="type.sport.scuba_diving">Место для ныряния с аквалангом</string>
|
||||
<string name="type.sport.scuba_diving">Подводное плавание с аквалангом</string>
|
||||
<string name="type.sport.shooting">Стрельба</string>
|
||||
<string name="type.sport.skateboard">Скейтбординг</string>
|
||||
<string name="type.sport.skiing">Лыжи</string>
|
||||
@@ -1383,7 +1383,7 @@
|
||||
<string name="type.fee.yes">$</string>
|
||||
<string name="type.barrier.guard_rail">Дорожное ограждение (отбойник)</string>
|
||||
<string name="type.landuse.plant_nursery">Садовый питомник</string>
|
||||
<string name="type.amenity.studio">Студия</string>
|
||||
<string name="type.amenity.studio">Медиа-студия</string>
|
||||
<string name="type.leisure.firepit">Кострище</string>
|
||||
<string name="type.highway.ladder">Лестница-лаз</string>
|
||||
<string name="type.sport.diving">Высотные прыжки в воду</string>
|
||||
@@ -1399,4 +1399,57 @@
|
||||
<string name="type.office.security">Офис охранника</string>
|
||||
<string name="type.building.guardhouse">Будка безопасности</string>
|
||||
<string name="type.power.portal">Портальная опора</string>
|
||||
<string name="type.amenity.boat_rental">Прокат лодок</string>
|
||||
<string name="type.man_made.telescope">Телескоп</string>
|
||||
<string name="type.man_made.telescope.optical">Телескоп (оптический)</string>
|
||||
<string name="type.man_made.telescope.radio">Телескоп (радио)</string>
|
||||
<string name="type.man_made.telescope.gamma">Телескоп (Гамма)</string>
|
||||
<string name="type.man_made.observatory">Обсерватория</string>
|
||||
<string name="type.amenity.charging_station.motorcar.small">Пункт зарядки автомобиля</string>
|
||||
<string name="type.amenity.lounger">Шезлонг</string>
|
||||
<string name="type.amenity.car_pooling">Совместное использование авто</string>
|
||||
<string name="type.amenity.payment_centre">Платежный центр</string>
|
||||
<string name="type.leisure.bandstand">Эстрада</string>
|
||||
<string name="type.leisure.indoor_play">Крытый игровой центр</string>
|
||||
<string name="type.leisure.sports_centre.sport.multi">Спортивный центр</string>
|
||||
<string name="type.leisure.sports_centre.sport.american_football">Спортивный центр</string>
|
||||
<string name="type.leisure.sports_centre.sport.archery">Спортивный центр</string>
|
||||
<string name="type.leisure.sports_centre.sport.athletics">Спортивный центр</string>
|
||||
<string name="type.leisure.sports_centre.sport.australian_football">Спортивный центр</string>
|
||||
<string name="type.leisure.sports_centre.sport.badminton">Спортивный центр</string>
|
||||
<string name="type.leisure.sports_centre.sport.baseball">Спортивный центр</string>
|
||||
<string name="type.leisure.sports_centre.sport.basketball">Спортивный центр</string>
|
||||
<string name="type.leisure.sports_centre.sport.beachvolleyball">Спортивный центр</string>
|
||||
<string name="type.leisure.sports_centre.sport.bowls">Спортивный центр</string>
|
||||
<string name="type.leisure.sports_centre.sport.climbing">Спортивный центр</string>
|
||||
<string name="type.leisure.sports_centre.sport.cricket">Спортивный центр</string>
|
||||
<string name="type.leisure.sports_centre.sport.curling">Спортивный центр</string>
|
||||
<string name="type.leisure.sports_centre.sport.equestrian">Спортивный центр</string>
|
||||
<string name="type.leisure.sports_centre.sport.field_hockey">Спортивный центр</string>
|
||||
<string name="type.leisure.sports_centre.sport.futsal">Спортивный центр</string>
|
||||
<string name="type.leisure.sports_centre.sport.golf">Спортивный центр</string>
|
||||
<string name="type.leisure.sports_centre.sport.gymnastics">Спортивный центр</string>
|
||||
<string name="type.leisure.sports_centre.sport.handball">Спортивный центр</string>
|
||||
<string name="type.leisure.sports_centre.sport.ice_hockey">Спортивный центр</string>
|
||||
<string name="type.leisure.sports_centre.sport.padel">Спортивный центр</string>
|
||||
<string name="type.leisure.sports_centre.sport.pelota">Спортивный центр</string>
|
||||
<string name="type.leisure.sports_centre.sport.scuba_diving">Спортивный центр</string>
|
||||
<string name="type.leisure.sports_centre.sport.shooting">Спортивный центр</string>
|
||||
<string name="type.leisure.sports_centre.sport.skateboard">Спортивный центр</string>
|
||||
<string name="type.leisure.sports_centre.sport.skiing">Спортивный центр</string>
|
||||
<string name="type.leisure.sports_centre.sport.soccer">Спортивный центр</string>
|
||||
<string name="type.leisure.sports_centre.sport.swimming">Плавательный центр</string>
|
||||
<string name="type.leisure.sports_centre.sport.table_tennis">Спортивный центр</string>
|
||||
<string name="type.leisure.sports_centre.sport.tennis">Спортивный центр</string>
|
||||
<string name="type.leisure.sports_centre.sport.volleyball">Спортивный центр</string>
|
||||
<string name="type.leisure.sports_centre.sport.yoga">Спортивный центр</string>
|
||||
<string name="type.leisure.fitness_centre.sport.yoga">Студия Йоги</string>
|
||||
<string name="type.shop.telecommunication">Телекоммуникационный магазин</string>
|
||||
<string name="type.disusedbusiness">Вакантный бизнес</string>
|
||||
<string name="type.amenity.soup_kitchen">Бесплатная столовая</string>
|
||||
<string name="type.amenity.food_bank">Продовольственный банк</string>
|
||||
<string name="type.amenity.food_sharing">Обмен едой</string>
|
||||
<string name="type.amenity.give_box">Подарить коробку</string>
|
||||
<string name="type.amenity.bench.backless">Скамья без спинки</string>
|
||||
<string name="type.amenity.mobile_money_agent">Агент мобильных платежей</string>
|
||||
</resources>
|
||||
|
||||
@@ -154,4 +154,10 @@
|
||||
<string name="type.amenity.charging_station.motorcar.small">Polnilno mesto za avtomobile</string>
|
||||
<string name="type.amenity.childcare">Vrtec</string>
|
||||
<string name="type.amenity.cinema">Kino</string>
|
||||
<string name="type.amenity.boat_rental">Izposoja čolnov</string>
|
||||
<string name="type.man_made.telescope">Teleskop</string>
|
||||
<string name="type.man_made.telescope.optical">Teleskop (svetlobni)</string>
|
||||
<string name="type.man_made.telescope.radio">Teleskop (radijski)</string>
|
||||
<string name="type.man_made.telescope.gamma">Teleskop (gama žarki)</string>
|
||||
<string name="type.man_made.observatory">Zvezdarna</string>
|
||||
</resources>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
<string name="type.amenity.bbq">Грил</string>
|
||||
<string name="type.amenity.bench">Клупа</string>
|
||||
<string name="type.amenity.bicycle_parking">Паркинг за бицикле</string>
|
||||
<string name="type.amenity.bicycle_rental">Рентирање бицикли</string>
|
||||
<string name="type.amenity.bicycle_rental">Изнајмљивање бицикала</string>
|
||||
<string name="type.amenity.bicycle_repair_station">Станица за поправку бицикала</string>
|
||||
<string name="type.amenity.biergarten">Пивска башта</string>
|
||||
<string name="type.amenity.brothel">Јавна кућа</string>
|
||||
@@ -648,7 +648,7 @@
|
||||
<string name="type.leisure.slipway">Навоз</string>
|
||||
<string name="type.leisure.sports_centre">Спортски центар</string>
|
||||
<string name="type.sport.climbing">Вештачка стена</string>
|
||||
<string name="type.sport.yoga">Јога студио</string>
|
||||
<string name="type.sport.yoga">Јога</string>
|
||||
<string name="type.leisure.stadium">Стадион</string>
|
||||
<string name="type.leisure.swimming_pool">Базен</string>
|
||||
<string name="type.leisure.swimming_pool.private">Приватни базен</string>
|
||||
@@ -1161,7 +1161,7 @@
|
||||
<string name="type.shop.pet_grooming">Грумер</string>
|
||||
<string name="type.shop.photo">Фотограф</string>
|
||||
<string name="type.shop.rental">Центар за изнајмљивање</string>
|
||||
<string name="type.shop.rental.bicycle">Изнајмљивање бицикала</string>
|
||||
<string name="type.shop.rental.bicycle">Центар за изнајмљивање бицикала</string>
|
||||
<string name="type.shop.seafood">Рибарница</string>
|
||||
<string name="type.shop.second_hand">Половна одећа</string>
|
||||
<string name="type.shop.shoes">Обућа</string>
|
||||
@@ -1230,7 +1230,7 @@
|
||||
<string name="type.sport.soccer">Фудбал</string>
|
||||
<string name="type.sport.swimming">Пливање</string>
|
||||
<string name="type.sport.table_tennis">Стони тенис</string>
|
||||
<string name="type.sport.tennis">Тенис</string>
|
||||
<string name="type.sport.tennis">Тениски терен</string>
|
||||
<string name="type.sport.volleyball">Одбојка</string>
|
||||
<string name="type.sport.10pin">Куглање</string>
|
||||
<string name="type.sport.9pin">Куглање</string>
|
||||
@@ -1375,7 +1375,7 @@
|
||||
<string name="type.leisure.firepit">Огњиште</string>
|
||||
<string name="type.landuse.plant_nursery">Расадник</string>
|
||||
<string name="type.barrier.guard_rail">Заштитна ограда</string>
|
||||
<string name="type.amenity.studio">Студио</string>
|
||||
<string name="type.amenity.studio">Медијски студио</string>
|
||||
<string name="type.highway.ladder">Мердевине</string>
|
||||
<string name="type.man_made.crane">Кран</string>
|
||||
<string name="type.railway.station.subway.qingdao">Метро станица</string>
|
||||
@@ -1398,4 +1398,57 @@
|
||||
<string name="type.building.guardhouse">Кућица обезбеђења</string>
|
||||
<string name="type.power.portal">Носач електричних водова</string>
|
||||
<string name="type.shop.lighting">Продавница расвете</string>
|
||||
<string name="type.amenity.give_box">Кутија за поклоне</string>
|
||||
<string name="type.amenity.food_sharing">Дељење хране</string>
|
||||
<string name="type.amenity.food_bank">Банка хране</string>
|
||||
<string name="type.amenity.soup_kitchen">Народна кухиња</string>
|
||||
<string name="type.man_made.observatory">Опсерваторија</string>
|
||||
<string name="type.man_made.telescope">Телескоп</string>
|
||||
<string name="type.man_made.telescope.optical">Телескоп (оптички)</string>
|
||||
<string name="type.man_made.telescope.radio">Телескоп (радио)</string>
|
||||
<string name="type.man_made.telescope.gamma">Телескоп (гама)</string>
|
||||
<string name="type.amenity.car_pooling">Заједничка вожња</string>
|
||||
<string name="type.amenity.payment_centre">Плаћање рачуна</string>
|
||||
<string name="type.amenity.bench.backless">Клупа без наслона</string>
|
||||
<string name="type.amenity.boat_rental">Изнајмљивање чамаца</string>
|
||||
<string name="type.amenity.charging_station.motorcar.small">Место за пуњење аутомобила</string>
|
||||
<string name="type.amenity.lounger">Лежаљка</string>
|
||||
<string name="type.amenity.mobile_money_agent">Посредник за мобилно плаћање</string>
|
||||
<string name="type.leisure.bandstand">Бина</string>
|
||||
<string name="type.leisure.indoor_play">Играоница</string>
|
||||
<string name="type.leisure.sports_centre.sport.multi">Спортски центар</string>
|
||||
<string name="type.leisure.sports_centre.sport.american_football">Спортски центар</string>
|
||||
<string name="type.leisure.sports_centre.sport.archery">Спортски центар</string>
|
||||
<string name="type.leisure.sports_centre.sport.athletics">Спортски центар</string>
|
||||
<string name="type.leisure.sports_centre.sport.australian_football">Спортски центар</string>
|
||||
<string name="type.leisure.sports_centre.sport.badminton">Спортски центар</string>
|
||||
<string name="type.leisure.sports_centre.sport.baseball">Спортски центар</string>
|
||||
<string name="type.leisure.sports_centre.sport.basketball">Спортски центар</string>
|
||||
<string name="type.leisure.sports_centre.sport.beachvolleyball">Спортски центар</string>
|
||||
<string name="type.leisure.sports_centre.sport.bowls">Спортски центар</string>
|
||||
<string name="type.leisure.sports_centre.sport.climbing">Спортски центар</string>
|
||||
<string name="type.leisure.sports_centre.sport.cricket">Спортски центар</string>
|
||||
<string name="type.leisure.sports_centre.sport.curling">Спортски центар</string>
|
||||
<string name="type.leisure.sports_centre.sport.equestrian">Спортски центар</string>
|
||||
<string name="type.leisure.sports_centre.sport.field_hockey">Спортски центар</string>
|
||||
<string name="type.leisure.sports_centre.sport.futsal">Спортски центар</string>
|
||||
<string name="type.leisure.sports_centre.sport.golf">Спортски центар</string>
|
||||
<string name="type.leisure.sports_centre.sport.gymnastics">Спортски центар</string>
|
||||
<string name="type.leisure.sports_centre.sport.handball">Спортски центар</string>
|
||||
<string name="type.leisure.sports_centre.sport.ice_hockey">Спортски центар</string>
|
||||
<string name="type.leisure.sports_centre.sport.padel">Спортски центар</string>
|
||||
<string name="type.leisure.sports_centre.sport.pelota">Спортски центар</string>
|
||||
<string name="type.leisure.sports_centre.sport.scuba_diving">Спортски центар</string>
|
||||
<string name="type.leisure.sports_centre.sport.shooting">Спортски центар</string>
|
||||
<string name="type.leisure.sports_centre.sport.skateboard">Спортски центар</string>
|
||||
<string name="type.leisure.sports_centre.sport.skiing">Спортски центар</string>
|
||||
<string name="type.leisure.sports_centre.sport.soccer">Спортски центар</string>
|
||||
<string name="type.leisure.sports_centre.sport.swimming">Пливачки центар</string>
|
||||
<string name="type.leisure.sports_centre.sport.table_tennis">Спортски центар</string>
|
||||
<string name="type.leisure.sports_centre.sport.tennis">Спортски центар</string>
|
||||
<string name="type.leisure.sports_centre.sport.volleyball">Спортски центар</string>
|
||||
<string name="type.leisure.sports_centre.sport.yoga">Спортски центар</string>
|
||||
<string name="type.leisure.fitness_centre.sport.yoga">Јога студио</string>
|
||||
<string name="type.shop.telecommunication">Продавница мобилног оператера</string>
|
||||
<string name="type.disusedbusiness">Некоришћен пословни простор</string>
|
||||
</resources>
|
||||
|
||||
@@ -284,7 +284,6 @@
|
||||
<string name="type.craft.shoemaker">Shoe Repair</string>
|
||||
<string name="type.craft.winery">Winery</string>
|
||||
<string name="type.craft.tailor">Tailor</string>
|
||||
<string name="type.cuisine.afghan">Afghan</string>
|
||||
<string name="type.cuisine.african">African</string>
|
||||
<string name="type.cuisine.american">American</string>
|
||||
<string name="type.cuisine.arab">Arab</string>
|
||||
@@ -293,62 +292,38 @@
|
||||
<string name="type.cuisine.austrian">Austrian</string>
|
||||
<string name="type.cuisine.bagel">Bagel</string>
|
||||
<string name="type.cuisine.balkan">Balkan</string>
|
||||
<string name="type.cuisine.bar_and_grill">Bar and Grill</string>
|
||||
<string name="type.cuisine.barbecue">Barbecue</string>
|
||||
<string name="type.cuisine.bavarian">Bavarian</string>
|
||||
<string name="type.cuisine.beef_bowl">Beef Bowl</string>
|
||||
<string name="type.cuisine.bistro">Bistro</string>
|
||||
<string name="type.cuisine.bolivian">Bolivian</string>
|
||||
<string name="type.cuisine.brazilian">Brazilian</string>
|
||||
<string name="type.cuisine.breakfast">Breakfast</string>
|
||||
<string name="type.cuisine.british">British</string>
|
||||
<string name="type.cuisine.brunch">Brunch</string>
|
||||
<string name="type.cuisine.bubble_tea">Bubble Tea</string>
|
||||
<string name="type.cuisine.buffet">Buffet</string>
|
||||
<string name="type.cuisine.burger">Burger</string>
|
||||
<string name="type.cuisine.buschenschank">Buschenschank</string>
|
||||
<string name="type.cuisine.cajun">Cajun</string>
|
||||
<string name="type.cuisine.cake">Cake</string>
|
||||
<string name="type.cuisine.cantonese">Cantonese</string>
|
||||
<string name="type.cuisine.caribbean">Caribbean</string>
|
||||
<string name="type.cuisine.chicken">Chicken</string>
|
||||
<string name="type.cuisine.chinese">Chinese</string>
|
||||
<string name="type.cuisine.churro">Churro</string>
|
||||
<string name="type.cuisine.coffee_shop">Coffee</string>
|
||||
<string name="type.cuisine.colombian">Colombian</string>
|
||||
<string name="type.cuisine.crepe">Crepe</string>
|
||||
<string name="type.cuisine.croatian">Croatian</string>
|
||||
<string name="type.cuisine.cuban">Cuban</string>
|
||||
<string name="type.cuisine.curry">Curry</string>
|
||||
<string name="type.cuisine.czech">Czech</string>
|
||||
<string name="type.cuisine.danish">Danish</string>
|
||||
<string name="type.cuisine.deli">Deli</string>
|
||||
<string name="type.cuisine.dessert">Dessert</string>
|
||||
<string name="type.cuisine.diner">Diner</string>
|
||||
<string name="type.cuisine.donut">Donut</string>
|
||||
<string name="type.cuisine.dumplings">Dumplings</string>
|
||||
<string name="type.cuisine.empanada">Empanada</string>
|
||||
<string name="type.cuisine.ethiopian">Ethiopian</string>
|
||||
<string name="type.cuisine.european">European</string>
|
||||
<string name="type.cuisine.falafel">Falafel</string>
|
||||
<string name="type.cuisine.filipino">Filipino</string>
|
||||
<string name="type.cuisine.fine_dining">Fine Dining</string>
|
||||
<string name="type.cuisine.fish">Fish</string>
|
||||
<string name="type.cuisine.fish_and_chips">Fish and Chips</string>
|
||||
<string name="type.cuisine.french">French</string>
|
||||
<string name="type.cuisine.french_fries">French Fries</string>
|
||||
<string name="type.cuisine.french_tacos">French Tacos</string>
|
||||
<string name="type.cuisine.fried_food">Fried Food</string>
|
||||
<string name="type.cuisine.friture">Friture</string>
|
||||
<string name="type.cuisine.frozen_yogurt">Frozen Yogurt</string>
|
||||
<string name="type.cuisine.georgian">Georgian</string>
|
||||
<string name="type.cuisine.german">German</string>
|
||||
<string name="type.cuisine.greek">Greek</string>
|
||||
<string name="type.cuisine.grill">Grill</string>
|
||||
<string name="type.cuisine.hawaiian">Hawaiian</string>
|
||||
<string name="type.cuisine.heuriger">Heuriger</string>
|
||||
<string name="type.cuisine.hotdog">Hotdog</string>
|
||||
<string name="type.cuisine.hotpot">Hotpot</string>
|
||||
<string name="type.cuisine.hungarian">Hungarian</string>
|
||||
<string name="type.cuisine.ice_cream">Ice Cream</string>
|
||||
<string name="type.cuisine.indian">Indian</string>
|
||||
@@ -357,78 +332,48 @@
|
||||
<string name="type.cuisine.irish">Irish</string>
|
||||
<string name="type.cuisine.italian">Italian</string>
|
||||
<string name="type.cuisine.italian_pizza">Italian, Pizza</string>
|
||||
<string name="type.cuisine.jamaican">Jamaican</string>
|
||||
<string name="type.cuisine.japanese">Japanese</string>
|
||||
<string name="type.cuisine.juice">Juice</string>
|
||||
<string name="type.cuisine.kebab">Kebab</string>
|
||||
<string name="type.cuisine.korean">Korean</string>
|
||||
<string name="type.cuisine.lao">Lao</string>
|
||||
<string name="type.cuisine.latin_american">Latin American</string>
|
||||
<string name="type.cuisine.lebanese">Lebanese</string>
|
||||
<string name="type.cuisine.local">Local</string>
|
||||
<string name="type.cuisine.malagasy">Malagasy</string>
|
||||
<string name="type.cuisine.malaysian">Malaysian</string>
|
||||
<string name="type.cuisine.meat">Meat</string>
|
||||
<string name="type.cuisine.mediterranean">Mediterranean</string>
|
||||
<string name="type.cuisine.mexican">Mexican</string>
|
||||
<string name="type.cuisine.middle_eastern">Middle Eastern</string>
|
||||
<string name="type.cuisine.mongolian_grill">Mongolian Grill</string>
|
||||
<string name="type.cuisine.moroccan">Moroccan</string>
|
||||
<string name="type.cuisine.nepalese">Nepalese</string>
|
||||
<string name="type.cuisine.noodles">Noodles</string>
|
||||
<string name="type.cuisine.oriental">East Asian</string>
|
||||
<string name="type.cuisine.pakistani">Pakistani</string>
|
||||
<string name="type.cuisine.pancake">Pancake</string>
|
||||
<string name="type.cuisine.pasta">Pasta</string>
|
||||
<string name="type.cuisine.persian">Persian</string>
|
||||
<string name="type.cuisine.peruvian">Peruvian</string>
|
||||
<string name="type.cuisine.piadina">Piadina</string>
|
||||
<string name="type.cuisine.pie_and_mash">Pie and Mash</string>
|
||||
<string name="type.cuisine.pizza">Pizza</string>
|
||||
<string name="type.cuisine.poke">Poke</string>
|
||||
<string name="type.cuisine.polish">Polish</string>
|
||||
<string name="type.cuisine.portuguese">Portuguese</string>
|
||||
<string name="type.cuisine.potato">Potato</string>
|
||||
<string name="type.cuisine.pretzel">Pretzel</string>
|
||||
<string name="type.cuisine.ramen">Ramen</string>
|
||||
<string name="type.cuisine.regional">Regional</string>
|
||||
<string name="type.cuisine.rice_noodle">Rice Noodle</string>
|
||||
<string name="type.cuisine.russian">Russian</string>
|
||||
<string name="type.cuisine.sandwich">Sandwich</string>
|
||||
<string name="type.cuisine.sausage">Sausage</string>
|
||||
<string name="type.cuisine.savory_pancakes">Savory Pancakes</string>
|
||||
<string name="type.cuisine.seafood">Seafood</string>
|
||||
<string name="type.cuisine.shawarma">Shawarma</string>
|
||||
<string name="type.cuisine.snack">Snack</string>
|
||||
<string name="type.cuisine.soba">Soba</string>
|
||||
<string name="type.cuisine.soup">Soup</string>
|
||||
<string name="type.cuisine.southern">Southern</string>
|
||||
<string name="type.cuisine.spanish">Spanish</string>
|
||||
<string name="type.cuisine.steak_house">Steak House</string>
|
||||
<string name="type.cuisine.sushi">Sushi</string>
|
||||
<string name="type.cuisine.swedish">Swedish</string>
|
||||
<string name="type.cuisine.syrian">Syrian</string>
|
||||
<string name="type.cuisine.tacos">Tacos</string>
|
||||
<string name="type.cuisine.taiwanese">Taiwanese</string>
|
||||
<string name="type.cuisine.takoyaki">Takoyaki</string>
|
||||
<string name="type.cuisine.tapas">Tapas</string>
|
||||
<string name="type.cuisine.tea">Tea</string>
|
||||
<string name="type.cuisine.teppanyaki">Teppanyaki</string>
|
||||
<string name="type.cuisine.thai">Thai</string>
|
||||
<string name="type.cuisine.turkish">Turkish</string>
|
||||
<string name="type.cuisine.ukrainian">Ukrainian</string>
|
||||
<string name="type.cuisine.uzbek">Uzbek</string>
|
||||
<string name="type.cuisine.vegan">Vegan</string>
|
||||
<string name="type.cuisine.vegetarian">Vegetarian</string>
|
||||
<string name="type.cuisine.venezuelan">Venezuelan</string>
|
||||
<string name="type.cuisine.vietnamese">Vietnamese</string>
|
||||
<string name="type.cuisine.waffle">Waffle</string>
|
||||
<string name="type.cuisine.western">Western</string>
|
||||
<string name="type.cuisine.wings">Wings</string>
|
||||
<string name="type.cuisine.yakiniku">Yakiniku</string>
|
||||
<string name="type.cuisine.yakitori">Yakitori</string>
|
||||
<string name="type.emergency">Emergency</string>
|
||||
<string name="type.emergency.access_point">Emergency Rescue Point</string>
|
||||
<string name="type.emergency.assembly_point">Emergency Assembly Point</string>
|
||||
<string name="type.emergency.life_ring">Lifebuoy</string>
|
||||
<string name="type.emergency.defibrillator">Defibrillator</string>
|
||||
<string name="type.emergency.fire_hydrant">Fire Hydrant</string>
|
||||
<string name="type.emergency.phone">Emergency Phone</string>
|
||||
|
||||
@@ -397,7 +397,9 @@
|
||||
"amenity-payment_terminal": "Bezahlterminal",
|
||||
"amenity-public_bath": "Öffentliches Bad",
|
||||
"amenity-shower": "Dusche",
|
||||
"emergency-access_point": "4Rettungspunkt|Notfallpunkt|Notfall-Rettungspunkt|Notfall-Treffpunkt",
|
||||
"emergency-assembly_point": "Notfall-Sammelpunkt",
|
||||
"emergency-life_ring": "4Rettungsring",
|
||||
"emergency-defibrillator": "4Defibrillator",
|
||||
"emergency-fire_hydrant": "4Hydrant",
|
||||
"emergency-lifeguard": "Notfall-Rettungsschwimmer|Rettungsschwimmer",
|
||||
|
||||
@@ -427,7 +427,9 @@
|
||||
"amenity-payment_centre": "Payment Centre",
|
||||
"amenity-public_bath": "Public Bath",
|
||||
"amenity-shower": "Shower",
|
||||
"emergency-access_point": "5Emergency Rescue Point|Emergency Location|Emergency Marker|Emergency Access Point",
|
||||
"emergency-assembly_point": "Emergency Assembly Point",
|
||||
"emergency-life_ring": "5Lifebuoy|6Life Ring|life-ring|lifering|flotation device|floatation device",
|
||||
"emergency-defibrillator": "4Defibrillator|AED",
|
||||
"emergency-fire_hydrant": "4Fire Hydrant|Fire Plug",
|
||||
"emergency-lifeguard": "Lifeguard|Lifesaver",
|
||||
|
||||
@@ -498,5 +498,16 @@
|
||||
"sport-9pin": "Bolos",
|
||||
"sport-10pin": "Bolos",
|
||||
"shop-bookmaker|@gambling": "Corredor de apuestas",
|
||||
"leisure-fitness_centre-sport-yoga": "Estudio de yoga"
|
||||
"leisure-fitness_centre-sport-yoga": "Estudio de yoga",
|
||||
"amenity-mobile_money_agent": "Agencia de efectivo móvil | agente de dinero móvil | agencia de dinero móvil | agente de efectivo móvil",
|
||||
"amenity-boat_rental": "4aquiler de botes|alquiler de barcos|bote|botes|barco|barcos|barca|barcas|lancha|lanchas|embarcación|embarcaciones|velero|veleros|nagegar|3alquiler",
|
||||
"man_made-telescope|man_made-telescope-optical|man_made-telescope-radio|man_made-telescope-gamma": "4Telescopio",
|
||||
"man_made-observatory": "3Observatorio",
|
||||
"amenity-car_pooling|@category_parking": "Car pooling | Vehículo compartido | Blabla Car",
|
||||
"amenity-payment_centre": "Centro de pagos",
|
||||
"leisure-indoor_play": "Parque interior|niños",
|
||||
"shop-telecommunication|@shop": "Telecomunicaciones",
|
||||
"leisure-bandstand": "4Tarima",
|
||||
"social_facility-soup_kitchen": "4Comedor social | Comedor popular | Comedor comunitario | Comida",
|
||||
"social_facility-food_bank": "Banco de alimentos | alimento | comida | voluntariado"
|
||||
}
|
||||
|
||||
@@ -2931,174 +2931,3 @@ sr:Веганска|Вегетаријанска|Вегетаријанци|Ве
|
||||
# el:Βιετναμέζικη κουζίνα
|
||||
# he:מטבח וייטנאמי
|
||||
# sk:Vietnamská kuchyňa
|
||||
|
||||
cuisine-juice
|
||||
en:Juice
|
||||
|
||||
cuisine-wings
|
||||
en:Wings
|
||||
|
||||
# cuisine-dessert
|
||||
# en:Dessert
|
||||
|
||||
cuisine-frozen_yogurt
|
||||
en:Frozen Yogurt
|
||||
|
||||
cuisine-tacos
|
||||
en:Tacos
|
||||
|
||||
cuisine-dumplings
|
||||
en:Dumplings
|
||||
|
||||
# cuisine-taiwanese
|
||||
# en:Taiwanese cuisine
|
||||
|
||||
# cuisine-british
|
||||
# en:British cuisine
|
||||
|
||||
# cuisine-middle_eastern
|
||||
# en:Middle Eastern cuisine
|
||||
|
||||
cuisine-shawarma
|
||||
en:Shawarma
|
||||
|
||||
cuisine-pretzel
|
||||
en:Pretzel
|
||||
|
||||
# cuisine-bistro
|
||||
# en:Bistro
|
||||
|
||||
cuisine-poke
|
||||
en:Poke
|
||||
|
||||
cuisine-hotpot
|
||||
en:Hotpot
|
||||
|
||||
# cuisine-latin_american
|
||||
# en:Latin American cuisine
|
||||
|
||||
# cuisine-hawaiian
|
||||
# en:Hawaiian cuisine
|
||||
|
||||
cuisine-churro
|
||||
en:Churro
|
||||
|
||||
# cuisine-western
|
||||
# en:Western cuisine
|
||||
|
||||
cuisine-french_fries
|
||||
en:French Fries
|
||||
|
||||
cuisine-fried_food
|
||||
en:Fried Food
|
||||
|
||||
cuisine-empanada
|
||||
en:Empanada
|
||||
|
||||
cuisine-piadina
|
||||
en:Piadina
|
||||
|
||||
# cuisine-buffet
|
||||
# en:Buffet
|
||||
|
||||
# cuisine-european
|
||||
# en:European cuisine
|
||||
|
||||
# cuisine-bar_and_grill
|
||||
# en:Bar and Grill
|
||||
|
||||
# cuisine-jamaican
|
||||
# en:Jamaican cuisine
|
||||
|
||||
cuisine-waffle
|
||||
en:Waffle
|
||||
|
||||
# cuisine-potato
|
||||
# en:Potato
|
||||
|
||||
# cuisine-meat
|
||||
# en:Meat
|
||||
|
||||
# cuisine-nepalese
|
||||
# en:Nepalese cuisine
|
||||
|
||||
cuisine-brunch
|
||||
en:Brunch
|
||||
|
||||
# cuisine-ukrainian
|
||||
# en:Ukrainian cuisine
|
||||
|
||||
# cuisine-cuban
|
||||
# en:Cuban cuisine
|
||||
|
||||
# cuisine-uzbek
|
||||
# en:Uzbek cuisine
|
||||
|
||||
# cuisine-bolivian
|
||||
# en:Bolivian cuisine
|
||||
|
||||
cuisine-yakiniku
|
||||
en:Yakiniku
|
||||
|
||||
# cuisine-afghan
|
||||
# en:Afghan cuisine
|
||||
|
||||
# cuisine-syrian
|
||||
# en:Syrian cuisine
|
||||
|
||||
# cuisine-cantonese
|
||||
# en:Cantonese cuisine
|
||||
|
||||
cuisine-french_tacos
|
||||
en:French Tacos
|
||||
|
||||
# cuisine-snack
|
||||
# en:Snack
|
||||
|
||||
# cuisine-danish
|
||||
# en:Danish cuisine
|
||||
|
||||
cuisine-soup
|
||||
en:Soup
|
||||
|
||||
# cuisine-swedish
|
||||
# en:Swedish cuisine
|
||||
|
||||
cuisine-falafel
|
||||
en:Falafel
|
||||
|
||||
cuisine-rice_noodle
|
||||
en:Rice Noodle
|
||||
|
||||
# cuisine-czech
|
||||
# en:Czech cuisine
|
||||
|
||||
cuisine-teppanyaki
|
||||
en:Teppanyaki
|
||||
|
||||
# cuisine-pakistani
|
||||
# en:Pakistani cuisine
|
||||
|
||||
# cuisine-colombian
|
||||
# en:Colombian cuisine
|
||||
|
||||
# cuisine-cajun
|
||||
# en:Cajun cuisine
|
||||
|
||||
cuisine-takoyaki
|
||||
en:Takoyaki
|
||||
|
||||
# cuisine-mongolian_grill
|
||||
# en:Mongolian Grill
|
||||
|
||||
cuisine-yakitori
|
||||
en:Yakitori
|
||||
|
||||
# cuisine-southern
|
||||
# en:Southern cuisine
|
||||
|
||||
cuisine-pie_and_mash
|
||||
en:Pie and Mash
|
||||
|
||||
# cuisine-venezuelan
|
||||
# en:Venezuelan cuisine
|
||||
|
||||
@@ -24,3 +24,4 @@ China_Guangdong Hong Kong
|
||||
US_Guam Guam
|
||||
Macedonia North Macedonia
|
||||
Czech Republic Czechia
|
||||
Myanmar Burma
|
||||
|
||||
|
@@ -169,7 +169,7 @@ highway|residential|bridge;[highway=residential][bridge?];;name;int_name;81;
|
||||
# railway|rail|service|bridge;[railway=rail][service?][service!=spur][bridge?];...
|
||||
railway|rail|bridge;[railway=rail][bridge?][dont=match];;name;int_name;82;
|
||||
deprecated:boundary|administrative|10:04.2024;[boundary=administrative][admin_level=10];x;name;int_name;83;
|
||||
deprecated:boundary|administrative|6:04.2024;[boundary=administrative][admin_level=6];x;name;int_name;84;
|
||||
emergency|access_point;[emergency=access_point];;name;;84;
|
||||
highway|secondary|bridge;[highway=secondary][bridge?];;name;int_name;85;
|
||||
highway|tertiary|bridge;[highway=tertiary][bridge?];;name;int_name;86;
|
||||
barrier|bollard;87;
|
||||
@@ -225,7 +225,7 @@ place|suburb;128;
|
||||
landuse|allotments;129;
|
||||
landuse|forest|coniferous;[landuse=forest][wood=coniferous],[landuse=forest][leaf_type=coniferous],[natural=wood][wood=coniferous],[natural=wood][leaf_type=coniferous];;name;int_name;130;
|
||||
landuse|forest|mixed;[landuse=forest][wood=mixed],[landuse=forest][leaf_type=mixed],[landuse=forest][leaf_cycle=mixed],[natural=wood][wood=mixed],[natural=wood][leaf_type=mixed],[natural=wood][leaf_cycle=mixed];;name;int_name;131;
|
||||
deprecated:natural|wood|mixed:01.2020;[natural=wood][wood=mixed],[natural=wood][leaf_type=mixed],[natural=wood][leaf_cycle=mixed];x;name;int_name;132;landuse|forest|mixed
|
||||
emergency|life_ring;132;
|
||||
sport|tennis;133;
|
||||
# ~730k usages.
|
||||
landuse|vineyard;134;
|
||||
@@ -1446,7 +1446,7 @@ cuisine|savory_pancakes;1318;
|
||||
cuisine|moroccan;1319;
|
||||
cuisine|peruvian;1320;
|
||||
cuisine|fine_dining;1321;
|
||||
cuisine|tea;[cuisine=tea],[cuisine=tea_house],[cuisine=tea_room];;;;1322;
|
||||
cuisine|tea;1322;
|
||||
natural|geyser;1323;
|
||||
cuisine|bubble_tea;1324;
|
||||
natural|hot_spring;1325;
|
||||
@@ -1757,60 +1757,3 @@ amenity|luggage_locker;1629;
|
||||
building|guardhouse;[building=guardhouse],[amenity=security_booth],[amenity=checkpoint];;;;1630;
|
||||
office|security;1631;
|
||||
shop|lighting;1632;
|
||||
cuisine|afghan;1633;
|
||||
cuisine|bar_and_grill;1634;
|
||||
cuisine|bistro;1635;
|
||||
cuisine|bolivian;1636;
|
||||
cuisine|british;1637;
|
||||
cuisine|brunch;1638;
|
||||
cuisine|buffet;1639;
|
||||
cuisine|cajun;1640;
|
||||
cuisine|cantonese;1641;
|
||||
cuisine|churro;1642;
|
||||
cuisine|colombian;1643;
|
||||
cuisine|cuban;1644;
|
||||
cuisine|czech;1645;
|
||||
cuisine|danish;1646;
|
||||
cuisine|dessert;1647;
|
||||
cuisine|dumplings;1648;
|
||||
cuisine|empanada;1649;
|
||||
cuisine|european;1650;
|
||||
cuisine|falafel;1651;
|
||||
cuisine|french_fries;1652;
|
||||
cuisine|french_tacos;1653;
|
||||
cuisine|fried_food;1654;
|
||||
cuisine|frozen_yogurt;1655;
|
||||
cuisine|hawaiian;1656;
|
||||
cuisine|hotpot;1657;
|
||||
cuisine|jamaican;1658;
|
||||
cuisine|juice;1659;
|
||||
cuisine|latin_american;1660;
|
||||
cuisine|meat;1661;
|
||||
cuisine|middle_eastern;1662;
|
||||
cuisine|mongolian_grill;1663;
|
||||
cuisine|nepalese;1664;
|
||||
cuisine|pakistani;1665;
|
||||
cuisine|piadina;1666;
|
||||
cuisine|pie_and_mash;1667;
|
||||
cuisine|poke;1668;
|
||||
cuisine|potato;1669;
|
||||
cuisine|pretzel;1670;
|
||||
cuisine|rice_noodle;1671;
|
||||
cuisine|shawarma;1672;
|
||||
cuisine|snack;1673;
|
||||
cuisine|soup;1674;
|
||||
cuisine|southern;1675;
|
||||
cuisine|swedish;1676;
|
||||
cuisine|syrian;1677;
|
||||
cuisine|tacos;1678;
|
||||
cuisine|taiwanese;1679;
|
||||
cuisine|takoyaki;1680;
|
||||
cuisine|teppanyaki;1681;
|
||||
cuisine|ukrainian;1682;
|
||||
cuisine|uzbek;1683;
|
||||
cuisine|venezuelan;1684;
|
||||
cuisine|waffle;1685;
|
||||
cuisine|western;1686;
|
||||
cuisine|wings;1687;
|
||||
cuisine|yakiniku;1688;
|
||||
cuisine|yakitori;1689;
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 7 and column 16.
|
@@ -77,6 +77,8 @@ vending=water : vending=drinks
|
||||
vending=milk : vending=drinks
|
||||
vending=bread : vending=food
|
||||
|
||||
highway=emergency_access_point : emergency=access_point
|
||||
|
||||
building=entrance : entrance=yes
|
||||
|
||||
ice_road=yes : highway=ice_road
|
||||
|
||||
@@ -242,6 +242,7 @@
|
||||
@neutral_label: #51585E;
|
||||
@healthcare_label: #983E44;
|
||||
@public_transport_label: #2F6499;
|
||||
@emergency_label: #247F52;
|
||||
|
||||
/* 6.4 Road labels */
|
||||
|
||||
|
||||
1
data/styles/default/dark/symbols/access_point-m.svg
Normal file
|
After Width: | Height: | Size: 6.4 KiB |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 6.7 KiB |
1
data/styles/default/dark/symbols/lifebuoy-m.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg height="12" viewBox="0 0 12 12" width="12" xmlns="http://www.w3.org/2000/svg"><path d="m6 0c3.23839694 0 5.8775718 2.56557489 5.9958615 5.77506174l.0041385.22493826c0 3.23839694-2.56557489 5.8775718-5.77506174 5.9958615l-.22493826.0041385c-3.3137085 0-6-2.6862915-6-6s2.6862915-6 6-6zm-3 6h-2.4c0 2.98233765 2.41766235 5.4 5.4 5.4v-2.4c-1.65685425 0-3-1.34314575-3-3zm3-2.4c-1.3254834 0-2.4 1.0745166-2.4 2.4s1.0745166 2.4 2.4 2.4 2.4-1.0745166 2.4-2.4-1.0745166-2.4-2.4-2.4zm0-3v2.4c1.59768088 0 2.90366088 1.24891996 2.99490731 2.82372721l.00509269.17627279h2.4c0-2.98233765-2.41766235-5.4-5.4-5.4z" fill="#983E44" opacity=".6"/></svg>
|
||||
|
After Width: | Height: | Size: 642 B |
@@ -927,7 +927,9 @@ node|z16-[man_made=observatory],
|
||||
node|z17-[amenity=fire_station],
|
||||
node|z18-[amenity=internet_cafe],
|
||||
node|z18-[emergency=defibrillator],
|
||||
node|z18-[emergency=access_point],
|
||||
node|z18-[emergency=assembly_point],
|
||||
node|z19-[emergency=life_ring],
|
||||
node|z18-[emergency=lifeguard],
|
||||
node|z18-[amenity=toilets],
|
||||
node|z18-[amenity=atm],
|
||||
@@ -1525,9 +1527,15 @@ node|z19-[emergency=fire_hydrant],
|
||||
node|z18-[emergency=defibrillator],
|
||||
{icon-image: defibrillator-m.svg;font-size: 11;}
|
||||
|
||||
node|z18-[emergency=access_point],
|
||||
{icon-image: access_point-m.svg;font-size: 11;}
|
||||
|
||||
node|z18-[emergency=assembly_point],
|
||||
{icon-image: assembly_point-m.svg;font-size: 11;}
|
||||
|
||||
node|z19-[emergency=life_ring],
|
||||
{icon-image: lifebuoy-m.svg; font-size: 11;}
|
||||
|
||||
node|z17-[emergency=lifeguard],
|
||||
{icon-image: lifeguard-m.svg; font-size: 11;}
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@ node[shop=wholesale],
|
||||
|
||||
node[craft=photographer],
|
||||
node[craft=tailor],
|
||||
node[craft=winery],
|
||||
{text-color: @shop_label}
|
||||
|
||||
node[amenity=bar],
|
||||
@@ -157,3 +158,6 @@ node[healthcare],
|
||||
node[amenity=bicycle_rental],
|
||||
node[amenity=taxi],
|
||||
{text-color: @public_transport_label;text-halo-radius: 0.1;text-halo-opacity: 0.7;text-halo-color: @label_halo_light;}
|
||||
|
||||
node[emergency=access_point],
|
||||
{text-color: @emergency_label;text-halo-radius: 0.1;text-halo-opacity: 0.7;text-halo-color: @label_halo_light;}
|
||||
|
||||
@@ -2360,6 +2360,7 @@ amenity-bench # icon z18- (also has captio
|
||||
amenity-bench-backless # icon z18- (also has caption(optional) z19-)
|
||||
amenity-lounger # icon z18- (also has caption(optional) z19-)
|
||||
amenity-waste_disposal # icon z18- (also has caption(optional) z18-)
|
||||
emergency-access_point # icon z18- (also has caption(optional) z18-)
|
||||
emergency-assembly_point # icon z18- (also has caption(optional) z18-)
|
||||
emergency-defibrillator # icon z18- (also has caption(optional) z18-)
|
||||
emergency-phone # icon z17-
|
||||
@@ -2368,6 +2369,7 @@ man_made-telescope # icon z18- (also has captio
|
||||
|
||||
amenity-waste_basket # icon z18- (also has caption(optional) z19-)
|
||||
emergency-fire_hydrant # icon z19- (also has caption(optional) z19-)
|
||||
emergency-life_ring # icon z19- (also has caption(optional) z19-)
|
||||
power-substation # icon z17- (also has caption(optional) z18-, area z13-)
|
||||
=== -9990
|
||||
|
||||
@@ -2391,9 +2393,11 @@ amenity-loading_dock # icon z18- (also has captio
|
||||
# amenity-vending_machine-sweets # caption(optional) z18- (also has icon z18-)
|
||||
# amenity-waste_basket # caption(optional) z19- (also has icon z18-)
|
||||
# amenity-waste_disposal # caption(optional) z18- (also has icon z18-)
|
||||
# emergency-access_point # caption(optional) z18- (also has icon z18-)
|
||||
# emergency-assembly_point # caption(optional) z18- (also has icon z18-)
|
||||
# emergency-defibrillator # caption(optional) z18- (also has icon z18-)
|
||||
# emergency-fire_hydrant # caption(optional) z19- (also has icon z19-)
|
||||
# emergency-life_ring # caption(optional) z19- (also has icon z19-)
|
||||
# entrance # caption(optional) z19- (also has icon z17-)
|
||||
entrance-exit # icon z17- (also has caption(optional) z19-)
|
||||
# entrance-exit # caption(optional) z19- (also has icon z17-)
|
||||
|
||||
@@ -240,6 +240,7 @@
|
||||
@neutral_label: #494F54;
|
||||
@healthcare_label: #A6454B;
|
||||
@public_transport_label: #234B73;
|
||||
@emergency_label: #247F52;
|
||||
|
||||
/* 6.4 Road labels */
|
||||
|
||||
|
||||
1
data/styles/default/light/symbols/access_point-m.svg
Normal file
|
After Width: | Height: | Size: 6.4 KiB |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 6.7 KiB |
1
data/styles/default/light/symbols/lifebuoy-m.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg height="12" viewBox="0 0 12 12" width="12" xmlns="http://www.w3.org/2000/svg"><path d="m6 0c3.23839694 0 5.8775718 2.56557489 5.9958615 5.77506174l.0041385.22493826c0 3.23839694-2.56557489 5.8775718-5.77506174 5.9958615l-.22493826.0041385c-3.3137085 0-6-2.6862915-6-6s2.6862915-6 6-6zm-3 6h-2.4c0 2.98233765 2.41766235 5.4 5.4 5.4v-2.4c-1.65685425 0-3-1.34314575-3-3zm3-2.4c-1.3254834 0-2.4 1.0745166-2.4 2.4s1.0745166 2.4 2.4 2.4 2.4-1.0745166 2.4-2.4-1.0745166-2.4-2.4-2.4zm0-3v2.4c1.59768088 0 2.90366088 1.24891996 2.99490731 2.82372721l.00509269.17627279h2.4c0-2.98233765-2.41766235-5.4-5.4-5.4z" fill="#d85961"/></svg>
|
||||
|
After Width: | Height: | Size: 629 B |
@@ -2366,6 +2366,7 @@ amenity-bench # icon z18- (also has captio
|
||||
amenity-bench-backless # icon z18- (also has caption(optional) z19-)
|
||||
amenity-lounger # icon z18- (also has caption(optional) z19-)
|
||||
amenity-waste_disposal # icon z18- (also has caption(optional) z18-)
|
||||
emergency-access_point # icon z18- (also has caption(optional) z18-)
|
||||
emergency-assembly_point # icon z18- (also has caption(optional) z18-)
|
||||
emergency-defibrillator # icon z18- (also has caption(optional) z18-)
|
||||
emergency-phone # icon z17-
|
||||
@@ -2374,6 +2375,7 @@ man_made-telescope # icon z18- (also has captio
|
||||
|
||||
amenity-waste_basket # icon z18- (also has caption(optional) z19-)
|
||||
emergency-fire_hydrant # icon z19- (also has caption(optional) z19-)
|
||||
emergency-life_ring # icon z19- (also has caption(optional) z19-)
|
||||
power-substation # icon z17- (also has caption(optional) z18-, area z13-)
|
||||
=== -9990
|
||||
|
||||
@@ -2397,9 +2399,11 @@ amenity-loading_dock # icon z18- (also has captio
|
||||
# amenity-vending_machine-sweets # caption(optional) z18- (also has icon z18-)
|
||||
# amenity-waste_basket # caption(optional) z19- (also has icon z18-)
|
||||
# amenity-waste_disposal # caption(optional) z18- (also has icon z18-)
|
||||
# emergency-access_point # caption(optional) z18- (also has icon z18-)
|
||||
# emergency-assembly_point # caption(optional) z18- (also has icon z18-)
|
||||
# emergency-defibrillator # caption(optional) z18- (also has icon z18-)
|
||||
# emergency-fire_hydrant # caption(optional) z19- (also has icon z19-)
|
||||
# emergency-life_ring # caption(optional) z19- (also has icon z19-)
|
||||
# entrance # caption(optional) z19- (also has icon z17-)
|
||||
entrance-exit # icon z17- (also has caption(optional) z19-)
|
||||
# entrance-exit # caption(optional) z19- (also has icon z17-)
|
||||
|
||||
@@ -180,6 +180,7 @@
|
||||
@neutral_label: #51585E;
|
||||
@healthcare_label: #983E44;
|
||||
@public_transport_label: #2F6499;
|
||||
@emergency_label: #247F52;
|
||||
|
||||
/* 6.4 Road labels */
|
||||
|
||||
|
||||
@@ -151,6 +151,7 @@
|
||||
@neutral_label: #494F54;
|
||||
@healthcare_label: #A6454B;
|
||||
@public_transport_label: #234B73;
|
||||
@emergency_label: #247F52;
|
||||
|
||||
/* ROADS LABELS */
|
||||
@shield_text: #000000;
|
||||
|
||||
@@ -70,3 +70,7 @@ All the following commands require an app restart:
|
||||
|
||||
- `?all-types`: Shows all internal types in place page
|
||||
- `?no-all-types`: Disables showing all internal types in place page
|
||||
|
||||
## Search
|
||||
|
||||
- `?wiki`: Search results for all elements with Wikipedia links
|
||||
@@ -225,6 +225,11 @@ bool FeatureBuilder::PreSerialize()
|
||||
});
|
||||
m_params.name = std::move(nameWithRef);
|
||||
}
|
||||
else if (ftypes::IsEmergencyAccessPointChecker::Instance()(types))
|
||||
{
|
||||
m_params.name.Clear();
|
||||
m_params.name.AddString(StringUtf8Multilang::kDefaultCode, m_params.ref);
|
||||
}
|
||||
|
||||
m_params.ref.clear();
|
||||
}
|
||||
|
||||
@@ -167,6 +167,17 @@ final class MapTemplateBuilder {
|
||||
case .zoomOut:
|
||||
button.image = UIImage(systemName: "minus")
|
||||
}
|
||||
// Remove code below once Apple has fixed its issue with the button background
|
||||
if #unavailable(iOS 26) {
|
||||
switch type {
|
||||
case .startPanning:
|
||||
button.focusedImage = UIImage(systemName: "smallcircle.filled.circle.fill")
|
||||
case .zoomIn:
|
||||
button.focusedImage = UIImage(systemName: "plus.circle.fill")
|
||||
case .zoomOut:
|
||||
button.focusedImage = UIImage(systemName: "minus.circle.fill")
|
||||
}
|
||||
}
|
||||
return button
|
||||
}
|
||||
|
||||
|
||||
@@ -1105,3 +1105,4 @@
|
||||
"unknown" = "Neznámý";
|
||||
"voice_explanation_before_version26" = "Lepší hlas je možné vybrat v nastavení systému na stránce *Přístupnost*, *Mluvený obsah*, *Hlasy*.";
|
||||
"voice_explanation" = "Lepší hlas je možné vybrat v nastavení systému na stránce *Přístupnost*, *Čtení a mluvení*, *Hlasy*.";
|
||||
"avoid_paved" = "Vyhnout se zpevněným cestám";
|
||||
|
||||
@@ -1532,3 +1532,13 @@
|
||||
"type.amenity.mobile_money_agent" = "Mobilní peněžní agent";
|
||||
"type.amenity.boat_rental" = "Půjčovna lodí";
|
||||
"type.leisure.indoor_play" = "Vnitřní herní centrum";
|
||||
"type.amenity.car_pooling" = "Spolujízda";
|
||||
"type.man_made.telescope" = "Teleskop";
|
||||
"type.man_made.observatory" = "Observatoř";
|
||||
"type.man_made.telescope.optical" = "Teleskop (optický)";
|
||||
"type.man_made.telescope.radio" = "Teleskop (rádio)";
|
||||
"type.amenity.food_sharing" = "Food sharing";
|
||||
"type.amenity.food_bank" = "Potravinová banka";
|
||||
"type.amenity.soup_kitchen" = "Vývařovna";
|
||||
"type.amenity.give_box" = "Give Box";
|
||||
"type.man_made.telescope.gamma" = "Teleskop (gamma)";
|
||||
|
||||
@@ -1103,3 +1103,4 @@
|
||||
"unknown" = "Ukendt";
|
||||
"voice_explanation_before_version26" = "Det er muligt at vælge en bedre stemme i systemindstillingerne under *Tilgængelighed*, *Talt indhold*, *Stemmer*.";
|
||||
"voice_explanation" = "Det er muligt at vælge en bedre stemme i systemindstillingerne under *Tilgængelighed*, *Læs og tal*, *Stemmer*.";
|
||||
"avoid_paved" = "Undgå veje med fast belægning";
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
"type.amenity.bicycle_parking" = "Cykelparkering";
|
||||
"type.amenity.bicycle_rental" = "Cykeludlejning";
|
||||
"type.amenity.bicycle_repair_station" = "Cykelreparationsstation";
|
||||
"type.amenity.biergarten" = "Traktørsted";
|
||||
"type.amenity.biergarten" = "Biergarten";
|
||||
"type.amenity.brothel" = "Bordel";
|
||||
"type.amenity.bureau_de_change" = "Valutaveksling";
|
||||
"type.amenity.bus_station" = "Rutebilstation";
|
||||
@@ -40,9 +40,9 @@
|
||||
"type.amenity.gambling" = "Gambling";
|
||||
"type.leisure.adult_gaming_centre" = "Spillehal for voksne";
|
||||
"type.leisure.amusement_arcade" = "Arkadespil";
|
||||
"type.amenity.charging_station" = "Ladestander";
|
||||
"type.amenity.charging_station.bicycle" = "Cykelladestander";
|
||||
"type.amenity.charging_station.motorcar" = "Billadestander";
|
||||
"type.amenity.charging_station" = "Ladestation";
|
||||
"type.amenity.charging_station.bicycle" = "Ladestation til elcykler";
|
||||
"type.amenity.charging_station.motorcar" = "Ladestation til elbiler";
|
||||
"type.amenity.childcare" = "Vuggestue";
|
||||
"type.amenity.cinema" = "Biograf";
|
||||
"type.leisure.bowling_alley" = "Bowlinghal";
|
||||
@@ -99,17 +99,17 @@
|
||||
"type.amenity.parking.street_side" = "Parkeringslomme";
|
||||
"type.amenity.parking.street_side.fee" = "Parkeringslomme";
|
||||
"type.amenity.parking.street_side.private" = "Privat parkeringslomme";
|
||||
"type.amenity.parking.lane" = "Parkering i vejside";
|
||||
"type.amenity.parking.lane.fee" = "Parkering i vejside";
|
||||
"type.amenity.parking.lane.private" = "Privat parkering i vejside";
|
||||
"type.amenity.parking_entrance" = "Parkeringsindkørsel";
|
||||
"type.amenity.parking_entrance.private" = "Privat parkeringsindkørsel";
|
||||
"type.amenity.parking_entrance.permissive" = "Parkeringsindkørsel";
|
||||
"type.amenity.parking_space" = "Parkeringsplads";
|
||||
"type.amenity.parking_space.permissive" = "Parkeringsplads";
|
||||
"type.amenity.parking_space.private" = "Parkeringsplads";
|
||||
"type.amenity.parking_space.underground" = "Parkeringsplads";
|
||||
"type.amenity.parking_space.disabled" = "Handicapparkeringsplads";
|
||||
"type.amenity.parking.lane" = "Gadeparkering";
|
||||
"type.amenity.parking.lane.fee" = "Gadeparkering";
|
||||
"type.amenity.parking.lane.private" = "Privat gadeparkering";
|
||||
"type.amenity.parking_entrance" = "Indkørsel til parkeringshus";
|
||||
"type.amenity.parking_entrance.private" = "Indkørsel til privat parkeringshus";
|
||||
"type.amenity.parking_entrance.permissive" = "Indkørsel til parkeringshus";
|
||||
"type.amenity.parking_space" = "Parkeringsbås";
|
||||
"type.amenity.parking_space.permissive" = "Parkeringsbås";
|
||||
"type.amenity.parking_space.private" = "Parkeringsbås";
|
||||
"type.amenity.parking_space.underground" = "Parkeringsbås";
|
||||
"type.amenity.parking_space.disabled" = "Handicapparkeringsbås";
|
||||
"type.amenity.payment_terminal" = "Betalingsautomat";
|
||||
"type.amenity.pharmacy" = "Apotek";
|
||||
"type.amenity.place_of_worship" = "Tilbedelsessted";
|
||||
@@ -384,7 +384,7 @@
|
||||
"type.healthcare.psychotherapist" = "Psykoterapi";
|
||||
"type.healthcare.sample_collection" = "Prøvetagning";
|
||||
"type.healthcare.speech_therapist" = "Tale terapi";
|
||||
"type.highway" = "Hovedvej";
|
||||
"type.highway" = "Vej";
|
||||
"type.highway.bridleway" = "Ridesti";
|
||||
|
||||
/* These translations are used for all type.highway.*.bridge. */
|
||||
@@ -503,7 +503,7 @@
|
||||
|
||||
/* These translations are used for all type.highway.*.tunnel. */
|
||||
"type.highway.road.tunnel" = "Tunnel";
|
||||
"type.highway.secondary" = "Sækunder hovedvej";
|
||||
"type.highway.secondary" = "Sekundær hovedvej";
|
||||
|
||||
/* These translations are used for all type.highway.*.bridge. */
|
||||
"type.highway.secondary.bridge" = "Bro";
|
||||
@@ -1216,7 +1216,7 @@
|
||||
"type.shop.curtain" = "Gardinhandel";
|
||||
"type.shop.deli" = "Delikatessebutik";
|
||||
"type.shop.department_store" = "Stormagasin";
|
||||
"type.shop.doityourself" = "Isenkræmmer";
|
||||
"type.shop.doityourself" = "Byggemarked";
|
||||
"type.shop.dry_cleaning" = "Renseri";
|
||||
"type.shop.electronics" = "Elektronikbutik";
|
||||
"type.shop.erotic" = "Erotikbutik";
|
||||
@@ -1232,12 +1232,12 @@
|
||||
"type.shop.greengrocer" = "Grønthandler";
|
||||
"type.shop.grocery" = "Købmand";
|
||||
"type.shop.hairdresser" = "Frisør";
|
||||
"type.shop.hardware" = "Byggemarked";
|
||||
"type.shop.hardware" = "Isenkræmmer";
|
||||
"type.shop.health_food" = "Helsekostbutik";
|
||||
"type.shop.hearing_aids" = "Høreapparatbutik";
|
||||
"type.shop.herbalist" = "Urtebutik";
|
||||
"type.shop.hifi" = "HiFi lyd";
|
||||
"type.shop.houseware" = "Husholdningsartikler butik";
|
||||
"type.shop.houseware" = "Isenkræmmer";
|
||||
"type.shop.jewelry" = "Smykkebutik";
|
||||
"type.shop.kiosk" = "Kiosk";
|
||||
"type.shop.kitchen" = "Køkkenforretning";
|
||||
@@ -1247,21 +1247,21 @@
|
||||
"type.shop.mobile_phone" = "Mobiltelefonbutik";
|
||||
"type.shop.money_lender" = "Pengeudlåner";
|
||||
"type.shop.motorcycle" = "Motorcykelforhandler";
|
||||
"type.shop.motorcycle_repair" = "Motorcykel reparation";
|
||||
"type.shop.motorcycle_repair" = "Motorcykelværksted";
|
||||
"type.shop.music" = "Pladebutik";
|
||||
"type.shop.musical_instrument" = "Butik med musikinstrumenter";
|
||||
"type.shop.musical_instrument" = "Instrumentbutik";
|
||||
"type.shop.newsagent" = "Avis-kiosk";
|
||||
"type.shop.optician" = "Optiker";
|
||||
"type.shop.outdoor" = "Fritidsudstyr";
|
||||
"type.shop.outdoor" = "Friluftsbutik";
|
||||
"type.shop.outpost" = "Afhentningssted";
|
||||
"type.shop.pasta" = "Pasta butik";
|
||||
"type.shop.pasta" = "Pastabutik";
|
||||
"type.shop.pastry" = "Bagværk";
|
||||
"type.shop.pawnbroker" = "Pantelåner";
|
||||
"type.shop.pet" = "Dyrehandel";
|
||||
"type.shop.pet_grooming" = "Kæledyrspleje";
|
||||
"type.shop.photo" = "Fotobutik";
|
||||
"type.shop.rental" = "Udlejningsbutik";
|
||||
"type.shop.rental.bicycle" = "Cykeludlejningsbutik";
|
||||
"type.shop.rental.bicycle" = "Cykeludlejning";
|
||||
"type.shop.seafood" = "Fiskehandler";
|
||||
"type.shop.second_hand" = "Genbrugsbutik";
|
||||
"type.shop.shoes" = "Skobutik";
|
||||
@@ -1269,7 +1269,7 @@
|
||||
"type.shop.stationery" = "Kontorartikler";
|
||||
"type.shop.supermarket" = "Supermarked";
|
||||
"type.shop.tattoo" = "Tatovør";
|
||||
"type.shop.tea" = "Tebutik";
|
||||
"type.shop.tea" = "Tehandel";
|
||||
"type.shop.ticket" = "Billetkontor";
|
||||
"type.shop.toys" = "Legetøjsbutik";
|
||||
"type.shop.travel_agency" = "Rejsebureau";
|
||||
@@ -1280,7 +1280,7 @@
|
||||
"type.shop.wine" = "Vinhandel";
|
||||
"type.shop.agrarian" = "Landbrugsbutik";
|
||||
"type.shop.antiques" = "Antikvitetsbutik";
|
||||
"type.shop.appliance" = "Hvidevarer butik";
|
||||
"type.shop.appliance" = "Hvidevareforretning";
|
||||
|
||||
/* maybe change to Art Gallery for en-US when supported */
|
||||
"type.shop.art" = "Kunstbutik";
|
||||
@@ -1291,8 +1291,8 @@
|
||||
"type.shop.charity" = "Velgørenhedsbutik";
|
||||
"type.shop.cheese" = "Ostebutik";
|
||||
"type.shop.craft" = "Kunst og kunsthåndværk";
|
||||
"type.shop.dairy" = "Mejeriprodukter";
|
||||
"type.shop.electrical" = "El-butik";
|
||||
"type.shop.dairy" = "Mejeributik";
|
||||
"type.shop.electrical" = "Elektrikerbutik";
|
||||
"type.shop.fishing" = "Fiskeributik";
|
||||
"type.shop.interior_decoration" = "Brugskunsthandel";
|
||||
"type.shop.lottery" = "Lottobutik";
|
||||
@@ -1313,7 +1313,7 @@
|
||||
"type.sport.australian_football" = "Australsk fodbold";
|
||||
"type.sport.baseball" = "Baseball";
|
||||
"type.sport.basketball" = "Basketball";
|
||||
"type.sport.beachvolleyball" = "Beachvolley";
|
||||
"type.sport.beachvolleyball" = "Strandvolley";
|
||||
"type.sport.bowls" = "Bowls";
|
||||
"type.sport.chess" = "Skak";
|
||||
"type.sport.cricket" = "Cricket";
|
||||
@@ -1489,7 +1489,31 @@
|
||||
"type.power.portal" = "Power Portal";
|
||||
"type.building.guardhouse" = "Sikkerhedsbås";
|
||||
"type.shop.lighting" = "Lysbutik";
|
||||
"type.amenity.charging_station.motorcar.small" = "Opladningspunkt til biler";
|
||||
"type.leisure.sports_centre.sport.american_football" = "Sportscenter";
|
||||
"type.leisure.sports_centre.sport.multi" = "Sportscenter";
|
||||
"type.amenity.bench.backless" = "Rygløs bænk";
|
||||
"type.amenity.charging_station.motorcar.small" = "Ladestander til biler";
|
||||
"type.leisure.sports_centre.sport.american_football" = "Idrætscenter";
|
||||
"type.leisure.sports_centre.sport.multi" = "Idrætscenter";
|
||||
"type.amenity.bench.backless" = "Bænk";
|
||||
"type.man_made.observatory" = "Observatorium";
|
||||
"type.man_made.telescope.optical" = "Teleskop (Optisk)";
|
||||
"type.man_made.telescope.radio" = "Teleskop (Radio)";
|
||||
"type.amenity.food_sharing" = "Fødevarerdeling";
|
||||
"type.amenity.food_bank" = "Fødevarebank";
|
||||
"type.amenity.soup_kitchen" = "Suppekøkken";
|
||||
"type.man_made.telescope" = "Teleskop";
|
||||
"type.amenity.give_box" = "Donationsbøsse";
|
||||
"type.man_made.telescope.gamma" = "Teleskop (Gamma)";
|
||||
"type.amenity.car_pooling" = "Samkørsel";
|
||||
"type.shop.telecommunication" = "Telefonibutik";
|
||||
"type.disusedbusiness" = "Ledig forretning";
|
||||
"type.amenity.boat_rental" = "Bådudlejning";
|
||||
"type.amenity.lounger" = "Solseng";
|
||||
"type.leisure.bandstand" = "Scenepavillon";
|
||||
"type.leisure.indoor_play" = "Legeland";
|
||||
"type.leisure.sports_centre.sport.archery" = "Bueskydningscenter";
|
||||
"type.leisure.sports_centre.sport.athletics" = "Atletikcenter";
|
||||
"type.leisure.sports_centre.sport.baseball" = "Baseballcenter";
|
||||
"type.leisure.sports_centre.sport.badminton" = "Badmintoncenter";
|
||||
"type.leisure.sports_centre.sport.basketball" = "Basketballcenter";
|
||||
"type.leisure.sports_centre.sport.golf" = "Golfcenter";
|
||||
"type.leisure.sports_centre.sport.gymnastics" = "Gymnastikcenter";
|
||||
"type.leisure.sports_centre.sport.swimming" = "Svømmehal";
|
||||
|
||||
@@ -359,7 +359,9 @@
|
||||
"type.cuisine.vegetarian" = "Vegetarisch";
|
||||
"type.cuisine.vietnamese" = "Vietnamesisch";
|
||||
"type.emergency" = "Notfall";
|
||||
"type.emergency.access_point" = "Rettungspunkt";
|
||||
"type.emergency.assembly_point" = "Notfall-Sammelpunkt";
|
||||
"type.emergency.life_ring" = "Rettungsring";
|
||||
"type.emergency.defibrillator" = "Defibrillator";
|
||||
"type.emergency.fire_hydrant" = "Hydrant";
|
||||
"type.emergency.phone" = "Notruftelefon";
|
||||
@@ -1529,3 +1531,11 @@
|
||||
"type.amenity.car_pooling" = "Fahrgemeinschaften";
|
||||
"type.leisure.indoor_play" = "Indoor-Spielplatz";
|
||||
"type.shop.telecommunication" = "Telekommunikationsgeschäft";
|
||||
"type.man_made.observatory" = "Observatorium";
|
||||
"type.man_made.telescope.optical" = "Teleskop (Optisch)";
|
||||
"type.man_made.telescope.radio" = "Teleskop (Radio)";
|
||||
"type.man_made.telescope" = "Teleskop";
|
||||
"type.man_made.telescope.gamma" = "Teleskop (Gamma)";
|
||||
"type.amenity.payment_centre" = "Zahlungszentrum";
|
||||
"type.amenity.food_bank" = "Tafel";
|
||||
"type.amenity.soup_kitchen" = "Suppenküche";
|
||||
|
||||
@@ -367,7 +367,9 @@
|
||||
"type.cuisine.vegetarian" = "Vegetarian";
|
||||
"type.cuisine.vietnamese" = "Vietnamese";
|
||||
"type.emergency" = "Emergency";
|
||||
"type.emergency.access_point" = "Emergency Rescue Point";
|
||||
"type.emergency.assembly_point" = "Emergency Assembly Point";
|
||||
"type.emergency.life_ring" = "Lifebuoy";
|
||||
"type.emergency.defibrillator" = "Defibrillator";
|
||||
"type.emergency.fire_hydrant" = "Fire Hydrant";
|
||||
"type.emergency.phone" = "Emergency Phone";
|
||||
|
||||
@@ -299,7 +299,6 @@
|
||||
"type.craft.shoemaker" = "Shoe Repair";
|
||||
"type.craft.winery" = "Winery";
|
||||
"type.craft.tailor" = "Tailor";
|
||||
"type.cuisine.afghan" = "Afghan";
|
||||
"type.cuisine.african" = "African";
|
||||
"type.cuisine.american" = "American";
|
||||
"type.cuisine.arab" = "Arab";
|
||||
@@ -308,62 +307,38 @@
|
||||
"type.cuisine.austrian" = "Austrian";
|
||||
"type.cuisine.bagel" = "Bagel";
|
||||
"type.cuisine.balkan" = "Balkan";
|
||||
"type.cuisine.bar_and_grill" = "Bar and Grill";
|
||||
"type.cuisine.barbecue" = "Barbecue";
|
||||
"type.cuisine.bavarian" = "Bavarian";
|
||||
"type.cuisine.beef_bowl" = "Beef Bowl";
|
||||
"type.cuisine.bistro" = "Bistro";
|
||||
"type.cuisine.bolivian" = "Bolivian";
|
||||
"type.cuisine.brazilian" = "Brazilian";
|
||||
"type.cuisine.breakfast" = "Breakfast";
|
||||
"type.cuisine.british" = "British";
|
||||
"type.cuisine.brunch" = "Brunch";
|
||||
"type.cuisine.bubble_tea" = "Bubble Tea";
|
||||
"type.cuisine.buffet" = "Buffet";
|
||||
"type.cuisine.burger" = "Burger";
|
||||
"type.cuisine.buschenschank" = "Buschenschank";
|
||||
"type.cuisine.cajun" = "Cajun";
|
||||
"type.cuisine.cake" = "Cake";
|
||||
"type.cuisine.cantonese" = "Cantonese";
|
||||
"type.cuisine.caribbean" = "Caribbean";
|
||||
"type.cuisine.chicken" = "Chicken";
|
||||
"type.cuisine.chinese" = "Chinese";
|
||||
"type.cuisine.churro" = "Churro";
|
||||
"type.cuisine.coffee_shop" = "Coffee";
|
||||
"type.cuisine.colombian" = "Colombian";
|
||||
"type.cuisine.crepe" = "Crepe";
|
||||
"type.cuisine.croatian" = "Croatian";
|
||||
"type.cuisine.cuban" = "Cuban";
|
||||
"type.cuisine.curry" = "Curry";
|
||||
"type.cuisine.czech" = "Czech";
|
||||
"type.cuisine.danish" = "Danish";
|
||||
"type.cuisine.deli" = "Deli";
|
||||
"type.cuisine.dessert" = "Dessert";
|
||||
"type.cuisine.diner" = "Diner";
|
||||
"type.cuisine.donut" = "Donut";
|
||||
"type.cuisine.dumplings" = "Dumplings";
|
||||
"type.cuisine.empanada" = "Empanada";
|
||||
"type.cuisine.ethiopian" = "Ethiopian";
|
||||
"type.cuisine.european" = "European";
|
||||
"type.cuisine.falafel" = "Falafel";
|
||||
"type.cuisine.filipino" = "Filipino";
|
||||
"type.cuisine.fine_dining" = "Fine Dining";
|
||||
"type.cuisine.fish" = "Fish";
|
||||
"type.cuisine.fish_and_chips" = "Fish and Chips";
|
||||
"type.cuisine.french" = "French";
|
||||
"type.cuisine.french_fries" = "French Fries";
|
||||
"type.cuisine.french_tacos" = "French Tacos";
|
||||
"type.cuisine.fried_food" = "Fried Food";
|
||||
"type.cuisine.friture" = "Friture";
|
||||
"type.cuisine.frozen_yogurt" = "Frozen Yogurt";
|
||||
"type.cuisine.georgian" = "Georgian";
|
||||
"type.cuisine.german" = "German";
|
||||
"type.cuisine.greek" = "Greek";
|
||||
"type.cuisine.grill" = "Grill";
|
||||
"type.cuisine.hawaiian" = "Hawaiian";
|
||||
"type.cuisine.heuriger" = "Heuriger";
|
||||
"type.cuisine.hotdog" = "Hotdog";
|
||||
"type.cuisine.hotpot" = "Hotpot";
|
||||
"type.cuisine.hungarian" = "Hungarian";
|
||||
"type.cuisine.ice_cream" = "Ice Cream";
|
||||
"type.cuisine.indian" = "Indian";
|
||||
@@ -372,78 +347,48 @@
|
||||
"type.cuisine.irish" = "Irish";
|
||||
"type.cuisine.italian" = "Italian";
|
||||
"type.cuisine.italian_pizza" = "Italian, Pizza";
|
||||
"type.cuisine.jamaican" = "Jamaican";
|
||||
"type.cuisine.japanese" = "Japanese";
|
||||
"type.cuisine.juice" = "Juice";
|
||||
"type.cuisine.kebab" = "Kebab";
|
||||
"type.cuisine.korean" = "Korean";
|
||||
"type.cuisine.lao" = "Lao";
|
||||
"type.cuisine.latin_american" = "Latin American";
|
||||
"type.cuisine.lebanese" = "Lebanese";
|
||||
"type.cuisine.local" = "Local";
|
||||
"type.cuisine.malagasy" = "Malagasy";
|
||||
"type.cuisine.malaysian" = "Malaysian";
|
||||
"type.cuisine.meat" = "Meat";
|
||||
"type.cuisine.mediterranean" = "Mediterranean";
|
||||
"type.cuisine.mexican" = "Mexican";
|
||||
"type.cuisine.middle_eastern" = "Middle Eastern";
|
||||
"type.cuisine.mongolian_grill" = "Mongolian Grill";
|
||||
"type.cuisine.moroccan" = "Moroccan";
|
||||
"type.cuisine.nepalese" = "Nepalese";
|
||||
"type.cuisine.noodles" = "Noodles";
|
||||
"type.cuisine.oriental" = "East Asian";
|
||||
"type.cuisine.pakistani" = "Pakistani";
|
||||
"type.cuisine.pancake" = "Pancake";
|
||||
"type.cuisine.pasta" = "Pasta";
|
||||
"type.cuisine.persian" = "Persian";
|
||||
"type.cuisine.peruvian" = "Peruvian";
|
||||
"type.cuisine.piadina" = "Piadina";
|
||||
"type.cuisine.pie_and_mash" = "Pie and Mash";
|
||||
"type.cuisine.pizza" = "Pizza";
|
||||
"type.cuisine.poke" = "Poke";
|
||||
"type.cuisine.polish" = "Polish";
|
||||
"type.cuisine.portuguese" = "Portuguese";
|
||||
"type.cuisine.potato" = "Potato";
|
||||
"type.cuisine.pretzel" = "Pretzel";
|
||||
"type.cuisine.ramen" = "Ramen";
|
||||
"type.cuisine.regional" = "Regional";
|
||||
"type.cuisine.rice_noodle" = "Rice Noodles";
|
||||
"type.cuisine.russian" = "Russian";
|
||||
"type.cuisine.sandwich" = "Sandwich";
|
||||
"type.cuisine.sausage" = "Sausage";
|
||||
"type.cuisine.savory_pancakes" = "Savory Pancakes";
|
||||
"type.cuisine.seafood" = "Seafood";
|
||||
"type.cuisine.shawarma" = "Shawarma";
|
||||
"type.cuisine.snack" = "Snack";
|
||||
"type.cuisine.soba" = "Soba";
|
||||
"type.cuisine.soup" = "Soup";
|
||||
"type.cuisine.southern" = "Southern";
|
||||
"type.cuisine.spanish" = "Spanish";
|
||||
"type.cuisine.steak_house" = "Steak House";
|
||||
"type.cuisine.sushi" = "Sushi";
|
||||
"type.cuisine.swedish" = "Swedish";
|
||||
"type.cuisine.syrian" = "Syrian";
|
||||
"type.cuisine.tacos" = "Tacos";
|
||||
"type.cuisine.taiwanese" = "Taiwanese";
|
||||
"type.cuisine.takoyaki" = "Takoyaki";
|
||||
"type.cuisine.tapas" = "Tapas";
|
||||
"type.cuisine.tea" = "Tea";
|
||||
"type.cuisine.teppanyaki" = "Teppanyaki";
|
||||
"type.cuisine.thai" = "Thai";
|
||||
"type.cuisine.turkish" = "Turkish";
|
||||
"type.cuisine.ukrainian" = "Ukrainian";
|
||||
"type.cuisine.uzbek" = "Uzbek";
|
||||
"type.cuisine.vegan" = "Vegan";
|
||||
"type.cuisine.vegetarian" = "Vegetarian";
|
||||
"type.cuisine.venezuelan" = "Venezuelan";
|
||||
"type.cuisine.vietnamese" = "Vietnamese";
|
||||
"type.cuisine.waffle" = "Waffle";
|
||||
"type.cuisine.western" = "Western";
|
||||
"type.cuisine.wings" = "Wings";
|
||||
"type.cuisine.yakiniku" = "Yakiniku";
|
||||
"type.cuisine.yakitori" = "Yakitori";
|
||||
"type.emergency" = "Emergency";
|
||||
"type.emergency.access_point" = "Emergency Rescue Point";
|
||||
"type.emergency.assembly_point" = "Emergency Assembly Point";
|
||||
"type.emergency.life_ring" = "Lifebuoy";
|
||||
"type.emergency.defibrillator" = "Defibrillator";
|
||||
"type.emergency.fire_hydrant" = "Fire Hydrant";
|
||||
"type.emergency.phone" = "Emergency Phone";
|
||||
|
||||