Skip to content

Commit

Permalink
Merge remote-tracking branch 'giteaofficial/main'
Browse files Browse the repository at this point in the history
* 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)
  • Loading branch information
zjjhot committed Oct 26, 2022
2 parents bde6a30 + 49a4e45 commit c6d481e
Show file tree
Hide file tree
Showing 27 changed files with 11 additions and 84 deletions.
3 changes: 0 additions & 3 deletions options/locale/locale_cs-CZ.ini
Original file line number Diff line number Diff line change
Expand Up @@ -742,9 +742,6 @@ create_oauth2_application_button=Vytvořit aplikaci
create_oauth2_application_success=Úspěšně jste vytvořili novou OAuth2 aplikaci.
update_oauth2_application_success=Úspěšně jste aktualizovali OAuth2 aplikaci.
oauth2_application_name=Název aplikace
oauth2_select_type=Jaký typ aplikace se hodí?
oauth2_type_web=Webová (např. Node.JS, Tomcat, Go)
oauth2_type_native=Nativní (např. Mobil, Desktop, Prohlížeč)
oauth2_redirect_uri=URI přesměrování
save_application=Uložit
oauth2_client_id=ID klienta
Expand Down
3 changes: 0 additions & 3 deletions options/locale/locale_de-DE.ini
Original file line number Diff line number Diff line change
Expand Up @@ -736,9 +736,6 @@ create_oauth2_application_button=Anwendung erstellen
create_oauth2_application_success=Du hast erfolgreich eine neue OAuth2 Anwendung erstellt.
update_oauth2_application_success=Du hast erfolgreich eine neue OAuth2 Anwendung bearbeitet.
oauth2_application_name=Name der Anwendung
oauth2_select_type=Welcher Anwendungstyp passt?
oauth2_type_web=Web (z.B. Node.JS, Tomcat, Go)
oauth2_type_native=Native (z.B. Mobile, Desktop, Browser)
oauth2_redirect_uri=Weiterleitungs-URI
save_application=Speichern
oauth2_client_id=Client-ID
Expand Down
3 changes: 0 additions & 3 deletions options/locale/locale_el-GR.ini
Original file line number Diff line number Diff line change
Expand Up @@ -738,9 +738,6 @@ create_oauth2_application_button=Δημιουργία Εφαρμογής
create_oauth2_application_success=Δημιουργήσατε επιτυχώς μια νέα εφαρμογή OAuth2.
update_oauth2_application_success=Ενημερώσατε επιτυχώς την εφαρμογή OAuth2.
oauth2_application_name=Όνομα Εφαρμογής
oauth2_select_type=Ποιος τύπος εφαρμογής ταιριάζει;
oauth2_type_web=Web (πχ Node.JS, Tomcat, Go)
oauth2_type_native=Εγγενές (π.χ. Κινητό, Επιφάνεια Εργασίας, Πρόγραμμα Περιήγησης)
oauth2_redirect_uri=URI Ανακατεύθυνσης
save_application=Αποθήκευση
oauth2_client_id=Ταυτότητα Πελάτη
Expand Down
3 changes: 0 additions & 3 deletions options/locale/locale_es-ES.ini
Original file line number Diff line number Diff line change
Expand Up @@ -749,9 +749,6 @@ create_oauth2_application_button=Crear Aplicación
create_oauth2_application_success=Ha creado una nueva aplicación OAuth2 con éxito.
update_oauth2_application_success=Ha actualizado correctamente la aplicación OAuth2.
oauth2_application_name=Nombre de la Aplicación
oauth2_select_type=¿Qué tipo de aplicación es?
oauth2_type_web=Web (por ejemplo: Node.JS, Tomcat, Go)
oauth2_type_native=Nativa (por ejemplo, móvil, escritorio, navegador)
oauth2_redirect_uri=URI de redireccionado
save_application=Guardar
oauth2_client_id=ID de cliente
Expand Down
3 changes: 0 additions & 3 deletions options/locale/locale_fa-IR.ini
Original file line number Diff line number Diff line change
Expand Up @@ -675,9 +675,6 @@ create_oauth2_application_button=ایجاد برنامه
create_oauth2_application_success=برنامه OAuth2 جدید شما با موفقیت ساخته شد.
update_oauth2_application_success=برنامه OAuth2 با موفقیت به‎روزرسانی شد.
oauth2_application_name=نام برنامه
oauth2_select_type=کدام نوع برنامه متناسب است؟
oauth2_type_web=وب (مثلا Node.JS, Tomcat, Go)
oauth2_type_native=بومی (مثلا، Mobile, Desktop, Browser)
oauth2_redirect_uri=تغییر مسیر به نشانی اینترنتی
save_application=ذخيره
oauth2_client_id=شناسه کلاینت
Expand Down
3 changes: 0 additions & 3 deletions options/locale/locale_fr-FR.ini
Original file line number Diff line number Diff line change
Expand Up @@ -742,9 +742,6 @@ create_oauth2_application_button=Créer une application
create_oauth2_application_success=Vous avez créé avec succès une nouvelle application OAuth2.
update_oauth2_application_success=Vous avez mis à jour l'application OAuth2 avec succès.
oauth2_application_name=Nom de l'Application
oauth2_select_type=De quel type d'application s'agit-il ?
oauth2_type_web=Web (par exemple Node.JS, Tomcat, Go)
oauth2_type_native=Native (par exemple Mobile, Bureau, Navigateur)
oauth2_redirect_uri=URL de redirection
save_application=Enregistrer
oauth2_client_id=ID du client
Expand Down
3 changes: 0 additions & 3 deletions options/locale/locale_hu-HU.ini
Original file line number Diff line number Diff line change
Expand Up @@ -526,9 +526,6 @@ create_oauth2_application_button=Alkalmazás létrehozása
create_oauth2_application_success=Sikerült létrehozni egy új OAuth2 alkalmazást.
update_oauth2_application_success=Sikerült módosítani az OAuth2 alkalmazást.
oauth2_application_name=Alkalmazásnév
oauth2_select_type=Melyik típus felelne meg?
oauth2_type_web=Web (pl. Node.JS, Tomcat, Go)
oauth2_type_native=Natív (pl. Mobil, PC, Böngésző)
oauth2_redirect_uri=Átirányítási URI
save_application=Mentés
oauth2_client_id=Ügyfélazonosító
Expand Down
3 changes: 0 additions & 3 deletions options/locale/locale_id-ID.ini
Original file line number Diff line number Diff line change
Expand Up @@ -519,9 +519,6 @@ create_oauth2_application_button=Buat Aplikasi
create_oauth2_application_success=Anda berhasil membuat aplikasi OAuth2 baru.
update_oauth2_application_success=Anda berhasil memperbarui aplikasi OAuth2.
oauth2_application_name=Nama Aplikasi
oauth2_select_type=Aplikasi tipe apa yang cocok?
oauth2_type_web=Web (contohnya Node.JS, Tomcat, Go)
oauth2_type_native=Asli (contohnya perangkat genggaman, desktop, peramban)
oauth2_redirect_uri=URI Pengalihan
save_application=Simpan
oauth2_client_id=ID Klien
Expand Down
3 changes: 0 additions & 3 deletions options/locale/locale_is-IS.ini
Original file line number Diff line number Diff line change
Expand Up @@ -553,9 +553,6 @@ access_token_deletion=Eyða Aðgangslykli
create_oauth2_application_button=Skapa Forrit
update_oauth2_application_success=Þú hefur uppfært OAuth2 forritið.
oauth2_application_name=Forritsheiti
oauth2_select_type=Hvaða forritsgerð passar?
oauth2_type_web=Net (t.d. Node.JS, Tomcat, Go)
oauth2_type_native=Á kerfi (t.d. síma, tölvu, vafra)
oauth2_redirect_uri=Áframsendingar Vefslóð
save_application=Vista
oauth2_client_id=Auðkenni Notanda
Expand Down
3 changes: 0 additions & 3 deletions options/locale/locale_it-IT.ini
Original file line number Diff line number Diff line change
Expand Up @@ -736,9 +736,6 @@ create_oauth2_application_button=Crea applicazione
create_oauth2_application_success=Hai creato con successo una nuova applicazione OAuth2.
update_oauth2_application_success=Hai aggiornato con successo l'applicazione OAuth2.
oauth2_application_name=Nome applicazione
oauth2_select_type=Quale tipo di applicazione é adatto?
oauth2_type_web=Web (es: Node.JS, Tomcat, Go)
oauth2_type_native=Nativo (es. Mobile, Desktop, Browser)
oauth2_redirect_uri=URI di reindirizzamento
save_application=Salva
oauth2_client_id=Client ID
Expand Down
3 changes: 0 additions & 3 deletions options/locale/locale_ja-JP.ini
Original file line number Diff line number Diff line change
Expand Up @@ -742,9 +742,6 @@ create_oauth2_application_button=アプリケーション作成
create_oauth2_application_success=新しいOAuth2アプリケーションを作成しました。
update_oauth2_application_success=OAuth2アプリケーションを更新しました。
oauth2_application_name=アプリケーション名
oauth2_select_type=アプリケーションタイプを選択
oauth2_type_web=Web (Node.JS, Tomcat, Go など)
oauth2_type_native=Native (モバイル, デスクトップ, ブラウザーなど)
oauth2_redirect_uri=リダイレクトURI
save_application=保存
oauth2_client_id=クライアントID
Expand Down
3 changes: 0 additions & 3 deletions options/locale/locale_lv-LV.ini
Original file line number Diff line number Diff line change
Expand Up @@ -736,9 +736,6 @@ create_oauth2_application_button=Izveidot lietotni
create_oauth2_application_success=OAuth2 lietotne veiksmīgi izveidota.
update_oauth2_application_success=OAuth2 lietotne veiksmīgi atjaunināta.
oauth2_application_name=Lietotnes nosaukums
oauth2_select_type=Kāds lietotnes veids visvairāk atbilst?
oauth2_type_web=Tīmekļa (piemēram, Node.JS, Tomcat, Go)
oauth2_type_native=Specializētā (piemēram, mobilā, darbvirsmas, tīmekļa pārlūks)
oauth2_redirect_uri=Novirzīšanas URI
save_application=Saglabāt
oauth2_client_id=Klienta ID
Expand Down
3 changes: 0 additions & 3 deletions options/locale/locale_ml-IN.ini
Original file line number Diff line number Diff line change
Expand Up @@ -489,9 +489,6 @@ create_oauth2_application_button=അപ്ലിക്കേഷൻ സൃഷ്
create_oauth2_application_success=നിങ്ങൾ വിജയകരമായി ഒരു പുതിയ OAuth2 അപ്ലിക്കേഷൻ സൃഷ്ടിച്ചു.
update_oauth2_application_success=നിങ്ങൾ വിജയകരമായി ഒരു പുതിയ OAuth2 അപ്ലിക്കേഷൻ പുതുക്കി.
oauth2_application_name=അപ്ലിക്കേഷന്റെ പേര്
oauth2_select_type=ഏത് തരം അപ്ലിക്കേഷനാണ് ഇതു്?
oauth2_type_web=വെബ് (e.g. Node.JS, Tomcat, Go)
oauth2_type_native=നേറ്റീവ് (ഉദാ. മൊബൈൽ, ഡെസ്ക്ടോപ്പ്, ബ്രൌസർ)
oauth2_redirect_uri=URI റീഡയറക്‌ട് ചെയ്യുക
save_application=സംരക്ഷിയ്ക്കുക
oauth2_client_id=ക്ലൈന്റ് ഐഡി
Expand Down
3 changes: 0 additions & 3 deletions options/locale/locale_nl-NL.ini
Original file line number Diff line number Diff line change
Expand Up @@ -736,9 +736,6 @@ create_oauth2_application_button=Maak applicatie
create_oauth2_application_success=Je hebt met succes een nieuwe OAuth2-applicatie aangemaakt.
update_oauth2_application_success=Je hebt de OAuth2-applicatie succesvol bijgewerkt.
oauth2_application_name=Applicatie naam
oauth2_select_type=Welk type toepassing past?
oauth2_type_web=Web (bijv. Node.JS, Tomcat, Go)
oauth2_type_native=Native (bijv. Mobiel, Desktop, Browser)
oauth2_redirect_uri=Omleidings URL
save_application=Opslaan
oauth2_client_id=Client-ID
Expand Down
3 changes: 0 additions & 3 deletions options/locale/locale_pl-PL.ini
Original file line number Diff line number Diff line change
Expand Up @@ -688,9 +688,6 @@ create_oauth2_application_button=Stwórz aplikację
create_oauth2_application_success=Udało Ci się stworzyć nową aplikację OAuth2.
update_oauth2_application_success=Udało Ci się zaktualizować aplikację OAuth2.
oauth2_application_name=Nazwa aplikacji
oauth2_select_type=Który typ aplikacji jest dla niej właściwy?
oauth2_type_web=Webowa (np. Node.JS, Tomcat, Go)
oauth2_type_native=Natywna (np. mobilna, pulpitowa, przeglądarkowa)
oauth2_redirect_uri=URI przekierowania
save_application=Zapisz
oauth2_client_id=ID klienta
Expand Down
3 changes: 0 additions & 3 deletions options/locale/locale_pt-BR.ini
Original file line number Diff line number Diff line change
Expand Up @@ -738,9 +738,6 @@ create_oauth2_application_button=Criar aplicativo
create_oauth2_application_success=Você criou com sucesso um novo aplicativo OAuth2.
update_oauth2_application_success=Você alterou com sucesso o aplicativo OAuth2.
oauth2_application_name=Nome do aplicativo
oauth2_select_type=Que tipo de aplicativo se encaixa?
oauth2_type_web=Web (exemplo: Node.JS, Tomcat, Go)
oauth2_type_native=Nativo (exemplo: Celular, Computador, Navegador)
oauth2_redirect_uri=Redirecionar URI
save_application=Salvar
oauth2_client_id=Client ID
Expand Down
4 changes: 1 addition & 3 deletions options/locale/locale_pt-PT.ini
Original file line number Diff line number Diff line change
Expand Up @@ -749,9 +749,7 @@ create_oauth2_application_button=Criar aplicação
create_oauth2_application_success=Criou com sucesso uma nova aplicação OAuth2.
update_oauth2_application_success=Modificou com sucesso a aplicação OAuth2.
oauth2_application_name=Nome da aplicação
oauth2_select_type=Que tipo de aplicaçãoo se encaixa?
oauth2_type_web=Web (por exemplo: Node.JS, Tomcat, Go)
oauth2_type_native=Nativa (por exemplo: Telemóvel, Computador, Navegador)
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.
oauth2_redirect_uri=URI de reencaminhamento
save_application=Guardar
oauth2_client_id=ID do cliente
Expand Down
3 changes: 0 additions & 3 deletions options/locale/locale_ru-RU.ini
Original file line number Diff line number Diff line change
Expand Up @@ -725,9 +725,6 @@ create_oauth2_application_button=Создать приложение
create_oauth2_application_success=Вы успешно создали новое приложение OAuth2.
update_oauth2_application_success=Изменения настроек приложения OAuth2 успешно применены.
oauth2_application_name=Имя приложения
oauth2_select_type=Какой тип приложения подходит?
oauth2_type_web=Веб (например: Node.JS, Tomcat, Go)
oauth2_type_native=Нативный (например: телефон, ПК, браузер)
oauth2_redirect_uri=URI переадресации
save_application=Сохранить
oauth2_client_id=ID клиента
Expand Down
3 changes: 0 additions & 3 deletions options/locale/locale_si-LK.ini
Original file line number Diff line number Diff line change
Expand Up @@ -657,9 +657,6 @@ create_oauth2_application_button=යෙදුම සාදන්න
create_oauth2_application_success=ඔබ නව Oauth2 යෙදුමක් සාර්ථකව නිර්මාණය කර ඇත.
update_oauth2_application_success=ඔබ Oauth2 යෙදුම සාර්ථකව යාවත්කාලීන කර ඇත.
oauth2_application_name=යෙදුමේ නම
oauth2_select_type=කුමන යෙදුම් වර්ගය ගැලපේද?
oauth2_type_web=වෙබ් (උදා: Node.JS, ටොම්කැට්, යන්න)
oauth2_type_native=දේශීය (උදා: ජංගම, පරිගණක, බ්රව්සරය)
oauth2_redirect_uri=නැවත හරවා යැවීමේ URI
save_application=සුරකින්න
oauth2_client_id=අනුග්‍රාහකයේ හැඳු.
Expand Down
1 change: 0 additions & 1 deletion options/locale/locale_sk-SK.ini
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,6 @@ create_oauth2_application_button=Vytvoriť aplikáciu
create_oauth2_application_success=Úspešne ste vytvorili novú aplikáciu OAuth2.
update_oauth2_application_success=Úspešne ste aktualizovali aplikáciu OAuth2.
oauth2_application_name=Názov aplikácie
oauth2_select_type=Ktorý typ aplikácie sa hodí?
oauth2_redirect_uri=Presmerovanie URI
save_application=Uložiť
oauth2_client_id=ID klienta
Expand Down
3 changes: 0 additions & 3 deletions options/locale/locale_sv-SE.ini
Original file line number Diff line number Diff line change
Expand Up @@ -561,9 +561,6 @@ create_oauth2_application_button=Skapa applikation
create_oauth2_application_success=Du har lyckats med att skapa en ny OAuth2-applikation.
update_oauth2_application_success=Du har lyckats uppdatera OAuth2-applikationen.
oauth2_application_name=Applikationsnamn
oauth2_select_type=Vilken typ av applikation passar?
oauth2_type_web=Webb (t.ex. Node.JS, Tomcat, Go)
oauth2_type_native=Native (ex. Mobil, Desktop, Webbläsare)
oauth2_redirect_uri=Omdirigerings-URI
save_application=Spara
oauth2_client_id=Klient-ID
Expand Down
3 changes: 0 additions & 3 deletions options/locale/locale_tr-TR.ini
Original file line number Diff line number Diff line change
Expand Up @@ -742,9 +742,6 @@ create_oauth2_application_button=Uygulama Oluştur
create_oauth2_application_success=Başarıyla yeni bir OAuth2 uygulaması oluşturdunuz.
update_oauth2_application_success=OAuth2 uygulamasını başarıyla güncellediniz.
oauth2_application_name=Uygulama Adı
oauth2_select_type=Hangi uygulama türü uyuyor?
oauth2_type_web=Web (ör. Node.JS, Tomcat, Go)
oauth2_type_native=Yerel (ör. Mobil, Masaüstü, Tarayıcı)
oauth2_redirect_uri=Yönlendirme URI'si
save_application=Kaydet
oauth2_client_id=İstemci Kimliği
Expand Down
3 changes: 0 additions & 3 deletions options/locale/locale_uk-UA.ini
Original file line number Diff line number Diff line change
Expand Up @@ -683,9 +683,6 @@ create_oauth2_application_button=Створити програму
create_oauth2_application_success=Ви успішно створили нову програму OAuth2.
update_oauth2_application_success=Ви успішно оновили програму OAuth2.
oauth2_application_name=Назва програми
oauth2_select_type=Який тип програми підходить?
oauth2_type_web=Веб (напр. Node.JS, Tomcat, Go)
oauth2_type_native=Рідний (напр. мобільний, робочий стіл, веб-переглядач)
oauth2_redirect_uri=URI перенаправлення
save_application=Зберегти
oauth2_client_id=ID Клієнта
Expand Down
3 changes: 0 additions & 3 deletions options/locale/locale_zh-CN.ini
Original file line number Diff line number Diff line change
Expand Up @@ -749,9 +749,6 @@ create_oauth2_application_button=创建应用
create_oauth2_application_success=您已成功创建了一个新的 OAuth2 应用。
update_oauth2_application_success=您已成功更新了此 OAuth2 应用。
oauth2_application_name=应用名称
oauth2_select_type=哪种应用类型合适?
oauth2_type_web=Web (例如 Node.JS, Tomacat, Go)
oauth2_type_native=原生 (例如移动,桌面,浏览器)
oauth2_redirect_uri=重定向 URI
save_application=保存
oauth2_client_id=客户端ID
Expand Down
3 changes: 0 additions & 3 deletions options/locale/locale_zh-TW.ini
Original file line number Diff line number Diff line change
Expand Up @@ -740,9 +740,6 @@ create_oauth2_application_button=建立應用程式
create_oauth2_application_success=您已成功新增一個 OAuth2 應用程式。
update_oauth2_application_success=您已成功更新了 OAuth2 應用程式。
oauth2_application_name=應用程式名稱
oauth2_select_type=適用哪種程式類別?
oauth2_type_web=Web (例如 Node.JS, Tomacat, Go)
oauth2_type_native=原生應用程式 (Mobile, Desktop, Browser)
oauth2_redirect_uri=重新導向 URI
save_application=儲存
oauth2_client_id=客戶端 ID
Expand Down
15 changes: 7 additions & 8 deletions services/release/release.go
Original file line number Diff line number Diff line change
Expand Up @@ -271,12 +271,13 @@ func UpdateRelease(doer *user_model.User, gitRepo *git.Repository, rel *repo_mod
}
}

if !isCreated {
notification.NotifyUpdateRelease(doer, rel)
return
}

if !rel.IsDraft {
if isCreated {
notification.NotifyNewRelease(rel)
} else {
notification.NotifyUpdateRelease(doer, rel)
}
notification.NotifyNewRelease(rel)
}

return err
Expand Down Expand Up @@ -352,9 +353,7 @@ func DeleteReleaseByID(ctx context.Context, id int64, doer *user_model.User, del
}
}

if !rel.IsDraft {
notification.NotifyDeleteRelease(doer, rel)
}
notification.NotifyDeleteRelease(doer, rel)

return nil
}
6 changes: 3 additions & 3 deletions templates/repo/commits_list.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<table class="ui very basic striped table unstackable fixed" id="commits-table">
<thead>
<tr>
<th class="four wide">{{.locale.Tr "repo.commits.author"}}</th>
<th class="three wide">{{.locale.Tr "repo.commits.author"}}</th>
<th class="two wide sha">SHA1</th>
<th class="seven wide message">{{.locale.Tr "repo.commits.message"}}</th>
<th class="three wide right aligned">{{.locale.Tr "repo.commits.date"}}</th>
<th class="nine wide message">{{.locale.Tr "repo.commits.message"}}</th>
<th class="two wide right aligned">{{.locale.Tr "repo.commits.date"}}</th>
</tr>
</thead>
<tbody class="commit-list">
Expand Down

0 comments on commit c6d481e

Please sign in to comment.