Skip to content

Commit e85a925

Browse files
authored
Merge branch 'main' into xormigrate
2 parents 0da63df + e530568 commit e85a925

34 files changed

+498
-57
lines changed

custom/conf/app.example.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1507,6 +1507,8 @@ LEVEL = Info
15071507
;; - manage_gpg_keys: a user cannot configure gpg keys
15081508
;; - manage_mfa: a user cannot configure mfa devices
15091509
;; - manage_credentials: a user cannot configure emails, passwords, or openid
1510+
;; - change_username: a user cannot change their username
1511+
;; - change_full_name: a user cannot change their full name
15101512
;;EXTERNAL_USER_DISABLE_FEATURES =
15111513

15121514
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

modules/setting/admin.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,6 @@ const (
2929
UserFeatureManageGPGKeys = "manage_gpg_keys"
3030
UserFeatureManageMFA = "manage_mfa"
3131
UserFeatureManageCredentials = "manage_credentials"
32+
UserFeatureChangeUsername = "change_username"
33+
UserFeatureChangeFullName = "change_full_name"
3234
)

options/locale/locale_cs-CZ.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,6 @@ public_profile=Veřejný profil
689689
biography_placeholder=Řekněte nám něco o sobě! (Můžete použít Markdown)
690690
location_placeholder=Sdílejte svou přibližnou polohu s ostatními
691691
profile_desc=Nastavte, jak bude váš profil zobrazen ostatním uživatelům. Vaše hlavní e-mailová adresa bude použita pro oznámení, obnovení hesla a operace Git.
692-
password_username_disabled=Externí uživatelé nemohou měnit svoje uživatelské jméno. Kontaktujte prosím svého administrátora pro více detailů.
693692
full_name=Celé jméno
694693
website=Web
695694
location=Místo

options/locale/locale_de-DE.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,6 @@ public_profile=Öffentliches Profil
683683
biography_placeholder=Erzähle uns ein wenig über Dich selbst! (Du kannst Markdown verwenden)
684684
location_placeholder=Teile Deinen ungefähren Standort mit anderen
685685
profile_desc=Lege fest, wie dein Profil anderen Benutzern angezeigt wird. Deine primäre E-Mail-Adresse wird für Benachrichtigungen, Passwort-Wiederherstellung und webbasierte Git-Operationen verwendet.
686-
password_username_disabled=Benutzer, die nicht von Gitea verwaltet werden können ihren Benutzernamen nicht ändern. Bitte kontaktiere deinen Administrator für mehr Details.
687686
full_name=Vollständiger Name
688687
website=Webseite
689688
location=Standort

options/locale/locale_el-GR.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,6 @@ public_profile=Δημόσιο Προφίλ
620620
biography_placeholder=Πείτε μας λίγο για τον εαυτό σας! (Μπορείτε να γράψετε με Markdown)
621621
location_placeholder=Μοιραστείτε την κατά προσέγγιση τοποθεσία σας με άλλους
622622
profile_desc=Ελέγξτε πώς εμφανίζεται το προφίλ σας σε άλλους χρήστες. Η κύρια διεύθυνση email σας θα χρησιμοποιηθεί για ειδοποιήσεις, ανάκτηση κωδικού πρόσβασης και λειτουργίες Git που βασίζονται στο web.
623-
password_username_disabled=Οι μη τοπικοί χρήστες δεν επιτρέπεται να αλλάξουν το όνομα χρήστη τους. Επικοινωνήστε με το διαχειριστή σας για περισσότερες λεπτομέρειες.
624623
full_name=Πλήρες Όνομα
625624
website=Ιστοσελίδα
626625
location=Τοποθεσία

options/locale/locale_en-US.ini

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,8 @@ lang_select_error = Select a language from the list.
580580
581581
username_been_taken = The username is already taken.
582582
username_change_not_local_user = Non-local users are not allowed to change their username.
583+
change_username_disabled = Changing username is disabled.
584+
change_full_name_disabled = Changing full name is disabled.
583585
username_has_not_been_changed = Username has not been changed
584586
repo_name_been_taken = The repository name is already used.
585587
repository_force_private = Force Private is enabled: private repositories cannot be made public.
@@ -705,7 +707,8 @@ public_profile = Public Profile
705707
biography_placeholder = Tell us a little bit about yourself! (You can use Markdown)
706708
location_placeholder = Share your approximate location with others
707709
profile_desc = Control how your profile is show to other users. Your primary email address will be used for notifications, password recovery and web-based Git operations.
708-
password_username_disabled = Non-local users are not allowed to change their username. Please contact your site administrator for more details.
710+
password_username_disabled = You are not allowed to change their username. Please contact your site administrator for more details.
711+
password_full_name_disabled = You are not allowed to change their full name. Please contact your site administrator for more details.
709712
full_name = Full Name
710713
website = Website
711714
location = Location

options/locale/locale_es-ES.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,6 @@ public_profile=Perfil público
617617
biography_placeholder=¡Cuéntanos un poco sobre ti mismo! (Puedes usar Markdown)
618618
location_placeholder=Comparte tu ubicación aproximada con otros
619619
profile_desc=Controla cómo se muestra su perfil a otros usuarios. Tu dirección de correo electrónico principal se utilizará para notificaciones, recuperación de contraseña y operaciones de Git basadas en la web.
620-
password_username_disabled=Usuarios no locales no tienen permitido cambiar su nombre de usuario. Por favor, contacta con el administrador del sistema para más detalles.
621620
full_name=Nombre completo
622621
website=Página web
623622
location=Localización

options/locale/locale_fa-IR.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,6 @@ account_link=حساب‌های مرتبط
491491
organization=سازمان ها
492492

493493
public_profile=نمایه عمومی
494-
password_username_disabled=حساب‌های غیر محلی مجاز به تغییر نام کاربری نیستند. لطفا با مدیر سایت در ارتباط باشید.
495494
full_name=نام کامل
496495
website=تارنما
497496
location=موقعیت مکانی

options/locale/locale_fi-FI.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,6 @@ account_link=Linkitetyt tilit
451451
organization=Organisaatiot
452452

453453
public_profile=Julkinen profiili
454-
password_username_disabled=Ei-paikalliset käyttäjät eivät voi muuttaa käyttäjätunnustaan. Ole hyvä ja ota yhteyttä sivuston ylläpitäjään saadaksesi lisätietoa.
455454
full_name=Kokonimi
456455
website=Nettisivut
457456
location=Sijainti

options/locale/locale_fr-FR.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,6 @@ public_profile=Profil public
705705
biography_placeholder=Parlez-nous un peu de vous ! (Vous pouvez utiliser Markdown)
706706
location_placeholder=Partagez votre position approximative avec d'autres personnes
707707
profile_desc=Contrôlez comment votre profil est affiché aux autres utilisateurs. Votre adresse courriel principale sera utilisée pour les notifications, la récupération de mot de passe et les opérations Git basées sur le Web.
708-
password_username_disabled=Les utilisateurs externes ne sont pas autorisés à modifier leur nom d'utilisateur. Veuillez contacter l'administrateur de votre site pour plus de détails.
709708
full_name=Nom complet
710709
website=Site Web
711710
location=Localisation

0 commit comments

Comments
 (0)