Skip to content

Commit c6d481e

Browse files
committed
Merge remote-tracking branch 'giteaofficial/main'
* giteaofficial/main: [skip ci] Updated translations via Crowdin Revert "Do not send notifications for draft releases (go-gitea#21451)" (go-gitea#21594) Change `commits-table` column width (go-gitea#21564)
2 parents bde6a30 + 49a4e45 commit c6d481e

27 files changed

+11
-84
lines changed

options/locale/locale_cs-CZ.ini

-3
Original file line numberDiff line numberDiff line change
@@ -742,9 +742,6 @@ create_oauth2_application_button=Vytvořit aplikaci
742742
create_oauth2_application_success=Úspěšně jste vytvořili novou OAuth2 aplikaci.
743743
update_oauth2_application_success=Úspěšně jste aktualizovali OAuth2 aplikaci.
744744
oauth2_application_name=Název aplikace
745-
oauth2_select_type=Jaký typ aplikace se hodí?
746-
oauth2_type_web=Webová (např. Node.JS, Tomcat, Go)
747-
oauth2_type_native=Nativní (např. Mobil, Desktop, Prohlížeč)
748745
oauth2_redirect_uri=URI přesměrování
749746
save_application=Uložit
750747
oauth2_client_id=ID klienta

options/locale/locale_de-DE.ini

-3
Original file line numberDiff line numberDiff line change
@@ -736,9 +736,6 @@ create_oauth2_application_button=Anwendung erstellen
736736
create_oauth2_application_success=Du hast erfolgreich eine neue OAuth2 Anwendung erstellt.
737737
update_oauth2_application_success=Du hast erfolgreich eine neue OAuth2 Anwendung bearbeitet.
738738
oauth2_application_name=Name der Anwendung
739-
oauth2_select_type=Welcher Anwendungstyp passt?
740-
oauth2_type_web=Web (z.B. Node.JS, Tomcat, Go)
741-
oauth2_type_native=Native (z.B. Mobile, Desktop, Browser)
742739
oauth2_redirect_uri=Weiterleitungs-URI
743740
save_application=Speichern
744741
oauth2_client_id=Client-ID

options/locale/locale_el-GR.ini

-3
Original file line numberDiff line numberDiff line change
@@ -738,9 +738,6 @@ create_oauth2_application_button=Δημιουργία Εφαρμογής
738738
create_oauth2_application_success=Δημιουργήσατε επιτυχώς μια νέα εφαρμογή OAuth2.
739739
update_oauth2_application_success=Ενημερώσατε επιτυχώς την εφαρμογή OAuth2.
740740
oauth2_application_name=Όνομα Εφαρμογής
741-
oauth2_select_type=Ποιος τύπος εφαρμογής ταιριάζει;
742-
oauth2_type_web=Web (πχ Node.JS, Tomcat, Go)
743-
oauth2_type_native=Εγγενές (π.χ. Κινητό, Επιφάνεια Εργασίας, Πρόγραμμα Περιήγησης)
744741
oauth2_redirect_uri=URI Ανακατεύθυνσης
745742
save_application=Αποθήκευση
746743
oauth2_client_id=Ταυτότητα Πελάτη

options/locale/locale_es-ES.ini

-3
Original file line numberDiff line numberDiff line change
@@ -749,9 +749,6 @@ create_oauth2_application_button=Crear Aplicación
749749
create_oauth2_application_success=Ha creado una nueva aplicación OAuth2 con éxito.
750750
update_oauth2_application_success=Ha actualizado correctamente la aplicación OAuth2.
751751
oauth2_application_name=Nombre de la Aplicación
752-
oauth2_select_type=¿Qué tipo de aplicación es?
753-
oauth2_type_web=Web (por ejemplo: Node.JS, Tomcat, Go)
754-
oauth2_type_native=Nativa (por ejemplo, móvil, escritorio, navegador)
755752
oauth2_redirect_uri=URI de redireccionado
756753
save_application=Guardar
757754
oauth2_client_id=ID de cliente

options/locale/locale_fa-IR.ini

-3
Original file line numberDiff line numberDiff line change
@@ -675,9 +675,6 @@ create_oauth2_application_button=ایجاد برنامه
675675
create_oauth2_application_success=برنامه OAuth2 جدید شما با موفقیت ساخته شد.
676676
update_oauth2_application_success=برنامه OAuth2 با موفقیت به‎روزرسانی شد.
677677
oauth2_application_name=نام برنامه
678-
oauth2_select_type=کدام نوع برنامه متناسب است؟
679-
oauth2_type_web=وب (مثلا Node.JS, Tomcat, Go)
680-
oauth2_type_native=بومی (مثلا، Mobile, Desktop, Browser)
681678
oauth2_redirect_uri=تغییر مسیر به نشانی اینترنتی
682679
save_application=ذخيره
683680
oauth2_client_id=شناسه کلاینت

options/locale/locale_fr-FR.ini

-3
Original file line numberDiff line numberDiff line change
@@ -742,9 +742,6 @@ create_oauth2_application_button=Créer une application
742742
create_oauth2_application_success=Vous avez créé avec succès une nouvelle application OAuth2.
743743
update_oauth2_application_success=Vous avez mis à jour l'application OAuth2 avec succès.
744744
oauth2_application_name=Nom de l'Application
745-
oauth2_select_type=De quel type d'application s'agit-il ?
746-
oauth2_type_web=Web (par exemple Node.JS, Tomcat, Go)
747-
oauth2_type_native=Native (par exemple Mobile, Bureau, Navigateur)
748745
oauth2_redirect_uri=URL de redirection
749746
save_application=Enregistrer
750747
oauth2_client_id=ID du client

options/locale/locale_hu-HU.ini

-3
Original file line numberDiff line numberDiff line change
@@ -526,9 +526,6 @@ create_oauth2_application_button=Alkalmazás létrehozása
526526
create_oauth2_application_success=Sikerült létrehozni egy új OAuth2 alkalmazást.
527527
update_oauth2_application_success=Sikerült módosítani az OAuth2 alkalmazást.
528528
oauth2_application_name=Alkalmazásnév
529-
oauth2_select_type=Melyik típus felelne meg?
530-
oauth2_type_web=Web (pl. Node.JS, Tomcat, Go)
531-
oauth2_type_native=Natív (pl. Mobil, PC, Böngésző)
532529
oauth2_redirect_uri=Átirányítási URI
533530
save_application=Mentés
534531
oauth2_client_id=Ügyfélazonosító

options/locale/locale_id-ID.ini

-3
Original file line numberDiff line numberDiff line change
@@ -519,9 +519,6 @@ create_oauth2_application_button=Buat Aplikasi
519519
create_oauth2_application_success=Anda berhasil membuat aplikasi OAuth2 baru.
520520
update_oauth2_application_success=Anda berhasil memperbarui aplikasi OAuth2.
521521
oauth2_application_name=Nama Aplikasi
522-
oauth2_select_type=Aplikasi tipe apa yang cocok?
523-
oauth2_type_web=Web (contohnya Node.JS, Tomcat, Go)
524-
oauth2_type_native=Asli (contohnya perangkat genggaman, desktop, peramban)
525522
oauth2_redirect_uri=URI Pengalihan
526523
save_application=Simpan
527524
oauth2_client_id=ID Klien

options/locale/locale_is-IS.ini

-3
Original file line numberDiff line numberDiff line change
@@ -553,9 +553,6 @@ access_token_deletion=Eyða Aðgangslykli
553553
create_oauth2_application_button=Skapa Forrit
554554
update_oauth2_application_success=Þú hefur uppfært OAuth2 forritið.
555555
oauth2_application_name=Forritsheiti
556-
oauth2_select_type=Hvaða forritsgerð passar?
557-
oauth2_type_web=Net (t.d. Node.JS, Tomcat, Go)
558-
oauth2_type_native=Á kerfi (t.d. síma, tölvu, vafra)
559556
oauth2_redirect_uri=Áframsendingar Vefslóð
560557
save_application=Vista
561558
oauth2_client_id=Auðkenni Notanda

options/locale/locale_it-IT.ini

-3
Original file line numberDiff line numberDiff line change
@@ -736,9 +736,6 @@ create_oauth2_application_button=Crea applicazione
736736
create_oauth2_application_success=Hai creato con successo una nuova applicazione OAuth2.
737737
update_oauth2_application_success=Hai aggiornato con successo l'applicazione OAuth2.
738738
oauth2_application_name=Nome applicazione
739-
oauth2_select_type=Quale tipo di applicazione é adatto?
740-
oauth2_type_web=Web (es: Node.JS, Tomcat, Go)
741-
oauth2_type_native=Nativo (es. Mobile, Desktop, Browser)
742739
oauth2_redirect_uri=URI di reindirizzamento
743740
save_application=Salva
744741
oauth2_client_id=Client ID

options/locale/locale_ja-JP.ini

-3
Original file line numberDiff line numberDiff line change
@@ -742,9 +742,6 @@ create_oauth2_application_button=アプリケーション作成
742742
create_oauth2_application_success=新しいOAuth2アプリケーションを作成しました。
743743
update_oauth2_application_success=OAuth2アプリケーションを更新しました。
744744
oauth2_application_name=アプリケーション名
745-
oauth2_select_type=アプリケーションタイプを選択
746-
oauth2_type_web=Web (Node.JS, Tomcat, Go など)
747-
oauth2_type_native=Native (モバイル, デスクトップ, ブラウザーなど)
748745
oauth2_redirect_uri=リダイレクトURI
749746
save_application=保存
750747
oauth2_client_id=クライアントID

options/locale/locale_lv-LV.ini

-3
Original file line numberDiff line numberDiff line change
@@ -736,9 +736,6 @@ create_oauth2_application_button=Izveidot lietotni
736736
create_oauth2_application_success=OAuth2 lietotne veiksmīgi izveidota.
737737
update_oauth2_application_success=OAuth2 lietotne veiksmīgi atjaunināta.
738738
oauth2_application_name=Lietotnes nosaukums
739-
oauth2_select_type=Kāds lietotnes veids visvairāk atbilst?
740-
oauth2_type_web=Tīmekļa (piemēram, Node.JS, Tomcat, Go)
741-
oauth2_type_native=Specializētā (piemēram, mobilā, darbvirsmas, tīmekļa pārlūks)
742739
oauth2_redirect_uri=Novirzīšanas URI
743740
save_application=Saglabāt
744741
oauth2_client_id=Klienta ID

options/locale/locale_ml-IN.ini

-3
Original file line numberDiff line numberDiff line change
@@ -489,9 +489,6 @@ create_oauth2_application_button=അപ്ലിക്കേഷൻ സൃഷ്
489489
create_oauth2_application_success=നിങ്ങൾ വിജയകരമായി ഒരു പുതിയ OAuth2 അപ്ലിക്കേഷൻ സൃഷ്ടിച്ചു.
490490
update_oauth2_application_success=നിങ്ങൾ വിജയകരമായി ഒരു പുതിയ OAuth2 അപ്ലിക്കേഷൻ പുതുക്കി.
491491
oauth2_application_name=അപ്ലിക്കേഷന്റെ പേര്
492-
oauth2_select_type=ഏത് തരം അപ്ലിക്കേഷനാണ് ഇതു്?
493-
oauth2_type_web=വെബ് (e.g. Node.JS, Tomcat, Go)
494-
oauth2_type_native=നേറ്റീവ് (ഉദാ. മൊബൈൽ, ഡെസ്ക്ടോപ്പ്, ബ്രൌസർ)
495492
oauth2_redirect_uri=URI റീഡയറക്‌ട് ചെയ്യുക
496493
save_application=സംരക്ഷിയ്ക്കുക
497494
oauth2_client_id=ക്ലൈന്റ് ഐഡി

options/locale/locale_nl-NL.ini

-3
Original file line numberDiff line numberDiff line change
@@ -736,9 +736,6 @@ create_oauth2_application_button=Maak applicatie
736736
create_oauth2_application_success=Je hebt met succes een nieuwe OAuth2-applicatie aangemaakt.
737737
update_oauth2_application_success=Je hebt de OAuth2-applicatie succesvol bijgewerkt.
738738
oauth2_application_name=Applicatie naam
739-
oauth2_select_type=Welk type toepassing past?
740-
oauth2_type_web=Web (bijv. Node.JS, Tomcat, Go)
741-
oauth2_type_native=Native (bijv. Mobiel, Desktop, Browser)
742739
oauth2_redirect_uri=Omleidings URL
743740
save_application=Opslaan
744741
oauth2_client_id=Client-ID

options/locale/locale_pl-PL.ini

-3
Original file line numberDiff line numberDiff line change
@@ -688,9 +688,6 @@ create_oauth2_application_button=Stwórz aplikację
688688
create_oauth2_application_success=Udało Ci się stworzyć nową aplikację OAuth2.
689689
update_oauth2_application_success=Udało Ci się zaktualizować aplikację OAuth2.
690690
oauth2_application_name=Nazwa aplikacji
691-
oauth2_select_type=Który typ aplikacji jest dla niej właściwy?
692-
oauth2_type_web=Webowa (np. Node.JS, Tomcat, Go)
693-
oauth2_type_native=Natywna (np. mobilna, pulpitowa, przeglądarkowa)
694691
oauth2_redirect_uri=URI przekierowania
695692
save_application=Zapisz
696693
oauth2_client_id=ID klienta

options/locale/locale_pt-BR.ini

-3
Original file line numberDiff line numberDiff line change
@@ -738,9 +738,6 @@ create_oauth2_application_button=Criar aplicativo
738738
create_oauth2_application_success=Você criou com sucesso um novo aplicativo OAuth2.
739739
update_oauth2_application_success=Você alterou com sucesso o aplicativo OAuth2.
740740
oauth2_application_name=Nome do aplicativo
741-
oauth2_select_type=Que tipo de aplicativo se encaixa?
742-
oauth2_type_web=Web (exemplo: Node.JS, Tomcat, Go)
743-
oauth2_type_native=Nativo (exemplo: Celular, Computador, Navegador)
744741
oauth2_redirect_uri=Redirecionar URI
745742
save_application=Salvar
746743
oauth2_client_id=Client ID

options/locale/locale_pt-PT.ini

+1-3
Original file line numberDiff line numberDiff line change
@@ -749,9 +749,7 @@ create_oauth2_application_button=Criar aplicação
749749
create_oauth2_application_success=Criou com sucesso uma nova aplicação OAuth2.
750750
update_oauth2_application_success=Modificou com sucesso a aplicação OAuth2.
751751
oauth2_application_name=Nome da aplicação
752-
oauth2_select_type=Que tipo de aplicaçãoo se encaixa?
753-
oauth2_type_web=Web (por exemplo: Node.JS, Tomcat, Go)
754-
oauth2_type_native=Nativa (por exemplo: Telemóvel, Computador, Navegador)
752+
oauth2_confidential_client=Cliente confidencial. Escolha para aplicações que mantêm o segredo confidencial, tais como aplicações web. Não escolha para aplicações nativas, incluindo aplicações para computador e aplicações móveis.
755753
oauth2_redirect_uri=URI de reencaminhamento
756754
save_application=Guardar
757755
oauth2_client_id=ID do cliente

options/locale/locale_ru-RU.ini

-3
Original file line numberDiff line numberDiff line change
@@ -725,9 +725,6 @@ create_oauth2_application_button=Создать приложение
725725
create_oauth2_application_success=Вы успешно создали новое приложение OAuth2.
726726
update_oauth2_application_success=Изменения настроек приложения OAuth2 успешно применены.
727727
oauth2_application_name=Имя приложения
728-
oauth2_select_type=Какой тип приложения подходит?
729-
oauth2_type_web=Веб (например: Node.JS, Tomcat, Go)
730-
oauth2_type_native=Нативный (например: телефон, ПК, браузер)
731728
oauth2_redirect_uri=URI переадресации
732729
save_application=Сохранить
733730
oauth2_client_id=ID клиента

options/locale/locale_si-LK.ini

-3
Original file line numberDiff line numberDiff line change
@@ -657,9 +657,6 @@ create_oauth2_application_button=යෙදුම සාදන්න
657657
create_oauth2_application_success=ඔබ නව Oauth2 යෙදුමක් සාර්ථකව නිර්මාණය කර ඇත.
658658
update_oauth2_application_success=ඔබ Oauth2 යෙදුම සාර්ථකව යාවත්කාලීන කර ඇත.
659659
oauth2_application_name=යෙදුමේ නම
660-
oauth2_select_type=කුමන යෙදුම් වර්ගය ගැලපේද?
661-
oauth2_type_web=වෙබ් (උදා: Node.JS, ටොම්කැට්, යන්න)
662-
oauth2_type_native=දේශීය (උදා: ජංගම, පරිගණක, බ්රව්සරය)
663660
oauth2_redirect_uri=නැවත හරවා යැවීමේ URI
664661
save_application=සුරකින්න
665662
oauth2_client_id=අනුග්‍රාහකයේ හැඳු.

options/locale/locale_sk-SK.ini

-1
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,6 @@ create_oauth2_application_button=Vytvoriť aplikáciu
738738
create_oauth2_application_success=Úspešne ste vytvorili novú aplikáciu OAuth2.
739739
update_oauth2_application_success=Úspešne ste aktualizovali aplikáciu OAuth2.
740740
oauth2_application_name=Názov aplikácie
741-
oauth2_select_type=Ktorý typ aplikácie sa hodí?
742741
oauth2_redirect_uri=Presmerovanie URI
743742
save_application=Uložiť
744743
oauth2_client_id=ID klienta

options/locale/locale_sv-SE.ini

-3
Original file line numberDiff line numberDiff line change
@@ -561,9 +561,6 @@ create_oauth2_application_button=Skapa applikation
561561
create_oauth2_application_success=Du har lyckats med att skapa en ny OAuth2-applikation.
562562
update_oauth2_application_success=Du har lyckats uppdatera OAuth2-applikationen.
563563
oauth2_application_name=Applikationsnamn
564-
oauth2_select_type=Vilken typ av applikation passar?
565-
oauth2_type_web=Webb (t.ex. Node.JS, Tomcat, Go)
566-
oauth2_type_native=Native (ex. Mobil, Desktop, Webbläsare)
567564
oauth2_redirect_uri=Omdirigerings-URI
568565
save_application=Spara
569566
oauth2_client_id=Klient-ID

options/locale/locale_tr-TR.ini

-3
Original file line numberDiff line numberDiff line change
@@ -742,9 +742,6 @@ create_oauth2_application_button=Uygulama Oluştur
742742
create_oauth2_application_success=Başarıyla yeni bir OAuth2 uygulaması oluşturdunuz.
743743
update_oauth2_application_success=OAuth2 uygulamasını başarıyla güncellediniz.
744744
oauth2_application_name=Uygulama Adı
745-
oauth2_select_type=Hangi uygulama türü uyuyor?
746-
oauth2_type_web=Web (ör. Node.JS, Tomcat, Go)
747-
oauth2_type_native=Yerel (ör. Mobil, Masaüstü, Tarayıcı)
748745
oauth2_redirect_uri=Yönlendirme URI'si
749746
save_application=Kaydet
750747
oauth2_client_id=İstemci Kimliği

options/locale/locale_uk-UA.ini

-3
Original file line numberDiff line numberDiff line change
@@ -683,9 +683,6 @@ create_oauth2_application_button=Створити програму
683683
create_oauth2_application_success=Ви успішно створили нову програму OAuth2.
684684
update_oauth2_application_success=Ви успішно оновили програму OAuth2.
685685
oauth2_application_name=Назва програми
686-
oauth2_select_type=Який тип програми підходить?
687-
oauth2_type_web=Веб (напр. Node.JS, Tomcat, Go)
688-
oauth2_type_native=Рідний (напр. мобільний, робочий стіл, веб-переглядач)
689686
oauth2_redirect_uri=URI перенаправлення
690687
save_application=Зберегти
691688
oauth2_client_id=ID Клієнта

options/locale/locale_zh-CN.ini

-3
Original file line numberDiff line numberDiff line change
@@ -749,9 +749,6 @@ create_oauth2_application_button=创建应用
749749
create_oauth2_application_success=您已成功创建了一个新的 OAuth2 应用。
750750
update_oauth2_application_success=您已成功更新了此 OAuth2 应用。
751751
oauth2_application_name=应用名称
752-
oauth2_select_type=哪种应用类型合适?
753-
oauth2_type_web=Web (例如 Node.JS, Tomacat, Go)
754-
oauth2_type_native=原生 (例如移动,桌面,浏览器)
755752
oauth2_redirect_uri=重定向 URI
756753
save_application=保存
757754
oauth2_client_id=客户端ID

options/locale/locale_zh-TW.ini

-3
Original file line numberDiff line numberDiff line change
@@ -740,9 +740,6 @@ create_oauth2_application_button=建立應用程式
740740
create_oauth2_application_success=您已成功新增一個 OAuth2 應用程式。
741741
update_oauth2_application_success=您已成功更新了 OAuth2 應用程式。
742742
oauth2_application_name=應用程式名稱
743-
oauth2_select_type=適用哪種程式類別?
744-
oauth2_type_web=Web (例如 Node.JS, Tomacat, Go)
745-
oauth2_type_native=原生應用程式 (Mobile, Desktop, Browser)
746743
oauth2_redirect_uri=重新導向 URI
747744
save_application=儲存
748745
oauth2_client_id=客戶端 ID

services/release/release.go

+7-8
Original file line numberDiff line numberDiff line change
@@ -271,12 +271,13 @@ func UpdateRelease(doer *user_model.User, gitRepo *git.Repository, rel *repo_mod
271271
}
272272
}
273273

274+
if !isCreated {
275+
notification.NotifyUpdateRelease(doer, rel)
276+
return
277+
}
278+
274279
if !rel.IsDraft {
275-
if isCreated {
276-
notification.NotifyNewRelease(rel)
277-
} else {
278-
notification.NotifyUpdateRelease(doer, rel)
279-
}
280+
notification.NotifyNewRelease(rel)
280281
}
281282

282283
return err
@@ -352,9 +353,7 @@ func DeleteReleaseByID(ctx context.Context, id int64, doer *user_model.User, del
352353
}
353354
}
354355

355-
if !rel.IsDraft {
356-
notification.NotifyDeleteRelease(doer, rel)
357-
}
356+
notification.NotifyDeleteRelease(doer, rel)
358357

359358
return nil
360359
}

templates/repo/commits_list.tmpl

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<table class="ui very basic striped table unstackable fixed" id="commits-table">
33
<thead>
44
<tr>
5-
<th class="four wide">{{.locale.Tr "repo.commits.author"}}</th>
5+
<th class="three wide">{{.locale.Tr "repo.commits.author"}}</th>
66
<th class="two wide sha">SHA1</th>
7-
<th class="seven wide message">{{.locale.Tr "repo.commits.message"}}</th>
8-
<th class="three wide right aligned">{{.locale.Tr "repo.commits.date"}}</th>
7+
<th class="nine wide message">{{.locale.Tr "repo.commits.message"}}</th>
8+
<th class="two wide right aligned">{{.locale.Tr "repo.commits.date"}}</th>
99
</tr>
1010
</thead>
1111
<tbody class="commit-list">

0 commit comments

Comments
 (0)