aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Schneiderbauer <daviian@users.noreply.github.com>2019-05-18 15:40:05 +0200
committerzeripath <art27@cantab.net>2019-05-18 14:40:05 +0100
commit8de76b6e646e91c41143242dc0a8d3ae05b35023 (patch)
treebf194cb670c5ad2d8faa69452d2329bbaf46812c
parentc385dcc26b0da7fc1c245a1da316551cb6585ad3 (diff)
downloadgitea-8de76b6e646e91c41143242dc0a8d3ae05b35023.tar.gz
gitea-8de76b6e646e91c41143242dc0a8d3ae05b35023.zip
fix u2f registrationlist ToRegistrations() method (#6980)
-rw-r--r--models/u2f.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/u2f.go b/models/u2f.go
index 200d417fcc..1224b4a5fb 100644
--- a/models/u2f.go
+++ b/models/u2f.go
@@ -48,7 +48,7 @@ type U2FRegistrationList []*U2FRegistration
// ToRegistrations will convert all U2FRegistrations to u2f.Registrations
func (list U2FRegistrationList) ToRegistrations() []u2f.Registration {
- regs := make([]u2f.Registration, len(list))
+ regs := make([]u2f.Registration, 0, len(list))
for _, reg := range list {
r, err := reg.Parse()
if err != nil {
igning-crl Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
summaryrefslogtreecommitdiffstats
path: root/core/l10n/pa.js
blob: b1984b3b6d0c41e2025b22245000e87baf7533ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
OC.L10N.register(
    "core",
    {
    "Sunday" : "ਐਤਵਾਰ",
    "Monday" : "ਸੋਮਵਾਰ",
    "Tuesday" : "ਮੰਗਲਵਾਰ",
    "Wednesday" : "ਬੁੱਧਵਾਰ",
    "Thursday" : "ਵੀਰਵਾਰ",
    "Friday" : "ਸ਼ੁੱਕਰਵਾਰ",
    "Saturday" : "ਸ਼ਨਿੱਚਰਵਾਰ",
    "January" : "ਜਨਵਰੀ",
    "February" : "ਫਰਵਰੀ",
    "March" : "ਮਾਰਚ",
    "April" : "ਅਪਰੈ",
    "May" : "ਮਈ",
    "June" : "ਜੂਨ",
    "July" : "ਜੁਲਾਈ",
    "August" : "ਅਗਸਤ",
    "September" : "ਸਤੰਬ",
    "October" : "ਅਕਤੂਬਰ",
    "November" : "ਨਵੰਬ",
    "December" : "ਦਸੰਬਰ",
    "Settings" : "ਸੈਟਿੰਗ",
    "Saving..." : "...ਸੰਭਾਲਿਆ ਜਾ ਰਿਹਾ ਹੈ",
    "No" : "ਨਹੀਂ",
    "Yes" : "ਹਾਂ",
    "Choose" : "ਚੁਣੋ",
    "Ok" : "ਠੀਕ ਹੈ",
    "_{count} file conflict_::_{count} file conflicts_" : ["",""],
    "Cancel" : "ਰੱਦ ਕਰੋ",
    "Share" : "ਸਾਂਝਾ ਕਰੋ",
    "Error" : "ਗਲ",
    "Password" : "ਪਾਸਵਰ",
    "Send" : "ਭੇਜੋ",
    "Warning" : "ਚੇਤਾਵਨੀ",
    "Delete" : "ਹਟਾਓ",
    "_download %n file_::_download %n files_" : ["",""],
    "_{count} search result in other places_::_{count} search results in other places_" : ["",""],
    "Security Warning" : "ਸੁਰੱਖਿਆ ਚੇਤਾਵਨੀ",
    "Username" : "ਯੂਜ਼ਰ-ਨਾਂ",
    "Search" : "ਖੋਜ"
},
"nplurals=2; plural=(n != 1);");