Skip to content

Commit 9a4523c

Browse files
committed
Small translation adjustments and labelling
1 parent 008d61e commit 9a4523c

File tree

1 file changed

+50
-4
lines changed

1 file changed

+50
-4
lines changed

check_postgres.pl

Lines changed: 50 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ package check_postgres;
3535
binmode STDOUT, ':encoding(UTF-8)';
3636

3737
our $VERSION = '2.25.0';
38+
our $COMMA = ',';
3839

3940
use vars qw/ %opt $PGBINDIR $PSQL $res $COM $SQL $db /;
4041

@@ -89,6 +90,7 @@ package check_postgres;
8990
## Items without a leading tab still need translating
9091
## no critic (RequireInterpolationOfMetachars)
9192
our %msg = (
93+
## English
9294
'en' => {
9395
'address' => q{address},
9496
'age' => q{age},
@@ -350,6 +352,8 @@ package check_postgres;
350352
'wal-numfound' => q{WAL files found: $1},
351353
'wal-numfound2' => q{WAL "$2" files found: $1},
352354
},
355+
356+
## Spanish
353357
'es' => {
354358
'address' => q{dirección},
355359
'age' => q{edad},
@@ -609,6 +613,8 @@ package check_postgres;
609613
'wal-numfound' => q{Archivos WAL encontrados: $1},
610614
'wal-numfound2' => q{Archivos WAL "$2" encontrados: $1},
611615
},
616+
617+
## French
612618
'fr' => {
613619
'address' => q{adresse},
614620
'age' => q{âge},
@@ -869,11 +875,13 @@ package check_postgres;
869875
'wal-numfound' => q{Fichiers WAL trouvés : $1},
870876
'wal-numfound2' => q{Fichiers WAL "$2" trouvés : $1},
871877
},
872-
'af' => {
873-
},
878+
879+
## Czech
874880
'cs' => {
875881
'checkpoint-po' => q{�as posledn�ho kontroln�ho bodu:},
876882
},
883+
884+
## German
877885
'de' => {
878886
'address' => q{Adresse},
879887
'age' => q{Alter},
@@ -1134,69 +1142,107 @@ package check_postgres;
11341142
'wal-numfound' => q{WAL-Dateien gefunden: $1},
11351143
'wal-numfound2' => q{WAL "$2" Dateien gefunden: $1},
11361144
},
1145+
1146+
## Persian
11371147
'fa' => {
11381148
'checkpoint-po' => q{زمان آخرین وارسی:},
11391149
},
1150+
1151+
## Croation
11401152
'hr' => {
11411153
'backends-po' => q{nažalost, već je otvoreno previše klijentskih veza},
11421154
},
1155+
1156+
## Hungarian
11431157
'hu' => {
11441158
'checkpoint-po' => q{A legut�bbi ellen�rz�pont ideje:},
11451159
},
1160+
1161+
## Italian
11461162
'it' => {
11471163
'checkpoint-po' => q{Orario ultimo checkpoint:},
11481164
},
1165+
1166+
## Japanese
11491167
'ja' => {
11501168
'backends-po' => q{現在クライアント数が多すぎます},
11511169
'checkpoint-po' => q{最終チェックポイント時刻:},
11521170
},
1171+
1172+
## Korean
11531173
'ko' => {
11541174
'backends-po' => q{최대 동시 접속자 수를 초과했습니다.},
11551175
'checkpoint-po' => q{������ üũ����Ʈ �ð�:},
11561176
},
1177+
1178+
## Norwegian bokmål
11571179
'nb' => {
11581180
'backends-po' => q{beklager, for mange klienter},
11591181
'checkpoint-po' => q{Tidspunkt for nyeste kontrollpunkt:},
11601182
},
1183+
1184+
## Dutch
11611185
'nl' => {
11621186
},
1187+
1188+
## Polish
11631189
'pl' => {
11641190
'checkpoint-po' => q{Czas najnowszego punktu kontrolnego:},
11651191
},
1192+
1193+
## Portuguese
11661194
'pt_BR' => {
11671195
'backends-po' => q{desculpe, muitos clientes conectados},
11681196
'checkpoint-po' => q{Hora do último ponto de controle:},
11691197
},
1198+
1199+
## Romanian
11701200
'ro' => {
11711201
'checkpoint-po' => q{Timpul ultimului punct de control:},
11721202
},
1203+
1204+
## Russian
11731205
'ru' => {
11741206
'backends-po' => q{��������, ��� ������� ����� ��������},
11751207
'checkpoint-po' => q{����� ��������� checkpoint:},
11761208
},
1209+
1210+
## Slovak
11771211
'sk' => {
11781212
'backends-po' => q{je mi ��to, je u� pr�li� ve�a klientov},
11791213
'checkpoint-po' => q{Čas posledného kontrolného bodu:},
11801214
},
1215+
1216+
## Slovenian
11811217
'sl' => {
11821218
'backends-po' => q{povezanih je �e preve� odjemalcev},
11831219
'checkpoint-po' => q{�as zadnje kontrolne to�ke ............},
11841220
},
1221+
1222+
## Swedish
11851223
'sv' => {
11861224
'backends-po' => q{ledsen, f�r m�nga klienter},
11871225
'checkpoint-po' => q{Tidpunkt f�r senaste kontrollpunkt:},
11881226
},
1227+
1228+
## Tamil
11891229
'ta' => {
11901230
'checkpoint-po' => q{நவீன சோதனை மையத்தின் நேரம்:},
11911231
},
1232+
1233+
## Turkish
11921234
'tr' => {
11931235
'backends-po' => q{üzgünüm, istemci sayısı çok fazla},
11941236
'checkpoint-po' => q{En son checkpoint'in zamanı:},
11951237
},
1238+
1239+
## Chinese (simplified)
11961240
'zh_CN' => {
11971241
'backends-po' => q{�Բ���, �Ѿ���̫���Ŀͻ�},
11981242
'checkpoint-po' => q{���¼�������ʱ��:},
11991243
},
1244+
1245+
## Chinese (traditional)
12001246
'zh_TW' => {
12011247
'backends-po' => q{對不起,用戶端過多},
12021248
'checkpoint-po' => q{最新的檢查點時間:},
@@ -7260,7 +7306,7 @@ sub check_same_schema {
72607306
}
72617307
}
72627308
if (keys %badlist) {
7263-
ndie msg('ss-badobject', join ',' => sort keys %badlist);
7309+
ndie msg('ss-badobject', join $COMMA => sort keys %badlist);
72647310
}
72657311

72667312
## Shrink the original list to remove excluded items
@@ -7279,7 +7325,7 @@ sub check_same_schema {
72797325
}
72807326
}
72817327
if (keys %badlist) {
7282-
ndie msg('ss-badobject', join ',' => sort keys %badlist);
7328+
ndie msg('ss-badobject', join $COMMA => sort keys %badlist);
72837329
}
72847330

72857331
## Shrink the original list to only have the requested items

0 commit comments

Comments
 (0)