diff --git a/.gitignore b/.gitignore index 22d862d5..c80a04e8 100644 --- a/.gitignore +++ b/.gitignore @@ -180,6 +180,9 @@ crashlytics.properties crashlytics-build.properties fabric.properties +# Crowdin +crowdin.yml + ### AndroidStudio Patch ### !/gradle/wrapper/gradle-wrapper.jar diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a1b7ae88..cfdfc7a1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -24,6 +24,7 @@ In case you want to submit a bug report, please provide as much details as possi ## Translation Help us translate GitNex to your native language. -Take a look [here](https://gitea.com/mmarif/GitNex/src/branch/master/app/src/main/res/values/strings.xml) for strings, please ignore the lines with `translatable="false"`. It is recommended to create a Pull Request with your changes. +We use [Crowdin](https://crowdin.com/project/gitnex) for translation. +If your language is not listed, please request [here](https://gitea.com/mmarif/GitNex/issues) to add it to the project. -Check the structure of other languages for example [French](https://gitea.com/mmarif/GitNex/src/branch/master/app/src/main/res/values-fr/strings.xml). \ No newline at end of file +**Link: https://crowdin.com/project/GitNex** diff --git a/README.md b/README.md index d1664eea..8f8911d3 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ [![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) [![Release](https://img.shields.io/badge/dynamic/json.svg?label=release&url=https://gitea.com/api/v1/repos/mmarif/GitNex/releases&query=$[0].tag_name)](https://gitea.com/mmarif/GitNex/releases) +[![Crowdin](https://badges.crowdin.net/gitnex/localized.svg)](https://crowdin.com/project/gitnex) [Become a Patroen](https://www.patreon.com/mmarif) [Donate using Liberapay](https://liberapay.com/mmarif/donate) diff --git a/app/src/main/java/org/mian/gitnex/fragments/AboutFragment.java b/app/src/main/java/org/mian/gitnex/fragments/AboutFragment.java index 936aa7d8..81b546c6 100644 --- a/app/src/main/java/org/mian/gitnex/fragments/AboutFragment.java +++ b/app/src/main/java/org/mian/gitnex/fragments/AboutFragment.java @@ -49,6 +49,7 @@ public class AboutFragment extends Fragment { final TextView appVerBuild; final TextView donationLink; final TextView donationLinkPatreon; + final TextView translateLink; final TextView creditsButton; final TextView sponsorsButton; final TextView appWebsite; @@ -64,6 +65,7 @@ public class AboutFragment extends Fragment { creditsButton = v.findViewById(R.id.creditsButton); donationLink = v.findViewById(R.id.donationLink); donationLinkPatreon = v.findViewById(R.id.donationLinkPatreon); + translateLink = v.findViewById(R.id.translateLink); sponsorsButton = v.findViewById(R.id.sponsorsButton); appWebsite = v.findViewById(R.id.appWebsite); appRepo = v.findViewById(R.id.appRepo); @@ -90,6 +92,16 @@ public class AboutFragment extends Fragment { } }); + translateLink.setOnClickListener(new View.OnClickListener() { + public void onClick(View v) { + Intent intent = new Intent(); + intent.setAction(Intent.ACTION_VIEW); + intent.addCategory(Intent.CATEGORY_BROWSABLE); + intent.setData(Uri.parse(getResources().getString(R.string.corwdinLink))); + startActivity(intent); + } + }); + appWebsite.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { Intent intent = new Intent(); diff --git a/app/src/main/java/org/mian/gitnex/fragments/SettingsFragment.java b/app/src/main/java/org/mian/gitnex/fragments/SettingsFragment.java index c4dcf6c3..27955e0e 100644 --- a/app/src/main/java/org/mian/gitnex/fragments/SettingsFragment.java +++ b/app/src/main/java/org/mian/gitnex/fragments/SettingsFragment.java @@ -30,7 +30,7 @@ public class SettingsFragment extends Fragment { private Context ctx = null; - private static String[] langList = {"English", "French", "German", "Russian"}; + private static String[] langList = {"Arabic", "Chinese", "English", "French", "German", "Russian"}; private static int langSelectedChoice = 0; private static String[] timeList = {"Pretty", "Normal"}; @@ -68,7 +68,7 @@ public class SettingsFragment extends Fragment { Intent intent = new Intent(); intent.setAction(Intent.ACTION_VIEW); intent.addCategory(Intent.CATEGORY_BROWSABLE); - intent.setData(Uri.parse(getResources().getString(R.string.appRepoContributingLink))); + intent.setData(Uri.parse(getResources().getString(R.string.corwdinLink))); startActivity(intent); } }); @@ -244,6 +244,12 @@ public class SettingsFragment extends Fragment { tinyDb.putInt("langId", i); switch (langList[i]) { + case "Arabic": + tinyDb.putString("locale", "ar"); + break; + case "Chinese": + tinyDb.putString("locale", "zh"); + break; case "French": tinyDb.putString("locale", "fr"); break; diff --git a/app/src/main/res/layout/fragment_about.xml b/app/src/main/res/layout/fragment_about.xml index 599e3af2..258667d0 100644 --- a/app/src/main/res/layout/fragment_about.xml +++ b/app/src/main/res/layout/fragment_about.xml @@ -105,8 +105,21 @@ android:gravity="start" android:autoLink="web" android:visibility="visible" + android:layout_marginBottom="10dp" android:textColorLink="@color/lightBlue" /> + + + - - \ No newline at end of file + + My Repositories + Starred Repositories + Repositories + Profile + Settings + Organizations + About + Rate GitNex + Logout + + + About + Home + My Repositories + Repositories + Profile + New Repository + Organizations + Issues + Settings + New Organization + New Milestone + New Issue + New Label + Credits + Update Label + Sponsors + Starred Repositories + New Team + Add Email Address + New File + + Version\u0020:\u0020 + Build No.\u0020:\u0020 + Demo repo + Repo with ORG + Demo description + No repositories found + Demo organization + Demo description + No organizations found + Create + Update + Repository Name + Repository Description + Private + Max 255 characters + Owner + Organization Name + Organization Description + Max 255 characters + Username + Password + LOGIN + Instance URL + Open Navigation Drawer + Close Navigation Drawer + Login to Gitea + 1- Choose the correct protocol(https or http). \n2- Enter Gitea url e.g: try.gitea.io. \n3- If you have enabled 2FA for your account, enter the code in the OTP Code field. \n4- For HTTP basic auth use USERNAME@DOMAIN.COM in the URL field. + Wrong username/password + It is not recommended to use HTTP protocol unless you are testing on local network. + Malformed JSON was received. Server response was not successful. + Instance URL is required + Username is required + Password is required + Cannot access network, please check your Internet connection + Repository name is empty + Repository name is not valid. [a–z A–Z 0–9 – _] + Repository description exceeds the max 255 characters limit + Repository created successfully + Something went wrong, please try again + Repository of this name already exists under selected Owner + Organization name is empty + Organization name is not valid, [a–z A–Z 0–9 – _] + Organization description exceeds the max 255 characters limit + Organization created successfully + Something went wrong, please try again + Organization already exists + Processing + Search + Work in progress + Close + Add + Org + Repo + Pri + Remove + Instance has returned an error. Code\u0020 + RepoDetailActivity + Details + Files + Open Issues + Closed Issues + Milestones + Releases + Branches + Labels + Settings + Collaborators + No issues found + Repository + Owner + Description + Website + Size + Default Branch + SSH URL + Clone URL + Repo URL + Forks + Created + Last Updated + at + Opened\u0020 + Due Date + Status: open + open + Status: closed + closed + Creator :\u0020 + Assignees + Type: Issue + Type: Pull Request + Commenter:\u0020 + Milestone %1$s + Due %1$s + Opened %1$s + Assigned to: %1$s + Comment + Please write your comment + Comment posted + Something went wrong, please try again + Avatar + No milestones found + Commit author: %1$s + Commit hash \n%1$s%2$s + Release Title + Release Description + Downloads + Release Type + Release Zip + Release Tar + No releases found + Tag: %1$s + Collaborator : %1$s + No collaborators found + Edit + Title + Description + Due Date + Milestone title is empty + Milestone title is not valid. [a–z A–Z 0–9 – _] + Milestone description exceeds the max 255 characters limit + Milestone created successfully + Something went wrong, please try again + Please choose due date + Open issues : %1$d + Closed issues : %1$d + Select Assignees + Select Labels + Done + Cancel + Title + Assignees + Description + Due Date + Milestone + Labels + Issue title is empty + Issue description is empty + New issue created successfully + Something went wrong, please try again + No collaborators found + No labels found + + Translation + Date & Time + Settings saved. + Language + English + Appearance + Pretty + Choose Language + Choose Time Format + Issues Badge + Help us translate GitNex to your language + Code Block Color + Code Block Color Selector + Home Screen + My Repositories + Select Home Screen + + No more data available + New Label + Repo Menu + Label Name + Label Color + Label name is empty + Label name is not valid + Label created. + Something went wrong, please try again + Label updated. + No labels found + Desc + Edit + Delete + Label deleted + Something went wrong, please try again + No branches found + Design + + + Authorization Error + It seems that the Access Token is revoked OR your are not allowed to see these contents. In case of revoked Token, please logout and login again + Cancel + Logout + Delete\u0020 + Do you really want to delete this label? + OK + Cancel + + OrgDetailActivity + Repositories + Teams + Members + New Team + No teams found + Team name + Team desc + Permission : %1$s + No members found + Org members + Organization team members + + + Team Name + Description + Permission + Access Controls + Members can view and clone team repositories + Members can read and push to team repositories + Members can pull and push to team repositories and add collaborators to them + Please enter team name + Team name should contain only alphanumeric, dash (-), underscore (_) and dot (.) characters + Please select permission + Team description have illegal characters + Team description have more than 100 characters + Team created successfully + Something went wrong, please try again + + + Edit Comment + Edit + Comment updated + + + Add / Remove Collaborator + Search users + Username + Remove\u0020 + Do you want to remove this user from the repository? + User removed from the repository. + User added to the repository. + + + Followers + Following + Add Email Address + Save + Email Address + New email added successfully. + Email address is empty. + Email address is not valid + Email address is already in use + Primary + Emails + + + Add / Remove Labels + Labels updated + Close Issue + Add Comment + Edit Issue + Reopen Issue + Issue closed + Issue reopened + Add Assignees + Add / Remove Assignees + Assignees updated + + + Select Entries + Please select at least one option + Please select at least + You can only select up to + option + options + Select all + Deselect all + + Repository Meta + + Add New User + Users + Admin + + + Full Name + Email + Username + Password + Invalid Full Name + Invalid Username + Invalid Email + New user added successfully + User already exists + + + + + Edit Issue #%1$s + Issue updated. + + + New Release + Tag Name + Title + Content + Mark as Pre-Release + Select Branch + Draft + Tag name is empty + Title is empty + New release created + + Enter OTP code + OTP code should be numbers. + OTP Code (Optional) + Enter the otp code if 2FA is enabled + Open in Browser + Stargazers + Watchers + No stars found + No watchers found + Star + Watcher + Commit + Zip Archive + Tar Archive + + File Name + New Branch Name + File Content + Create New File + with folder: app/test.md + Commit Message + Invalid branch name, may only contain –, a–z, 0–9 + Commit message is too long + New file created + Current Branches + Fields like filename, content and commit message are required + Selecting current branch will disable new branch + e.g: new-branch + New branch name cannot be empty if current branch is not selected + Filter + Copy Issue URL + Issue URL copied to clipboard + %1$d\uFF05 completed + + No files found + Directory browsing is not supported yet + Sorry this file cannot be viewed as API returned an error + Root + + OK + Done + Cancel + Something went wrong, please try again + This request needs higher Gitea version than the one installed. Please upgrade your instance to the latest version of Gitea. + No data found + Add + Remove + You are not authorized to perform this action. + Menu + Edit + Delete + edited + Save + Name + Description + Website + Location + Max 255 characters + All fields are required + + diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 9f12eea0..d84edbfc 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -1,5 +1,6 @@ + + - Meine Repositories Favoriten @@ -11,7 +12,6 @@ Bewerte GitNex Ausloggen - Über Startseite @@ -26,40 +26,33 @@ Meilenstein erstellen Issue erstellen Label erstellen - Credits + Mitwirkende Label aktualisieren Sponsoren Favoriten Team erstellen E-Mail Adresse hinzufügen - New File + Neue Datei - Version\u0020:\u0020 Build Nr.\u0020:\u0020 - Demo Repo Repo mit ORG Demo Beschreibung Keine Repositories gefunden - Demo Organisation Demo Beschreibung Keine Organisation gefunden - Erstellen Aktualisieren - Name des Repositories Beschreibung des Repositories Privat maximal 255 Zeichen Eigentümer - Name der Organisation Beschreibung der Organisation maximal 255 Zeichen - Benutzername Passwort ANMELDEN @@ -74,35 +67,28 @@ Instanzen-URL ist erforderlich Benutzername ist erforderlich Passwort ist erforderlich - Kann nicht auf das Netzwerk zugreifen. Bitte überprüfe die Internetverbindung - Es sind alle Felder erforderlich - Der Repository Name ist leer. Der Repository Name ist nicht gültig. [a–z A–Z 0–9 – _] Die Repositorybeschreibung überschreitet die maximale Anzahl von 255 Zeichen Repository erfolgreich erstellt! Etwas ist schief gelaufen. Bitte versuche es erneut Ein Repository mit diesem Namen existiert bereits unter dem ausgewählten Besitzer - Organisationsname ist leer Organisationsname ist nicht gültig, [a–z A–Z 0–9 – _] Organisationsbeschreibung überschreitet maximale Anzahl von 255 Zeichen Organisation erfolgreich erstellt! Etwas ist schief gelaufen. Bitte versuche es erneut Organisation existiert bereits - verarbeite Suche In Arbeit - Schließen Hinzufügen Org Repo Pri Entfernen - Die Gitea Instanz hat einen Fehler zurückgegeben. Code\u0020 Repo-Details Aktivität Details @@ -110,23 +96,21 @@ Offene Issues Geschlossene Issues Meilensteine - Veröffentlichungen + Releases Branches Labels Einstellungen Mitarbeiter - Keine Issues gefunden! - Repository Eigentümer Beschreibung Webseite Größe Standard Branch - SSH URL - Klon URL - Repo URL + SSH Link + Klon Link + Repository Link Anzahl an Forks Erstellt Letzte Aktualisierung @@ -151,14 +135,11 @@ Bitte schreibe deinen Kommentar! Kommentar gepostet Etwas ist schief gelaufen. Bitte versuche es erneut - Benutzerbild Kein Meilenstein gefunden! - Commit Autor: %1$s Commit Hash \n%1$s%2$s - Release Titel Release Beschreibung Downloads @@ -167,12 +148,9 @@ Release Tar Kein Release gefunden! Tag: %1$s - - Zuständiger: %1$s + Mitarbeiter : %1$s Kein Zuständiger gefunden! - Bearbeiten - Titel Beschreibung Fälligkeitsdatum @@ -184,7 +162,6 @@ Bitte wählen Sie das Fälligkeitsdatum! Offene Issues: %1$d Geschlossene Issues: %1$d - Wählen Sie Zuständige aus Label auswählen Erledigt @@ -201,7 +178,6 @@ Etwas ist schief gelaufen. Bitte versuche es erneut Keine Zuständigen gefunden! Keine Labels gefunden! - Sprachen Datum & Uhrzeit @@ -216,44 +192,38 @@ Hilf uns dabei, GitNex in deine Sprache zu übersetzen. Code Block Farbe Code Block Farb Auswahl - Home Screen + Startseite Meine Repositories Home Screen Auswählen - Keine weiteren Daten verfügbar! - Label erstellen Repo Menü - Label Name + Beschriftung Label Farbe Der Labelname ist leer! Der Labelname ist nicht gültig! Label wurde erfolgreich erstellt! Etwas ist schief gelaufen. Bitte versuche es erneut Label aktualisiert! - Keine Labels gefunden! Beschreibung Bearbeiten Löschen Label gelöscht! Etwas ist schief gelaufen. Bitte versuche es erneut - Keine Branch gefunden! - Design - + + Autorisierungsfehler Es scheint, dass der Access Token widerrufen wurde ODER du diese Inhalte nicht sehen darfst. Falls der Token wiederrufen wurde, melde dich bitte ab und wieder an. Abbrechen Abmelden - Löschen\u0020 Möchtest du dieses Label wirklich entfernen? Ok Abbrechen - OrgDetailActivity Repositories @@ -268,7 +238,6 @@ Org Mitglied Mitglieder der Organization - Name des Teams Beschreibung des Teams @@ -285,13 +254,11 @@ Team erfolgreich erstellt. Etwas ist schief gelaufen. Bitte versuche es später erneut - Kommentar bearbeiten Bearbeiten Kommentar erfolgreich bearbeitet - Mitarbeiter hinzufügen Benutzer durchsuchen @@ -300,11 +267,9 @@ Möchtest du den Nutzer wirklich von dieser Repository entfernen? Benuter von der Repository entfernt. Benutzer zu der Repository hinzugefügt. - Öffne mit Browser - - Follower + Folgen mir Folge ich E-Mail Adresse hinzufügen Speichern @@ -316,7 +281,6 @@ Primär E-Mails - Labels hinzufügen/entfernen Labels aktualisiert @@ -330,7 +294,6 @@ Zuständige hinzufügen/entfernen Zuständige aktualisiert - Einträge auswählen Bitte mindestens eine Option auswählen @@ -341,15 +304,12 @@ Alle auswählen Die Auswahl aufheben - - Repository Meta - + Repository Informationen Neuen Benutzer erstellen Benutzer - Admin + Administrator - Ganzer Name E-Mail @@ -361,12 +321,12 @@ Neuer Benutzer erfolgreich erstellt Benutzer existiert bereits - + + Bearbeite Issue #%1$s Issue aktualisiert. - Release erstellen Tag @@ -379,23 +339,20 @@ Der Titel ist leer Neuer Release erstellt - - Bitte gib den OTP code ein - Der OTP code muss aus Zahlen bestehen. - OTP Code (Optional) + Bitte OTP-Code Eingeben + Der OTP-Code muss aus Zahlen bestehen. + OTP-Code (optional) Gib den otp code ein, wenn 2FA eingeschaltet ist - + Öffne mit Browser Favorisierer Beobachter Keine Favorisierer gefunden Keine Beobachter gefunden Favorisierer Beobachter - Commit Zip Archiv Tar Archiv - Dateiname neuer Branch-Name @@ -408,20 +365,23 @@ Neue Datei erstellt Derzeitige Branches Felder wie Dateiname, Inhalt und Commit-Nachricht sind erforderlich. - Das Auswählen des derzeitigen Branches wird "neuer Branch-Name" deaktivieren + Das Auswählen des derzeitigen Branches wird \"neuer Branch-Name\" deaktivieren z.B.: neuer-branch Neuer Branch-Name kann nicht leer sein, wenn der derzeitige Branch nicht ausgewählt ist - Filter - - Issue URL kopieren - Issue URL copied to clipboard - + Issue Link kopieren + Issue Link in Zwischenablage kopiert %1$d\uFF05 abgeschlossen Keine Dateien gefunden + + Keine Dateien gefunden + Ordner sind noch nicht unterstützt + Datei kann nicht angezeigt werden, da die API einen Fehler meldet + Wurzel + OK Fertig @@ -442,6 +402,6 @@ Website Standort maximal 255 Zeichen + Es sind alle Felder erforderlich - diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 9445c7ad..ad2fe689 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -1,6 +1,6 @@ + - My Repositories Starred Repositories @@ -12,7 +12,6 @@ Rate GitNex Connectez - Out - Sur Accueil @@ -35,32 +34,25 @@ Add Email Address New File - Version\u0020:\u0020 Construire No.\u0020:\u0020 - Démo repo Repo with ORG Demo la description Aucun référentiel trouvé! - Organisation de démonstration Demo description Aucune organisation trouvée! - Créer Update - Nom du référentiel Description du référentiel Private 255 caractères maximum Propriétaire - nom de l\'organisation Description de l\'organisation 255 caractères maximum - NOM D\'UTILISATEUR MOT DE PASSE S\'IDENTIFIER @@ -75,35 +67,28 @@ Instance URL is required Username is required Password is required - Impossible d\'accéder au réseau, veuillez vérifier votre connexion Internet - Tous les champs sont requis - Le nom du référentiel est vide Le nom du référentiel n\'est pas valide. [a–z A–Z 0–9 – _] La description du référentiel dépasse la limite maximale de 255 caractères Référentiel créé avec succès! Une erreur s\'est produite. Veuillez réessayer Repository of this name already exists under selected Owner - Le nom de l\'organisation est vide Le nom de l\'organisation n\'est pas valide, [a–z A–Z 0–9 – _] La description de l\'organisation dépasse la limite maximale de 255 caractères organisation créée avec succès! Une erreur s\'est produite. Veuillez réessayer Organization already exists - En traitement Search Work in progress - Fermer Add Org Repo Pri Remove - L\'instance a renvoyé une erreur. Code\u0020 RepoDetailActivity Détails @@ -116,9 +101,7 @@ Labels Settings Collaborators - No Issues found! - Repository Owner Description @@ -153,14 +136,11 @@ Please write your comment! Comment posted Something went wrong, please try again - IMG No Milestone found! - Commit author : %1$s Commit hash \n%1$s%2$s - Release Title Release Description Downloads @@ -169,12 +149,9 @@ Release Tar No Releases found! Tag: %1$s - Collaborator : %1$s No Collaborator found! - Edit - Title Description Due Date @@ -186,7 +163,6 @@ Please choose due date! Open issues : %1$d Closed issues : %1$d - Select Assignees Select Labels Done @@ -203,7 +179,6 @@ Something went wrong, please try again No collaborators found! No labels found! - Les langues Date & Time @@ -222,9 +197,7 @@ My Repositories Select Home Screen - No more data available! - Create Label Repo Menu Label Name @@ -234,28 +207,24 @@ Label created! Something went wrong, please try again Label updated! - No Labels found! Desc Edit Delete Label deleted! Something went wrong, please try again! - No Branch found! - Design - + + Authorization Error It seems that the Access Token is revoked OR your are not allowed to see these contents. In case of revoked Token, please logout and login again. Cancel Logout - Delete\u0020 Do you really want to delete this label? Ok Cancel - OrgDetailActivity Repositories @@ -270,7 +239,6 @@ Org members Organization team members - Team Name Description @@ -287,13 +255,11 @@ Team created successfully. Something went wrong, please try again. - Edit Comment Edit Comment updated - Add Collaborator Search users @@ -303,7 +269,6 @@ User removed from the repository. User added to the repository. - Followers Following @@ -317,7 +282,6 @@ Primary Emails - Add / Remove Labels Labels updated @@ -331,7 +295,6 @@ Add / Remove Assignees Assignees updated - Select Entries Please select at least one option @@ -342,15 +305,12 @@ Select all Deselect all - Repository Meta - Create New User Users Admin - Full Name Email @@ -362,12 +322,12 @@ New user created successfully User already exists - + + Edit Issue #%1$s Issue updated. - Create Release Tag Name @@ -380,23 +340,20 @@ Title is empty New release created - Enter OTP code OTP code should be numbers. OTP Code (Optional) Enter the otp code if 2FA is enabled - + Ouvrir avec le Browser Stargazers Watchers No stars found No watchers found Star Watcher - Commit Zip Archive Tar Archive - File Name Branch Name @@ -412,17 +369,20 @@ Selecting current branch will disable new branch e.g: new-branch New branch name cannot be empty if current branch is not selected - Filter - Copier l Issue URL Issue URL copied to clipboard - %1$d\uFF05 terminé Aucun fichier trouvé + + Aucun fichier trouvé + Directory browsing is not supported yet + Sorry this file cannot be viewed as API returned an error + Root + OK Done @@ -442,8 +402,7 @@ Description Website Location - Ouvrir avec le Browser Max 255 characters + Tous les champs sont requis - - \ No newline at end of file + diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index 680ea261..5161f921 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -1,6 +1,6 @@ + - Мои репозитории Избранные репозитории @@ -12,7 +12,6 @@ Rate GitNex Выход - О программе Главная @@ -35,32 +34,25 @@ Добавить адрес эл. почты New File - Версия\u0020:\u0020 № сборки\u0020:\u0020 - Демо репозиторий Репозиторий с организацией Демо описание Репозиториев не обнаружено - Демо организации Демо описание Организаций не обнаружено - Создать Обновить - Имя репозитория Описание репозитория Приватный Макс. 255 символов Владелец - Имя организации Описание организации Макс. 255 символов - Имя пользователя Пароль Войти @@ -75,35 +67,28 @@ Instance URL is required Username is required Password is required - Нет подключения к интернету, проверьте наличие связи. - Все поля обязательны для заполнения - Название репозитория пустое. Недоступное название репозитория. [a–z A–Z 0–9 – _] Описание репозитория превышает 255 символов. Репозиторий успешно создан! Что-то пошло не так. Пожалуйста, попытайтесь еще раз. Repository of this name already exists under selected Owner - Название организации пустое. Недоступное название организации. [a–z A–Z 0–9 – _] Описание организации превышает 255 символов. Организация успешно создана! Что-то пошло не так. Пожалуйста, попытайтесь еще раз. Organization already exists - Обработка Поиск Работа в процессе - Закрыть Добавить Орг. Реп. Лич. Удалить - Инстанция вернула ошибку. Код\u0020 Активность Детали @@ -116,9 +101,7 @@ Метки Настройки Сотрудники - Задач не обнаружено - Репозиторий Владелец Описание @@ -153,14 +136,11 @@ Введите свой комментарий. Комментарий отправлен! Что-то пошло не так. Пожалуйста, попытайтесь еще раз. - Аватар Вех не обнаружено - Автор коммита: %1$s Хеш коммита \n%1$s%2$s - Заголовок релиза Описание релиза Скачать @@ -169,12 +149,9 @@ Релиз в tar Релизов не обнаружено Tag: %1$s - Сотрудники: %1$s Сотрудников не обнаружено - Изменить - Заголовок Описание Дата исполнения @@ -186,7 +163,6 @@ Надо задать дату вехи. Открыть задачу: %1$d Закрыть задачу: %1$d - Выбрать сотрудников Выбрать метки Готово @@ -203,7 +179,6 @@ Что-то пошло не так. Пожалуйста, попытайтесь еще раз. Сотрудников не обнаружено Меток не обнаружено - Перевод Дата и время @@ -222,9 +197,7 @@ My Repositories Select Home Screen - Нет новых данных. - Создание метки Меню репозитория Название метки @@ -234,28 +207,24 @@ Метка создана. Что-то пошло не так. Пожалуйста, попытайтесь еще раз. Метка обновлена. - Меток не обнаружено Описание Редактировать Удалить Метка удалена! Что-то пошло не так. Пожалуйста, попытайтесь еще раз. - Веток не обнаружено - Дизайн - + + Ошибка авторизации Похоже, что токен доступа отозван, или вам не разрешено просматривать это содержимое. В случае отзыва токена, пожалуйста, выйдите из системы и войдите снова. Закрыть Выход - Удалить\u0020 Вы действительно хотите удалить эту метку? Да Отмена - Активность организации Репозитории @@ -270,7 +239,6 @@ Участники организации Участники команд организации - Имя команды Описание @@ -287,13 +255,11 @@ Команда создана успешно. Что-то пошло не так. Пожалуйста, попытайтесь еще раз. - Редактировать комментарий Редактировать Комментарий обновлен - Добавить сотрудника Поиск @@ -303,7 +269,6 @@ С пользователя были сняты права сотрудника. Пользователь получает права сотрудника! - Подписчики Подписки @@ -317,7 +282,6 @@ Основной Адреса эл. почты - Добавить/удалить метку Метки обновлены @@ -331,7 +295,6 @@ Add / Remove Assignees Assignees updated - Select Entries Please select at least one option @@ -342,15 +305,12 @@ Select all Deselect all - Repository Meta - Создать нового пользователя Users Admin - Полное имя Адрес электронной почты @@ -362,12 +322,12 @@ Новый пользователь успешно создан User already exists - + + Редактировать задачу #%1$s Задача отредактирована. - Create Release Tag Name @@ -380,23 +340,20 @@ Title is empty New release created - Enter OTP code OTP code should be numbers. OTP Code (Optional) Enter the otp code if 2FA is enabled - + Открыть с помощью браузера Stargazers Watchers No stars found No watchers found Star Watcher - Commit Zip Archive Tar Archive - File Name Branch Name @@ -412,17 +369,20 @@ Selecting current branch will disable new branch e.g: new-branch New branch name cannot be empty if current branch is not selected - Filter - Copy Issue URL Issue URL copied to clipboard - %1$d\uFF05 выполненный Файлов не найдено + + Файлов не найдено + Directory browsing is not supported yet + Sorry this file cannot be viewed as API returned an error + Root + OK Готово @@ -442,8 +402,7 @@ Описание Веб-сайт Место расположения - Открыть с помощью браузера Max 255 characters + Все поля обязательны для заполнения - - \ No newline at end of file + diff --git a/app/src/main/res/values-zh/strings.xml b/app/src/main/res/values-zh/strings.xml new file mode 100644 index 00000000..f24e3eba --- /dev/null +++ b/app/src/main/res/values-zh/strings.xml @@ -0,0 +1,400 @@ + + + + + 我的仓库 + 已点赞 + 仓库列表 + 个人信息 + 设置 + 组织 + 关于 + 评价 GitNex + 退出 + + + 关于 + 首页 + 我的仓库 + 仓库列表 + 个人信息 + 创建仓库 + 组织 + 工单 + 设置 + 创建组织 + 创建里程碑 + 创建工单 + 创建标签 + 鸣谢 + 更新标签 + 赞助商 + 已点赞 + 创建团队 + 添加电子邮件地址 + 新建文件 + + 版本\u0020:\u0020 + 构建编号 \u0020:\u0020 + 演示仓库 + Repo with ORG + 演示描述 + 没有任何仓库 + 演示组织 + 演示描述 + 没有任何组织 + 创建 + 更新 + 仓库名称 + 仓库描述 + 私有 + 最大 255 字符 + 所有者 + 组织名称 + 组织描述 + 最大 255 字符 + 用户名 + 密码 + LOGIN + Instance URL + Open Navigation Drawer + Close Navigation Drawer + Login to Gitea + 1- Choose the correct protocol(https or http). \n2- Enter Gitea url e.g: try.gitea.io. \n3- If you have enabled 2FA for your account, enter the code in the OTP Code field. \n4- For HTTP basic auth use USERNAME@DOMAIN.COM in the URL field. + Wrong username/password + It is not recommended to use HTTP protocol unless you are testing on local network. + Malformed JSON was received. Server response was not successful. + Instance URL is required + Username is required + Password is required + Cannot access network, please check your Internet connection + Repository name is empty + Repository name is not valid. [a–z A–Z 0–9 – _] + Repository description exceeds the max 255 characters limit + Repository created successfully + Something went wrong, please try again + Repository of this name already exists under selected Owner + Organization name is empty + Organization name is not valid, [a–z A–Z 0–9 – _] + Organization description exceeds the max 255 characters limit + Organization created successfully + Something went wrong, please try again + Organization already exists + Processing + Search + Work in progress + Close + Add + Org + Repo + Pri + Remove + Instance has returned an error. Code\u0020 + RepoDetailActivity + Details + Files + Open Issues + Closed Issues + Milestones + Releases + Branches + Labels + Settings + Collaborators + No issues found + Repository + Owner + Description + Website + Size + Default Branch + SSH URL + Clone URL + Repo URL + Forks + Created + Last Updated + at + Opened\u0020 + Due Date + Status: open + open + Status: closed + closed + Creator :\u0020 + Assignees + Type: Issue + Type: Pull Request + Commenter:\u0020 + Milestone %1$s + Due %1$s + Opened %1$s + Assigned to: %1$s + Comment + Please write your comment + Comment posted + Something went wrong, please try again + Avatar + No milestones found + Commit author: %1$s + Commit hash \n%1$s%2$s + Release Title + Release Description + Downloads + Release Type + Release Zip + Release Tar + No releases found + Tag: %1$s + Collaborator : %1$s + No collaborators found + Edit + Title + Description + Due Date + Milestone title is empty + Milestone title is not valid. [a–z A–Z 0–9 – _] + Milestone description exceeds the max 255 characters limit + Milestone created successfully + Something went wrong, please try again + Please choose due date + Open issues : %1$d + Closed issues : %1$d + Select Assignees + Select Labels + Done + Cancel + Title + Assignees + Description + Due Date + Milestone + Labels + Issue title is empty + Issue description is empty + New issue created successfully + Something went wrong, please try again + No collaborators found + No labels found + + Translation + Date & Time + Settings saved. + Language + English + Appearance + Pretty + Choose Language + Choose Time Format + Issues Badge + Help us translate GitNex to your language + Code Block Color + Code Block Color Selector + Home Screen + My Repositories + Select Home Screen + + No more data available + New Label + Repo Menu + Label Name + Label Color + Label name is empty + Label name is not valid + Label created. + Something went wrong, please try again + Label updated. + No labels found + Desc + Edit + Delete + Label deleted + Something went wrong, please try again + No branches found + Design + + + Authorization Error + It seems that the Access Token is revoked OR your are not allowed to see these contents. In case of revoked Token, please logout and login again + Cancel + Logout + Delete\u0020 + Do you really want to delete this label? + OK + Cancel + + OrgDetailActivity + Repositories + Teams + Members + New Team + No teams found + Team name + Team desc + Permission : %1$s + No members found + Org members + Organization team members + + + Team Name + Description + Permission + Access Controls + Members can view and clone team repositories + Members can read and push to team repositories + Members can pull and push to team repositories and add collaborators to them + Please enter team name + Team name should contain only alphanumeric, dash (-), underscore (_) and dot (.) characters + Please select permission + Team description have illegal characters + Team description have more than 100 characters + Team created successfully + Something went wrong, please try again + + + Edit Comment + Edit + Comment updated + + + Add / Remove Collaborator + Search users + Username + Remove\u0020 + Do you want to remove this user from the repository? + User removed from the repository. + User added to the repository. + + + Followers + Following + Add Email Address + Save + Email Address + New email added successfully. + Email address is empty. + Email address is not valid + Email address is already in use + Primary + Emails + + + Add / Remove Labels + Labels updated + Close Issue + Add Comment + Edit Issue + Reopen Issue + Issue closed + Issue reopened + Add Assignees + Add / Remove Assignees + Assignees updated + + + Select Entries + Please select at least one option + Please select at least + You can only select up to + option + options + Select all + Deselect all + + Repository Meta + + Add New User + Users + Admin + + + Full Name + Email + Username + Password + Invalid Full Name + Invalid Username + Invalid Email + New user added successfully + User already exists + + + + + Edit Issue #%1$s + Issue updated. + + + New Release + Tag Name + Title + Content + Mark as Pre-Release + Select Branch + Draft + Tag name is empty + Title is empty + New release created + + Enter OTP code + OTP code should be numbers. + OTP Code (Optional) + Enter the otp code if 2FA is enabled + Open in Browser + Stargazers + Watchers + No stars found + No watchers found + Star + Watcher + Commit + Zip Archive + Tar Archive + + File Name + New Branch Name + File Content + Create New File + with folder: app/test.md + Commit Message + Invalid branch name, may only contain –, a–z, 0–9 + Commit message is too long + New file created + Current Branches + Fields like filename, content and commit message are required + Selecting current branch will disable new branch + e.g: new-branch + New branch name cannot be empty if current branch is not selected + Filter + Copy Issue URL + Issue URL copied to clipboard + %1$d\uFF05 completed + + No files found + Directory browsing is not supported yet + Sorry this file cannot be viewed as API returned an error + Root + + OK + Done + Cancel + Something went wrong, please try again + This request needs higher Gitea version than the one installed. Please upgrade your instance to the latest version of Gitea. + No data found + Add + Remove + You are not authorized to perform this action. + Menu + Edit + Delete + edited + Save + Name + Description + Website + Location + Max 255 characters + All fields are required + +