mirror of
https://github.com/stashapp/stash.git
synced 2025-12-16 20:07:05 +03:00
* override "name" sort with COALESCE * tag sort_name frontend adds `data-sort-name` attribute to tag links prioritizes sort_name value but will default to tag name if not present in the same way that COALESCE will prioritize the same values in the same way * add sort_name filter, update locale per request * Include sort name in anonymiser * Add import/export support --------- Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
Use en-GB.json by default. This should have all message IDs in it. Only add to other json files if the value is different to en-GB since it will fall back to use it if the message ID is not found in the chosen language.
Try to keep message IDs in alphabetical order for ease of reference.
Merging translations from Codeberg Weblate
- (first time only) Add remote for the Codeberg Weblate repository:
git remote add weblate_codeberg https://translate.codeberg.org/git/stash/stash/
- (optional) Lock the Weblate repository.
- Fetch the Weblate repository:
git fetch weblate_codeberg develop
- Create and/or checkout a branch to hold the Weblate translations:
git checkout -b codeberg_weblate
- Reset the branch to the Weblate repository's
developbranch:
git reset --hard weblate_codeberg/develop
- Push the branch to your github account:
git push origin codeberg_weblate
- Create a pull request to merge the Weblate translations into the main repository.