diff --git a/translations/config.json b/translations/config.json index 0be4dbe2..aa0e7b10 100644 --- a/translations/config.json +++ b/translations/config.json @@ -1,277 +1,278 @@ { - "jobs": [ - { - "name": "server", - "arguments": [ - "" - ] - }, - { - "name": "app", - "arguments": [ - "nextcloud spreed", - "nextcloud activity", - "nextcloud announcementcenter", - "nextcloud approval", - "nextcloud app_api", - "nextcloud assistant", - "nextcloud backup", - "nextcloud bookmarks", - "nextcloud bruteforcesettings", - "nextcloud calendar", - "nextcloud call_summary_bot", - "nextcloud circles", - "nextcloud collectives", - "nextcloud contacts", - "nextcloud cookbook", - "nextcloud data_request", - "nextcloud deck", - "nextcloud end_to_end_encryption", - "nextcloud event_update_notification", - "nextcloud external", - "nextcloud files_accesscontrol", - "nextcloud files_antivirus", - "nextcloud files_automatedtagging", - "nextcloud files_confidential", - "nextcloud files_downloadactivity", - "nextcloud files_downloadlimit", - "nextcloud files_emailviewer", - "nextcloud files_filter", - "nextcloud files_fulltextsearch", - "nextcloud files_lock", - "nextcloud files_mindmap", - "nextcloud files_pdfviewer", - "nextcloud files_photospheres", - "nextcloud files_retention", - "nextcloud files_texteditor", - "nextcloud files_zip", - "nextcloud firstrunwizard", - "nextcloud flow_notifications", - "nextcloud forms", - "nextcloud fulltextsearch", - "nextcloud fulltextsearch_elasticsearch", - "nextcloud gptfreeprompt", - "nextcloud groupfolders", - "nextcloud guests", - "nextcloud health", - "nextcloud impersonate", - "nextcloud integration_discourse", - "nextcloud integration_documenso", - "nextcloud integration_docusign", - "nextcloud integration_giphy", - "nextcloud integration_github", - "nextcloud integration_gitlab", - "nextcloud integration_google", - "nextcloud integration_jira", - "nextcloud integration_mastodon", - "nextcloud integration_moodle", - "nextcloud integration_notion", - "nextcloud integration_openai", - "nextcloud integration_openproject", - "nextcloud integration_openstreetmap", - "nextcloud integration_overleaf", - "nextcloud integration_peertube", - "nextcloud integration_slack", - "nextcloud integration_swp", - "nextcloud integration_reddit", - "nextcloud integration_replicate", - "nextcloud integration_tmdb", - "nextcloud integration_watsonx", - "nextcloud integration_zammad", - "nextcloud integration_zulip", - "nextcloud jitsi", - "nextcloud ldap_contacts_backend", - "nextcloud ldap_write_support", - "nextcloud limit_login_to_ip", - "nextcloud logreader", - "nextcloud mail", - "nextcloud maps", - "nextcloud memegen", - "nextcloud news", - "nextcloud nextcloud_announcements", - "nextcloud notes", - "nextcloud notifications", - "nextcloud ocsms", - "nextcloud orcid", - "nextcloud passman", - "nextcloud password_policy", - "nextcloud pdf_converter", - "nextcloud photos", - "nextcloud polls", - "nextcloud preferred_providers", - "nextcloud privacy", - "nextcloud quota_warning", - "nextcloud ransomware_protection", - "nextcloud recognize", - "nextcloud recommendations", - "nextcloud registration", - "nextcloud related_resources", - "nextcloud richdocuments", - "nextcloud scim_client", - "nextcloud serverinfo", - "nextcloud sharepoint", - "nextcloud social", - "nextcloud stt_helper", - "nextcloud survey_client", - "nextcloud suspicious_login", - "nextcloud tables", - "nextcloud talk-desktop", - "nextcloud tasks", - "nextcloud terms_of_service", - "nextcloud text", - "nextcloud text2image_helper", - "nextcloud text_templates", - "nextcloud twofactor_admin", - "nextcloud twofactor_gateway", - "nextcloud twofactor_nextcloud_notification", - "nextcloud twofactor_totp", - "nextcloud twofactor_webauthn", - "nextcloud unsplash", - "nextcloud user_migration", - "nextcloud user_oidc", - "nextcloud user_retention", - "nextcloud user_saml", - "nextcloud viewer", - "nextcloud weather", - "nextcloud whiteboard", - "nextcloud workflow_pdf_converter", - "nextcloud xwiki", - "nextcloud zenodo", - "ayselafsar dicomviewer", - "allotropia nextcloud_files_libreoffice_edit", - "baimard gestion", - "callmemagnus nextcloud-searchpage", - "chenasraf nextcloud-autocurrency", - "cloud-py-api cloud_py_api", - "cloud-py-api mediadc", - "CollaboraOnline richdocumentscode", - "cwilby nextcloud-workflow-media-converter", - "danielroehrig diary", - "e-alfred epubreader", - "e-alfred flowupload", - "e-alfred nextcloud-scanner", - "e-alfred ocdownloader", - "eldertek duplicatefinder", - "fractava biblio", - "gary-kim riotchat", - "gino0631 nextcloud-metadata", - "HomeITAdmin nextcloud_geoblocker", - "H2CK oidc", - "janis91 ocr", - "janis91 pdf_tailor", - "jgraph drawio-nextcloud", - "julien-nc integration_dropbox", - "julien-nc integration_excalidraw", - "julien-nc integration_mattermost", - "julien-nc integration_nuiteq", - "julien-nc integration_onedrive", - "julien-nc integration_zimbra", - "julien-nc picker", - "julien-nc welcome", - "juliushaertl theming_customcss", - "j4ym0 nextcloud-tv-show-namer", - "Kailona ehr", - "kenda nextcloud-openhab", - "LibreSign libresign", - "littleredbutton cloud_bbb", - "medismail salattime", - "mwalbeck nextcloud-breeze-dark", - "otetard ownpad", - "powerpaul17 nc_money", - "paullereverend nextcloudextract", - "pulsejet memories", - "Raudius files_scripts", - "Rello analytics", - "Rello audioplayer", - "Rello sharereview", - "R0Wi-DEV workflow_ocr", - "rotdrop nextcloud-app-dokuwiki", - "rotdrop nextcloud-app-files-archive", - "rotdrop nextcloud-app-pdf-downloader", - "rotdrop nextcloud-roundcube", - "rullzer dropit", - "rullzer twofactor_reminder", - "SergeyMosin appointments", - "stjosh auto_groups", - "tacruc gpgmailer", - "te-online files_linkeditor", - "theCalcaholic nextcloud-secrets", - "verdigado organization_folders", - "vinimoz agora", - "westberliner checksum", - "zorgluf souvenirs-nextcloud", - "zorn-v nextcloud-social-login" - ] - }, - { - "name": "apps", - "arguments": [ - "socialsharing" - ] - }, - { - "name": "ios", - "arguments": [ - "" - ] - }, - { - "name": "iostalk", - "arguments": [ - "" - ] - }, - { - "name": "iosnotes", - "arguments": [ - "" - ] - }, - { - "name": "swiftnextcloudui", - "arguments": [ - "" - ] - }, - { - "name": "desktop", - "arguments": [ - "" - ] - }, - { - "name": "plain", - "arguments": [ - "nextcloud android", - "nextcloud android-library", - "nextcloud Android-SingleSignOn", - "nextcloud news-android", - "nextcloud notes-android", - "nextcloud passman-android", - "nextcloud passman-webextension", - "nextcloud talk-android", - "nerzhul ownCloud-SMS-App", - "stefan-niedermann nextcloud-deck", - "stefan-niedermann nextcloud-tables" - ] - }, - { - "name": "appstore", - "arguments": [ - "appstore" - ] - }, - { - "name": "changelogserver", - "arguments": [ - "nextcloud changelog_server" - ] - }, - { - "name": "documentation-sync", - "arguments": [ - "nextcloud documentation" - ] - } - ] + "jobs": [ + { + "name": "server", + "arguments": [ + "" + ] + }, + { + "name": "app", + "arguments": [ + "nextcloud spreed", + "nextcloud activity", + "nextcloud announcementcenter", + "nextcloud approval", + "nextcloud app_api", + "nextcloud assistant", + "nextcloud backup", + "nextcloud bookmarks", + "nextcloud bruteforcesettings", + "nextcloud calendar", + "nextcloud call_summary_bot", + "nextcloud circles", + "nextcloud collectives", + "nextcloud contacts", + "nextcloud cookbook", + "nextcloud data_request", + "nextcloud deck", + "nextcloud end_to_end_encryption", + "nextcloud event_update_notification", + "nextcloud external", + "nextcloud files_accesscontrol", + "nextcloud files_antivirus", + "nextcloud files_automatedtagging", + "nextcloud files_confidential", + "nextcloud files_downloadactivity", + "nextcloud files_downloadlimit", + "nextcloud files_emailviewer", + "nextcloud files_filter", + "nextcloud files_fulltextsearch", + "nextcloud files_lock", + "nextcloud files_mindmap", + "nextcloud files_pdfviewer", + "nextcloud files_photospheres", + "nextcloud files_retention", + "nextcloud files_texteditor", + "nextcloud files_zip", + "nextcloud firstrunwizard", + "nextcloud flow_notifications", + "nextcloud forms", + "nextcloud fulltextsearch", + "nextcloud fulltextsearch_elasticsearch", + "nextcloud gptfreeprompt", + "nextcloud groupfolders", + "nextcloud guests", + "nextcloud health", + "nextcloud impersonate", + "nextcloud integration_discourse", + "nextcloud integration_documenso", + "nextcloud integration_docusign", + "nextcloud integration_giphy", + "nextcloud integration_github", + "nextcloud integration_gitlab", + "nextcloud integration_google", + "nextcloud integration_jira", + "nextcloud integration_mastodon", + "nextcloud integration_moodle", + "nextcloud integration_notion", + "nextcloud integration_openai", + "nextcloud integration_openproject", + "nextcloud integration_openstreetmap", + "nextcloud integration_overleaf", + "nextcloud integration_peertube", + "nextcloud integration_slack", + "nextcloud integration_swp", + "nextcloud integration_reddit", + "nextcloud integration_replicate", + "nextcloud integration_tmdb", + "nextcloud integration_watsonx", + "nextcloud integration_zammad", + "nextcloud integration_zulip", + "nextcloud jitsi", + "nextcloud ldap_contacts_backend", + "nextcloud ldap_write_support", + "nextcloud limit_login_to_ip", + "nextcloud logreader", + "nextcloud mail", + "nextcloud maps", + "nextcloud memegen", + "nextcloud news", + "nextcloud nextcloud_announcements", + "nextcloud notes", + "nextcloud notifications", + "nextcloud ocsms", + "nextcloud orcid", + "nextcloud passman", + "nextcloud password_policy", + "nextcloud pdf_converter", + "nextcloud photos", + "nextcloud polls", + "nextcloud preferred_providers", + "nextcloud privacy", + "nextcloud quota_warning", + "nextcloud ransomware_protection", + "nextcloud recognize", + "nextcloud recommendations", + "nextcloud registration", + "nextcloud related_resources", + "nextcloud richdocuments", + "nextcloud scim_client", + "nextcloud serverinfo", + "nextcloud sharepoint", + "nextcloud social", + "nextcloud stt_helper", + "nextcloud survey_client", + "nextcloud suspicious_login", + "nextcloud tables", + "nextcloud talk-desktop", + "nextcloud tasks", + "nextcloud terms_of_service", + "nextcloud text", + "nextcloud text2image_helper", + "nextcloud text_templates", + "nextcloud twofactor_admin", + "nextcloud twofactor_gateway", + "nextcloud twofactor_nextcloud_notification", + "nextcloud twofactor_totp", + "nextcloud twofactor_webauthn", + "nextcloud unsplash", + "nextcloud user_migration", + "nextcloud user_oidc", + "nextcloud user_retention", + "nextcloud user_saml", + "nextcloud viewer", + "nextcloud weather", + "nextcloud whiteboard", + "nextcloud workflow_pdf_converter", + "nextcloud xwiki", + "nextcloud zenodo", + "ayselafsar dicomviewer", + "allotropia nextcloud_files_libreoffice_edit", + "baimard gestion", + "callmemagnus nextcloud-searchpage", + "chenasraf nextcloud-autocurrency", + "cloud-py-api cloud_py_api", + "cloud-py-api mediadc", + "CollaboraOnline richdocumentscode", + "cwilby nextcloud-workflow-media-converter", + "danielroehrig diary", + "e-alfred epubreader", + "e-alfred flowupload", + "e-alfred nextcloud-scanner", + "e-alfred ocdownloader", + "eldertek duplicatefinder", + "fractava biblio", + "gary-kim riotchat", + "gino0631 nextcloud-metadata", + "HomeITAdmin nextcloud_geoblocker", + "H2CK oidc", + "janis91 ocr", + "janis91 pdf_tailor", + "jgraph drawio-nextcloud", + "julien-nc integration_dropbox", + "julien-nc integration_excalidraw", + "julien-nc integration_mattermost", + "julien-nc integration_nuiteq", + "julien-nc integration_onedrive", + "julien-nc integration_zimbra", + "julien-nc picker", + "julien-nc welcome", + "juliushaertl theming_customcss", + "j4ym0 nextcloud-tv-show-namer", + "Kailona ehr", + "kenda nextcloud-openhab", + "LibreSign libresign", + "littleredbutton cloud_bbb", + "medismail salattime", + "mwalbeck nextcloud-breeze-dark", + "otetard ownpad", + "powerpaul17 nc_money", + "paullereverend nextcloudextract", + "pulsejet memories", + "Raudius files_scripts", + "Rello analytics", + "Rello audioplayer", + "Rello sharereview", + "R0Wi-DEV workflow_ocr", + "rotdrop nextcloud-app-dokuwiki", + "rotdrop nextcloud-app-files-archive", + "rotdrop nextcloud-app-pdf-downloader", + "rotdrop nextcloud-roundcube", + "rullzer dropit", + "rullzer twofactor_reminder", + "SergeyMosin appointments", + "stjosh auto_groups", + "tacruc gpgmailer", + "te-online files_linkeditor", + "theCalcaholic nextcloud-secrets", + "verdigado organization_folders", + "vinimoz agora", + "westberliner checksum", + "zorgluf souvenirs-nextcloud", + "zorn-v nextcloud-social-login" + ] + }, + { + "name": "apps", + "arguments": [ + "socialsharing" + ] + }, + { + "name": "ios", + "arguments": [ + "" + ] + }, + { + "name": "iostalk", + "arguments": [ + "" + ] + }, + { + "name": "iosnotes", + "arguments": [ + "" + ] + }, + { + "name": "swiftnextcloudui", + "arguments": [ + "" + ] + }, + { + "name": "desktop", + "arguments": [ + "" + ] + }, + { + "name": "plain", + "arguments": [ + "nextcloud android", + "nextcloud android-common", + "nextcloud android-library", + "nextcloud Android-SingleSignOn", + "nextcloud news-android", + "nextcloud notes-android", + "nextcloud passman-android", + "nextcloud passman-webextension", + "nextcloud talk-android", + "nerzhul ownCloud-SMS-App", + "stefan-niedermann nextcloud-deck", + "stefan-niedermann nextcloud-tables" + ] + }, + { + "name": "appstore", + "arguments": [ + "appstore" + ] + }, + { + "name": "changelogserver", + "arguments": [ + "nextcloud changelog_server" + ] + }, + { + "name": "documentation-sync", + "arguments": [ + "nextcloud documentation" + ] + } + ] } diff --git a/translations/handlePlainTranslations.sh b/translations/handlePlainTranslations.sh index 508fa8d8..ab6b4f4c 100755 --- a/translations/handlePlainTranslations.sh +++ b/translations/handlePlainTranslations.sh @@ -23,10 +23,17 @@ versions="$default_branch $(git branch -r | grep -E "origin\/stable\-[0-9\.]+$" if [ -d src/main/res ]; then rm -rf src/main/res/values-*/strings.xml fi + +# Android common +if [ $1 = "nextcloud" -a $2 = "android-common" ]; then + rm -rf core/src/main/res/values-*/strings.xml +fi + # Android library if [ -d library/src/main/res ]; then rm -rf library/src/main/res/values-*/strings.xml fi + # Android talk app if [ -d app/src/main/res ]; then rm -rf app/src/main/res/values-*/strings.xml @@ -161,6 +168,11 @@ if [ $1 = "nextcloud" -a $2 = "android" ]; then git checkout $default_branch fi +if [ $1 = "nextcloud" -a $2 = "android-common" ]; then + git checkout -- core/src/main/res/values/strings.xml + git checkout $default_branch +fi + if [ $1 = "nextcloud" -a $2 = "android-library" ]; then git checkout -- library/src/main/res/values/strings.xml git checkout $default_branch @@ -208,6 +220,12 @@ do mv library/src/main/res/values-de-rDE library/src/main/res/values-de fi + # for the Android common rename the informal german to the formal version + if [ -d core/src/main/res ]; then + rm -rf core/src/main/res/values-de + mv core/src/main/res/values-de-rDE core/src/main/res/values-de + fi + # for the Android talk and files app rename the informal german to the formal version if [ -d app/src/main/res ]; then rm -rf app/src/main/res/values-de