Skip to content

Commit bcc4ade

Browse files
authored
Merge branch 'go-gitea:main' into main
2 parents 104eecc + 310fdeb commit bcc4ade

28 files changed

+61
-56
lines changed

custom/conf/app.example.ini

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,19 @@ RUN_USER = ; git
6363
;PROTOCOL = http
6464
;;
6565
;; Set the domain for the server.
66-
;; Most users should set it to the real website domain of their Gitea instance.
6766
;DOMAIN = localhost
6867
;;
69-
;; The AppURL used by Gitea to generate absolute links, defaults to "{PROTOCOL}://{DOMAIN}:{HTTP_PORT}/".
68+
;; The AppURL is used to generate public URL links, defaults to "{PROTOCOL}://{DOMAIN}:{HTTP_PORT}/".
7069
;; Most users should set it to the real website URL of their Gitea instance when there is a reverse proxy.
71-
;; When it is empty, Gitea will use HTTP "Host" header to generate ROOT_URL, and fall back to the default one if no "Host" header.
7270
;ROOT_URL =
7371
;;
72+
;; Controls how to detect the public URL.
73+
;; Although it defaults to "legacy" (to avoid breaking existing users), most instances should use the "auto" behavior,
74+
;; especially when the Gitea instance needs to be accessed in a container network.
75+
;; * legacy: detect the public URL from "Host" header if "X-Forwarded-Proto" header exists, otherwise use "ROOT_URL".
76+
;; * auto: always use "Host" header, and also use "X-Forwarded-Proto" header if it exists. If no "Host" header, use "ROOT_URL".
77+
;PUBLIC_URL_DETECTION = legacy
78+
;;
7479
;; For development purpose only. It makes Gitea handle sub-path ("/sub-path/owner/repo/...") directly when debugging without a reverse proxy.
7580
;; DO NOT USE IT IN PRODUCTION!!!
7681
;USE_SUB_URL_PATH = false

modules/httplib/url.go

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -53,30 +53,31 @@ func getRequestScheme(req *http.Request) string {
5353
return ""
5454
}
5555

56-
// GuessCurrentAppURL tries to guess the current full app URL (with sub-path) by http headers. It always has a '/' suffix, exactly the same as setting.AppURL
56+
// GuessCurrentAppURL tries to guess the current full public URL (with sub-path) by http headers. It always has a '/' suffix, exactly the same as setting.AppURL
57+
// TODO: should rename it to GuessCurrentPublicURL in the future
5758
func GuessCurrentAppURL(ctx context.Context) string {
5859
return GuessCurrentHostURL(ctx) + setting.AppSubURL + "/"
5960
}
6061

6162
// GuessCurrentHostURL tries to guess the current full host URL (no sub-path) by http headers, there is no trailing slash.
6263
func GuessCurrentHostURL(ctx context.Context) string {
63-
req, ok := ctx.Value(RequestContextKey).(*http.Request)
64-
if !ok {
65-
return strings.TrimSuffix(setting.AppURL, setting.AppSubURL+"/")
66-
}
67-
// If no scheme provided by reverse proxy, then do not guess the AppURL, use the configured one.
64+
// Try the best guess to get the current host URL (will be used for public URL) by http headers.
6865
// At the moment, if site admin doesn't configure the proxy headers correctly, then Gitea would guess wrong.
6966
// There are some cases:
7067
// 1. The reverse proxy is configured correctly, it passes "X-Forwarded-Proto/Host" headers. Perfect, Gitea can handle it correctly.
7168
// 2. The reverse proxy is not configured correctly, doesn't pass "X-Forwarded-Proto/Host" headers, eg: only one "proxy_pass http://gitea:3000" in Nginx.
7269
// 3. There is no reverse proxy.
7370
// Without more information, Gitea is impossible to distinguish between case 2 and case 3, then case 2 would result in
74-
// wrong guess like guessed AppURL becomes "http://gitea:3000/" behind a "https" reverse proxy, which is not accessible by end users.
75-
// So we introduced "UseHostHeader" option, it could be enabled by setting "ROOT_URL" to empty
71+
// wrong guess like guessed public URL becomes "http://gitea:3000/" behind a "https" reverse proxy, which is not accessible by end users.
72+
// So we introduced "PUBLIC_URL_DETECTION" option, to control the guessing behavior to satisfy different use cases.
73+
req, ok := ctx.Value(RequestContextKey).(*http.Request)
74+
if !ok {
75+
return strings.TrimSuffix(setting.AppURL, setting.AppSubURL+"/")
76+
}
7677
reqScheme := getRequestScheme(req)
7778
if reqScheme == "" {
7879
// if no reverse proxy header, try to use "Host" header for absolute URL
79-
if setting.UseHostHeader && req.Host != "" {
80+
if setting.PublicURLDetection == setting.PublicURLAuto && req.Host != "" {
8081
return util.Iif(req.TLS == nil, "http://", "https://") + req.Host
8182
}
8283
// fall back to default AppURL
@@ -93,8 +94,8 @@ func GuessCurrentHostDomain(ctx context.Context) string {
9394
return util.IfZero(domain, host)
9495
}
9596

96-
// MakeAbsoluteURL tries to make a link to an absolute URL:
97-
// * If link is empty, it returns the current app URL.
97+
// MakeAbsoluteURL tries to make a link to an absolute public URL:
98+
// * If link is empty, it returns the current public URL.
9899
// * If link is absolute, it returns the link.
99100
// * Otherwise, it returns the current host URL + link, the link itself should have correct sub-path (AppSubURL) if needed.
100101
func MakeAbsoluteURL(ctx context.Context, link string) string {

modules/httplib/url_test.go

Lines changed: 27 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,37 @@ func TestIsRelativeURL(t *testing.T) {
4343
func TestGuessCurrentHostURL(t *testing.T) {
4444
defer test.MockVariableValue(&setting.AppURL, "http://cfg-host/sub/")()
4545
defer test.MockVariableValue(&setting.AppSubURL, "/sub")()
46-
defer test.MockVariableValue(&setting.UseHostHeader, false)()
46+
headersWithProto := http.Header{"X-Forwarded-Proto": {"https"}}
4747

48-
ctx := t.Context()
49-
assert.Equal(t, "http://cfg-host", GuessCurrentHostURL(ctx))
48+
t.Run("Legacy", func(t *testing.T) {
49+
defer test.MockVariableValue(&setting.PublicURLDetection, setting.PublicURLLegacy)()
50+
51+
assert.Equal(t, "http://cfg-host", GuessCurrentHostURL(t.Context()))
52+
53+
// legacy: "Host" is not used when there is no "X-Forwarded-Proto" header
54+
ctx := context.WithValue(t.Context(), RequestContextKey, &http.Request{Host: "req-host:3000"})
55+
assert.Equal(t, "http://cfg-host", GuessCurrentHostURL(ctx))
56+
57+
// if "X-Forwarded-Proto" exists, then use it and "Host" header
58+
ctx = context.WithValue(t.Context(), RequestContextKey, &http.Request{Host: "req-host:3000", Header: headersWithProto})
59+
assert.Equal(t, "https://req-host:3000", GuessCurrentHostURL(ctx))
60+
})
61+
62+
t.Run("Auto", func(t *testing.T) {
63+
defer test.MockVariableValue(&setting.PublicURLDetection, setting.PublicURLAuto)()
5064

51-
ctx = context.WithValue(ctx, RequestContextKey, &http.Request{Host: "localhost:3000"})
52-
assert.Equal(t, "http://cfg-host", GuessCurrentHostURL(ctx))
65+
assert.Equal(t, "http://cfg-host", GuessCurrentHostURL(t.Context()))
5366

54-
defer test.MockVariableValue(&setting.UseHostHeader, true)()
55-
ctx = context.WithValue(ctx, RequestContextKey, &http.Request{Host: "http-host:3000"})
56-
assert.Equal(t, "http://http-host:3000", GuessCurrentHostURL(ctx))
67+
// auto: always use "Host" header, the scheme is determined by "X-Forwarded-Proto" header, or TLS config if no "X-Forwarded-Proto" header
68+
ctx := context.WithValue(t.Context(), RequestContextKey, &http.Request{Host: "req-host:3000"})
69+
assert.Equal(t, "http://req-host:3000", GuessCurrentHostURL(ctx))
5770

58-
ctx = context.WithValue(ctx, RequestContextKey, &http.Request{Host: "http-host", TLS: &tls.ConnectionState{}})
59-
assert.Equal(t, "https://http-host", GuessCurrentHostURL(ctx))
71+
ctx = context.WithValue(t.Context(), RequestContextKey, &http.Request{Host: "req-host", TLS: &tls.ConnectionState{}})
72+
assert.Equal(t, "https://req-host", GuessCurrentHostURL(ctx))
73+
74+
ctx = context.WithValue(t.Context(), RequestContextKey, &http.Request{Host: "req-host:3000", Header: headersWithProto})
75+
assert.Equal(t, "https://req-host:3000", GuessCurrentHostURL(ctx))
76+
})
6077
}
6178

6279
func TestMakeAbsoluteURL(t *testing.T) {

modules/setting/server.go

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,20 @@ const (
4141
LandingPageLogin LandingPage = "/user/login"
4242
)
4343

44+
const (
45+
PublicURLAuto = "auto"
46+
PublicURLLegacy = "legacy"
47+
)
48+
4449
// Server settings
4550
var (
4651
// AppURL is the Application ROOT_URL. It always has a '/' suffix
4752
// It maps to ini:"ROOT_URL"
4853
AppURL string
4954

55+
// PublicURLDetection controls how to use the HTTP request headers to detect public URL
56+
PublicURLDetection string
57+
5058
// AppSubURL represents the sub-url mounting point for gitea, parsed from "ROOT_URL"
5159
// It is either "" or starts with '/' and ends without '/', such as '/{sub-path}'.
5260
// This value is empty if site does not have sub-url.
@@ -56,9 +64,6 @@ var (
5664
// to make it easier to debug sub-path related problems without a reverse proxy.
5765
UseSubURLPath bool
5866

59-
// UseHostHeader makes Gitea prefer to use the "Host" request header for construction of absolute URLs.
60-
UseHostHeader bool
61-
6267
// AppDataPath is the default path for storing data.
6368
// It maps to ini:"APP_DATA_PATH" in [server] and defaults to AppWorkPath + "/data"
6469
AppDataPath string
@@ -283,10 +288,10 @@ func loadServerFrom(rootCfg ConfigProvider) {
283288
PerWritePerKbTimeout = sec.Key("PER_WRITE_PER_KB_TIMEOUT").MustDuration(PerWritePerKbTimeout)
284289

285290
defaultAppURL := string(Protocol) + "://" + Domain + ":" + HTTPPort
286-
AppURL = sec.Key("ROOT_URL").String()
287-
if AppURL == "" {
288-
UseHostHeader = true
289-
AppURL = defaultAppURL
291+
AppURL = sec.Key("ROOT_URL").MustString(defaultAppURL)
292+
PublicURLDetection = sec.Key("PUBLIC_URL_DETECTION").MustString(PublicURLLegacy)
293+
if PublicURLDetection != PublicURLAuto && PublicURLDetection != PublicURLLegacy {
294+
log.Fatal("Invalid PUBLIC_URL_DETECTION value: %s", PublicURLDetection)
290295
}
291296

292297
// Check validity of AppURL

options/locale/locale_cs-CZ.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1652,7 +1652,6 @@ issues.pin_comment=připnuto %s
16521652
issues.unpin_comment=odepnul/a tento %s
16531653
issues.lock=Uzamknout konverzaci
16541654
issues.unlock=Odemknout konverzaci
1655-
issues.lock.unknown_reason=Úkol nelze z neznámého důvodu uzamknout.
16561655
issues.lock_duplicate=Úkol nemůže být uzamčený dvakrát.
16571656
issues.unlock_error=Nelze odemknout úkol, který je uzamčený.
16581657
issues.lock_with_reason=uzamkl/a jako <strong>%s</strong> a omezil/a konverzaci na spolupracovníky %s

options/locale/locale_de-DE.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1653,7 +1653,6 @@ issues.pin_comment=hat das %s angeheftet
16531653
issues.unpin_comment=hat das %s abgeheftet
16541654
issues.lock=Diskussion sperren
16551655
issues.unlock=Diskussion entsperren
1656-
issues.lock.unknown_reason=Es ist nicht möglich, einen Issue mit unbekanntem Grund zu sperren.
16571656
issues.lock_duplicate=Eine Diskussion kann nicht mehrfach gesperrt werden.
16581657
issues.unlock_error=Es ist nicht möglich, einen nicht gesperrten Issue zu entsperren.
16591658
issues.lock_with_reason=gesperrt als <strong>%s</strong> und Diskussion auf Mitarbeiter beschränkt %s

options/locale/locale_el-GR.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1497,7 +1497,6 @@ issues.pin_comment=διατήρησε αυτό %s
14971497
issues.unpin_comment=άφησε αυτό %s
14981498
issues.lock=Κλείδωμα συνομιλίας
14991499
issues.unlock=Ξεκλείδωμα συνομιλίας
1500-
issues.lock.unknown_reason=Αδυναμία κλειδώματος ενός ζητήματος με άγνωστο λόγο.
15011500
issues.lock_duplicate=Ένα ζήτημα δεν μπορεί να κλειδωθεί δύο φορές.
15021501
issues.unlock_error=Δεν είναι δυνατό να ξεκλειδώσετε ένα ζήτημα που δεν είναι κλειδωμένο.
15031502
issues.lock_with_reason=κλειδωμένο ως <strong>%s</strong> και περιορισμένη συνομιλία με συνεργάτες %s

options/locale/locale_es-ES.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1487,7 +1487,6 @@ issues.pin_comment=anclado este %s
14871487
issues.unpin_comment=desanclado este %s
14881488
issues.lock=Bloquear conversación
14891489
issues.unlock=Desbloquear conversación
1490-
issues.lock.unknown_reason=No se puede bloquear una incidencia con una razón desconocida.
14911490
issues.lock_duplicate=Una incidencia no puede ser bloqueada dos veces.
14921491
issues.unlock_error=No puede desbloquear una incidencia que no esta bloqueada.
14931492
issues.lock_with_reason=bloqueado como <strong>%s</strong> y conversación limitada a colaboradores %s

options/locale/locale_fa-IR.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,6 @@ issues.subscribe=مشترک شدن
11461146
issues.unsubscribe=لغو اشتراک
11471147
issues.lock=قفل کردن مکالمه
11481148
issues.unlock=بازکردن مکالمه
1149-
issues.lock.unknown_reason=نمیتوانید این موضوع را بدون دلیل ببندید.
11501149
issues.lock_duplicate=یک مسئله دومرتبه نمی‎تواند بسته شود.
11511150
issues.unlock_error=این مسئله نمی‎تواند باز شود لذا قفل نشده بود.
11521151
issues.lock_with_reason=قفل شده با عنوان <strong>%s</strong> و مکالمه همکاران %s محدود شده است

options/locale/locale_fr-FR.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1680,7 +1680,6 @@ issues.pin_comment=a épinglé ça %s.
16801680
issues.unpin_comment=a désépinglé ça %s.
16811681
issues.lock=Verrouiller la conversation
16821682
issues.unlock=Déverrouiller la conversation
1683-
issues.lock.unknown_reason=Impossible de verrouiller un ticket avec une raison inconnue.
16841683
issues.lock_duplicate=Un ticket ne peut pas être verrouillé à deux reprises.
16851684
issues.unlock_error=Impossible de déverrouiller un ticket qui n'est pas verrouillé.
16861685
issues.lock_with_reason=a verrouillé en tant que <strong>%s</strong> et limité la conversation aux collaborateurs %s

options/locale/locale_ga-IE.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1674,7 +1674,6 @@ issues.pin_comment=phionnáil an %s seo
16741674
issues.unpin_comment=bain pionna an %s seo
16751675
issues.lock=Cuir glas ar an gcomhrá
16761676
issues.unlock=Díghlasáil comhrá
1677-
issues.lock.unknown_reason=Ní féidir fadhb a ghlasáil le cúis anaithnid.
16781677
issues.lock_duplicate=Ní féidir saincheist a ghlasáil faoi dhó.
16791678
issues.unlock_error=Ní féidir saincheist nach bhfuil glasáilte a dhíghlasáil.
16801679
issues.lock_with_reason=curtha ar ceal mar <strong>%s</strong> agus comhrá teoranta do chomhoibrithe %s

options/locale/locale_hu-HU.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,6 @@ issues.subscribe=Feliratkozás
844844
issues.unsubscribe=Leiratkozás
845845
issues.lock=Beszélgetés lezárása
846846
issues.unlock=Beszélgetés feloldása
847-
issues.lock.unknown_reason=Egy hibajegy nem zárolható ismeretlen okból.
848847
issues.lock_duplicate=Egy hibajegy nem zárható be kétszer.
849848
issues.unlock_error=Nem nyithatsz meg egy hibajegyet ami nincs is lezárva.
850849
issues.lock_confirm=Lezárás

options/locale/locale_it-IT.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1236,7 +1236,6 @@ issues.subscribe=Iscriviti
12361236
issues.unsubscribe=Annulla iscrizione
12371237
issues.lock=Blocca conversazione
12381238
issues.unlock=Sblocca conversazione
1239-
issues.lock.unknown_reason=Impossibile bloccare un problema con un motivo sconosciuto.
12401239
issues.lock_duplicate=Un issue non può essere bloccato due volte.
12411240
issues.unlock_error=Impossibile sbloccare un problema che non è bloccato.
12421241
issues.lock_with_reason=ha bloccato come <strong>%s</strong> e limitato la conversazione ai collaboratori %s

options/locale/locale_ja-JP.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1680,7 +1680,6 @@ issues.pin_comment=がピン留め %s
16801680
issues.unpin_comment=がピン留めを解除 %s
16811681
issues.lock=会話をロック
16821682
issues.unlock=会話をアンロック
1683-
issues.lock.unknown_reason=未定義の理由ではイシューをロックできません。
16841683
issues.lock_duplicate=イシューは二重にロックできません。
16851684
issues.unlock_error=ロックされていないイシューをアンロックできません。
16861685
issues.lock_with_reason=が<strong>%s</strong>のためロックし会話を共同作業者に限定 %s

options/locale/locale_lv-LV.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1503,7 +1503,6 @@ issues.pin_comment=piesprauda šo %s
15031503
issues.unpin_comment=atsprauda šo %s
15041504
issues.lock=Slēgt komentēšanu
15051505
issues.unlock=Atļaut komentēšanu
1506-
issues.lock.unknown_reason=Neizdevās slēgt problēmas komentēšanu.
15071506
issues.lock_duplicate=Problēmas komentēšanu nevar slēgt vairākas reizes.
15081507
issues.unlock_error=Nevar atļaut komentēšanu, ja problēmai tā nav slēgta.
15091508
issues.lock_with_reason=slēdza ar iemeslu <strong>%s</strong> un ierobežoja komentāru pievienošanu tikai līdzstrādniekiem %s

options/locale/locale_nl-NL.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1233,7 +1233,6 @@ issues.subscribe=Abonneren
12331233
issues.unsubscribe=Uitschrijven
12341234
issues.lock=Gesprek vergrendelen
12351235
issues.unlock=Gesprek ontgrendelen
1236-
issues.lock.unknown_reason=Kan een probleem niet vergrendelen met een onbekende reden.
12371236
issues.lock_duplicate=Een issue kan niet twee keer vergrendeld worden.
12381237
issues.unlock_error=Kan een niet vergrendeld issue niet ontgrendelen.
12391238
issues.lock_with_reason=vergrendeld als <strong>%s</strong> en beperkt gesprek tot medewerkers %s

options/locale/locale_pl-PL.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1135,7 +1135,6 @@ issues.subscribe=Subskrybuj
11351135
issues.unsubscribe=Anuluj subskrypcję
11361136
issues.lock=Zablokuj konwersację
11371137
issues.unlock=Odblokuj konwersację
1138-
issues.lock.unknown_reason=Nie można zablokować zagadnienia bez żadnego powodu.
11391138
issues.lock_duplicate=Zagadnienie nie może być zablokowane ponownie.
11401139
issues.unlock_error=Nie można odblokować zagadnienia, które nie jest zablokowane.
11411140
issues.lock_with_reason=zablokowano jako <strong>%s</strong> i ograniczono konwersację do współtwórców %s

options/locale/locale_pt-BR.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1496,7 +1496,6 @@ issues.pin_comment=fixou isto %s
14961496
issues.unpin_comment=desafixou isto %s
14971497
issues.lock=Bloquear conversação
14981498
issues.unlock=Desbloquear conversação
1499-
issues.lock.unknown_reason=Não pode-se bloquear uma issue com um motivo desconhecido.
15001499
issues.lock_duplicate=Uma issue não pode ser bloqueada duas vezes.
15011500
issues.unlock_error=Não pode-se desbloquear uma issue que não esteja bloqueada.
15021501
issues.lock_with_reason=bloqueada como <strong>%s</strong> e conversação limitada para colaboradores %s

options/locale/locale_pt-PT.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1680,7 +1680,6 @@ issues.pin_comment=fixou isto %s
16801680
issues.unpin_comment=desafixou isto %s
16811681
issues.lock=Bloquear diálogo
16821682
issues.unlock=Desbloquear diálogo
1683-
issues.lock.unknown_reason=Não é possível bloquear uma questão com um motivo desconhecido.
16841683
issues.lock_duplicate=Uma questão não pode ser bloqueada duas vezes.
16851684
issues.unlock_error=Não é possível desbloquear uma questão que não está bloqueada.
16861685
issues.lock_with_reason=bloqueou o diálogo como sendo <strong>%s</strong> e restringiu-o aos colaboradores %s

options/locale/locale_ru-RU.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1474,7 +1474,6 @@ issues.pin_comment=закрепил(а) эту задачу %s
14741474
issues.unpin_comment=открепил(а) эту задачу %s
14751475
issues.lock=Ограничить обсуждение
14761476
issues.unlock=Снять ограничение
1477-
issues.lock.unknown_reason=Для ограничения обсуждения необходимо указать причину.
14781477
issues.lock_duplicate=Обсуждение задачи уже ограничено.
14791478
issues.unlock_error=Невозможно снять несуществующее ограничение обсуждения.
14801479
issues.lock_with_reason=заблокировано как <strong>%s</strong> и ограничено обсуждение для соучастников %s

options/locale/locale_si-LK.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,6 @@ issues.subscribe=දායක වන්න
11111111
issues.unsubscribe=දායක වන්න
11121112
issues.lock=ලොක් සංවාදය
11131113
issues.unlock=සංවාදය අගුළු ඇරීමට
1114-
issues.lock.unknown_reason=නොදන්නා හේතුවක් සමඟ ගැටළුවක් අගුලු දැමිය නොහැක.
11151114
issues.lock_duplicate=ප්රශ්නයක් දෙවරක් අගුලු දැමිය නොහැක.
11161115
issues.unlock_error=අගුලු දමා නැති බව ප්රශ්නයක් අන්ලොක් කරන්න බැහැ.
11171116
issues.lock_with_reason=<strong>%s</strong> ලෙස අගුළු දමා ඇති අතර සහයෝගීතාකරුවන්ට සීමිත සංවාදයක් %s

options/locale/locale_sv-SE.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,6 @@ issues.subscribe=Prenumerera
955955
issues.unsubscribe=Avsluta prenumerationen
956956
issues.lock=Lås konversation
957957
issues.unlock=Lås upp konversation
958-
issues.lock.unknown_reason=Kan inte låsa ärende utan angiven anledning.
959958
issues.lock_duplicate=Ett ärende kan inte låsas två gånger.
960959
issues.unlock_error=Kan inte låsa upp ett olåst ärende.
961960
issues.lock_with_reason=låst som <strong>%s</strong> och begränsad konversation till medarbetare %s

options/locale/locale_tr-TR.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1607,7 +1607,6 @@ issues.pin_comment=%s sabitlendi
16071607
issues.unpin_comment=%s sabitlenmesi kaldırıldı
16081608
issues.lock=Konuşmayı kilitle
16091609
issues.unlock=Konuşmanın kilidini aç
1610-
issues.lock.unknown_reason=Sebep belirtmeden konuyu kilitleyemezsiniz.
16111610
issues.lock_duplicate=Bir konu iki kez kilitlenemez.
16121611
issues.unlock_error=Kilitlenmemiş bir konunun kilidini açamazsınız.
16131612
issues.lock_with_reason=<strong>%s</strong> olarak kilitlendi ve katkıcılar için sınırlandırıldı %s

options/locale/locale_uk-UA.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1158,7 +1158,6 @@ issues.subscribe=Підписатися
11581158
issues.unsubscribe=Відписатися
11591159
issues.lock=Блокування обговорення
11601160
issues.unlock=Розблокування обговорення
1161-
issues.lock.unknown_reason=Неможливо заблокувати задачу з невідомою причиною.
11621161
issues.lock_duplicate=Задача не може бути заблокованим двічі.
11631162
issues.unlock_error=Не можливо розблокувати задачу, яка не заблокована.
11641163
issues.lock_with_reason=заблоковано як <strong>%s</strong> та обмежене обговорення для співавторів %s

0 commit comments

Comments
 (0)