Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions translations/Dockerfile-ExternalApp

This file was deleted.

101 changes: 48 additions & 53 deletions translations/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,52 +9,54 @@
{
"name": "app",
"arguments": [
"activity",
"announcementcenter",
"bruteforcesettings",
"calendar",
"caniupdate",
"circles",
"cms_pico",
"contacts",
"dashboard",
"deck",
"end_to_end_encryption",
"external",
"files_accesscontrol",
"files_automatedtagging",
"files_downloadactivity",
"files_filter",
"files_texteditor",
"firstrunwizard",
"gallery",
"groupfolders",
"guests",
"impersonate",
"limit_login_to_ip",
"logreader",
"maps",
"news",
"nextant",
"nextcloud_announcements",
"notes",
"notifications",
"ocsms",
"passman",
"password_policy",
"polls",
"quota_warning",
"ransomware_protection",
"richdocuments",
"serverinfo",
"spreed",
"survey_client",
"tasks",
"twofactor_sms",
"twofactor_totp",
"twofactor_u2f",
"user_saml",
"weather"
"nextcloud activity",
"nextcloud announcementcenter",
"nextcloud bruteforcesettings",
"nextcloud calendar",
"nextcloud caniupdate",
"nextcloud circles",
"nextcloud cms_pico",
"nextcloud contacts",
"nextcloud dashboard",
"nextcloud deck",
"nextcloud end_to_end_encryption",
"nextcloud external",
"nextcloud files_accesscontrol",
"nextcloud files_automatedtagging",
"nextcloud files_downloadactivity",
"nextcloud files_filter",
"nextcloud files_texteditor",
"nextcloud firstrunwizard",
"nextcloud gallery",
"nextcloud groupfolders",
"nextcloud guests",
"nextcloud impersonate",
"nextcloud limit_login_to_ip",
"nextcloud logreader",
"nextcloud maps",
"nextcloud news",
"nextcloud nextant",
"nextcloud nextcloud_announcements",
"nextcloud notes",
"nextcloud notifications",
"nextcloud ocsms",
"nextcloud passman",
"nextcloud password_policy",
"nextcloud polls",
"nextcloud quota_warning",
"nextcloud ransomware_protection",
"nextcloud richdocuments",
"nextcloud serverinfo",
"nextcloud spreed",
"nextcloud survey_client",
"nextcloud tasks",
"nextcloud twofactor_sms",
"nextcloud twofactor_totp",
"nextcloud twofactor_u2f",
"nextcloud user_saml",
"nextcloud weather",
"janis91 ocr",
"juliushaertl apporder"
]
},
{
Expand All @@ -63,13 +65,6 @@
"socialsharing"
]
},
{
"name": "externalapp",
"arguments": [
"janis91 ocr",
"juliushaertl apporder"
]
},
{
"name": "ios",
"arguments": [
Expand Down
12 changes: 6 additions & 6 deletions translations/handleAppTranslations.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ gpg --allow-secret-key-import --import /gpg/nextcloud-bot.asc
gpg --list-keys

# fetch git repo
git clone git@github.com:nextcloud/$1 /app
git clone git@github.com:$1/$2 /app

# build PO file
cd l10n
wget https://raw.githubusercontent.com/nextcloud/docker-ci/master/translations/l10n.pl
wget https://raw.githubusercontent.com/nextcloud/server/master/build/l10nParseAppInfo.php
perl ./l10n.pl $1 read
perl ./l10n.pl $2 read

versions='stable11 stable12 stable13 master'

Expand All @@ -33,14 +33,14 @@ do
git checkout $version

# ignore build folder for groupfolders and logreader
if [ "$1" == "groupfolders" -o "$1" == "logreader" ] ; then
if [ "$2" == "groupfolders" -o "$2" == "logreader" ] ; then
rm -rf ../build
fi

perl ./l10n.pl $1 read > /dev/null
perl ./l10n.pl $2 read > /dev/null

# ignore build folder for groupfolders and logreader
if [ "$1" == "groupfolders" -o "$1" == "logreader" ] ; then
if [ "$2" == "groupfolders" -o "$2" == "logreader" ] ; then
git checkout -- ../build
fi

Expand Down Expand Up @@ -90,7 +90,7 @@ do
cd l10n

# build JS/JSON based on translations
perl ./l10n.pl $1 write
perl ./l10n.pl $2 write

cd ..

Expand Down
43 changes: 0 additions & 43 deletions translations/handleExternalAppTranslations.sh

This file was deleted.