nextcloud / nextcloud/maps

[Bug]: Legend in elevation profile is not translated

Open
#1,106 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug
Dominant language
JavaScript
Stars
598
Forks
113
PR merge metrics
No merged PRs in 30d

Description

⚠️ This issue respects the following points: ⚠️
Bug description

On the map, in the elevation profile, the legend is not translated (i.e. not available in transifex)

Legend: Total Length: ... Max Elevation: ... Min Elevation: ... Avg Elevation: ...

nc_maps_01

Steps to reproduce
  1. choose language (not english)
  2. open track
  3. open elevation profile
  4. see english legend
Expected behavior

Legendis translated (or translatable in transifex)

Installation method

Other

Operating system

Other

PHP engine version

Other

Web server

Other

Database engine version

Other

Is this bug present after an update or on a fresh install of the server?

None

Is this bug present after an update or on a fresh install of the app?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?
  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other
Configuration report
I'am a user not an admin
List of activated Apps
I'am a user not an admin
Nextcloud Signing status
I'am a user not an admin
Nextcloud Logs
I'am a user not an admin
Browser Console

No response

Additional info

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by opening a track's elevation profile with a non-English language selected and locate the legend entries for Total Length, Max Elevation, Min Elevation, and Avg Elevation. Make those labels available for translation and verify that the legend displays translated text in the elevation profile.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, internationalization
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.