add translation files
This commit is contained in:
parent
44934b031d
commit
85c6548b82
@ -6,6 +6,8 @@
|
||||
[#205](https://git.project-insanity.org/onny/nextcloud-app-radio/-/issues/205) @onny
|
||||
- Besides source, provide prebuild tarball in Gitlab releases
|
||||
[#215](https://git.project-insanity.org/onny/nextcloud-app-radio/-/issues/215) @onny
|
||||
- Parse and supply changelog to Gitlab release
|
||||
[#216](https://git.project-insanity.org/onny/nextcloud-app-radio/-/issues/216) @onny
|
||||
|
||||
### Fixed
|
||||
- Add AGPL headers
|
||||
|
4
Makefile
4
Makefile
@ -55,3 +55,7 @@ clean-dev:
|
||||
|
||||
release:
|
||||
krankerl package
|
||||
|
||||
translations:
|
||||
php utils/docker-ci/translations/translationtool/translationtool.phar create-pot-files
|
||||
php utils/docker-ci/translations/translationtool/translationtool.phar convert-po-files
|
||||
|
@ -62,10 +62,9 @@ make watch-js
|
||||
Manually generate translations. The following commands will require the
|
||||
dependency packages ``gettext`` and ``php``.
|
||||
```
|
||||
git clone https://github.com/nextcloud/docker-ci.git
|
||||
cd nextcloud-app-radio
|
||||
php ../docker-ci/translations/translationtool/translationtool.phar create-pot-files
|
||||
php ../docker-ci/translations/translationtool/translationtool.phar convert-po-files
|
||||
git clone https://github.com/nextcloud/docker-ci.git utils/docker-ci
|
||||
make translations
|
||||
```
|
||||
|
||||
Contribute translations via
|
||||
|
64
Release.md
64
Release.md
@ -1,61 +1,21 @@
|
||||
## Publish release on Gitlab
|
||||
|
||||
Before releasing a new version to Gitlab, be sure to note all changes in the
|
||||
[CHANGELOG.md](CHANGELOG.md)-file.
|
||||
Commit, tag and push the changes:
|
||||
```
|
||||
git commit -am "test release v1.0.0.4"
|
||||
git tag -a 1.0.0.4 -m ""
|
||||
git push --atomic origin master 1.0.0.4
|
||||
```
|
||||
This will trigger the Gitlab-CI pipeline and publishes a release to the Gitlab
|
||||
release page, including source, a prebuild tarball and the latest changelog.
|
||||
|
||||
Releasing a new version works quite easy with [krankerl](https://github.com/ChristophWurst/krankerl) and [github-release](https://github.com/aktau/github-release) installed:
|
||||
|
||||
1. Run krankerl to build the package
|
||||
## Nextcloud app store release
|
||||
|
||||
The prebuild tarball can be used in the
|
||||
[Nextcloud Appstore](https://apps.nextcloud.com/developer/apps/releases/new)
|
||||
page. The signature can be generated with:
|
||||
```
|
||||
krankerl package
|
||||
```
|
||||
|
||||
2. Tag the release on GitHub
|
||||
|
||||
```
|
||||
# For a prerelease
|
||||
github-release release -u nextcloud -r deck -t v0.3.1 -p
|
||||
|
||||
# For a regular release
|
||||
github-release release -u nextcloud -r deck -t v0.3.1
|
||||
```
|
||||
|
||||
3. Upload the release package to GitHub
|
||||
|
||||
```
|
||||
github-release upload -u nextcloud -r deck -t v0.3.1 -n deck.tar.gz -f build/artifacts/deck.tar.gz
|
||||
```
|
||||
|
||||
4. Run krankerl to release the package to the app store (add `--nightly` for prerelease packages)
|
||||
|
||||
```
|
||||
krankerl publish https://github.com/nextcloud/deck/releases/download/v0.3.1/deck.tar.gz
|
||||
```
|
||||
|
||||
## Release PR template
|
||||
|
||||
```
|
||||
## Backports
|
||||
|
||||
- [ ] ...
|
||||
|
||||
## Translations
|
||||
|
||||
- [ ] ...
|
||||
|
||||
## Release
|
||||
|
||||
- [ ] Set proper Nextcloud versions in info.xml
|
||||
- [ ] Update changelog
|
||||
- [ ] Build test release
|
||||
- [ ] Tested on
|
||||
- [ ] Nextcloud 13
|
||||
- [ ] Nextcloud 14
|
||||
- [ ] Nextcloud 15
|
||||
- [ ] Merge
|
||||
- [ ] Build final release
|
||||
- [ ] Publish release
|
||||
- [ ] Upload to the app store
|
||||
openssl dgst -sha512 -sign ~/.nextcloud/certificates/radio.key /path/to/radio.tar.gz | openssl base64
|
||||
```
|
||||
|
186
translationfiles/templates/radio.pot
Normal file
186
translationfiles/templates/radio.pot
Normal file
@ -0,0 +1,186 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the Nextcloud package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Nextcloud 3.14159\n"
|
||||
"Report-Msgid-Bugs-To: translations\\@example.com\n"
|
||||
"POT-Creation-Date: 2020-11-28 09:54+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/lib/Dashboard/RadioWidget.php:60
|
||||
msgid "Radio stations"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialAppInfoFakeDummyForL10nScript.php:2
|
||||
msgid "Radio"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialAppInfoFakeDummyForL10nScript.php:3
|
||||
msgid "Radio listening app"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialAppInfoFakeDummyForL10nScript.php:4
|
||||
msgid "Listening to your favorite radio stations in Nextcloud"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:1
|
||||
msgid "Error fetching favorite stations"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:2
|
||||
msgid "No favorites added yet!"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:3
|
||||
msgid "Failed to fetch favorite radio stations"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:4
|
||||
msgid "No favorites yet"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:5
|
||||
msgid "No recent stations yet"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:6
|
||||
msgid "No search results"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:7
|
||||
msgid "Stations you mark as favorite will show up here"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:8
|
||||
msgid "Stations you recently played will show up here"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:9
|
||||
msgid "No stations were found matching your search term"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:10
|
||||
msgid "No stations here"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:11
|
||||
msgid "Could not remove station from favorites"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:12
|
||||
msgid "Could not favor station"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:13
|
||||
msgid "Lost connection to radio station, retrying ..."
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:14
|
||||
msgid "Unable to count play on remote API"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:15
|
||||
msgid "Could not add station to recent list"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:16
|
||||
msgid "Countries"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:17
|
||||
msgid "States"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:18
|
||||
msgid "Languages"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:19
|
||||
msgid "Tags"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:20
|
||||
msgid "Could not fetch stations from remote API"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:21
|
||||
msgid "Unable to load favorites"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:22
|
||||
msgid "Top"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:23
|
||||
msgid "Recent"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:24
|
||||
msgid "New"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:25
|
||||
msgid "Favorites"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:26
|
||||
msgid "Categories"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:27
|
||||
msgid "Search"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:28
|
||||
msgid "Stream URL"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:29
|
||||
msgid "Copy link to clipboard"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:30
|
||||
msgid "Homepage"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:31
|
||||
msgid "Country & Language"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:32
|
||||
msgid "Codec & Bitrate"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:33
|
||||
msgid "Link copied to clipboard"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:34
|
||||
msgid "Error while copying link to clipboard"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:35
|
||||
msgid "Name"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:36
|
||||
msgid "Add to favorites"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:37
|
||||
msgid "Remove from favorites"
|
||||
msgstr ""
|
||||
|
||||
#: /home/onny/projects/nextcloud-app-radio/specialVueFakeDummyForL10nScript.js:38
|
||||
msgid "Details"
|
||||
msgstr ""
|
Loading…
Reference in New Issue
Block a user