Commit 6471407 1 parent 84d6127 commit 6471407 Copy full SHA for 6471407
File tree 1 file changed +10
-1
lines changed
1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -447,7 +447,16 @@ export class TradukDialog extends Dialog {
447
447
// foje kodo ankoraŭ konsistas el lingvo-Lando, tiujn ni ignoras
448
448
// KOREKTU: tio korektiĝu en preferoj...
449
449
if ( lng . indexOf ( '-' ) < 0 ) {
450
- const nomo = lingvo_listo . codes [ lng ] ;
450
+ let nomo = lingvo_listo . codes [ lng ] ;
451
+ if ( ! nomo ) {
452
+ // FIXME: iam ŝajnas ke lingvo_listo.codes ne estas ŝargita
453
+ // aparte post kiam la seanco longe dormis
454
+ // do verŝajne pro forvelko de la servila seanco
455
+ // sed ni devas ankoraŭ eltrovi kiel solvi ĝin ĝuste
456
+ // provizore ni tiel elturniĝas:
457
+ console . warn ( "Ne troviĝis nomo de lingvo: " + lng ) ;
458
+ nomo = `(${ lng } )`
459
+ }
451
460
const lng_html = `<li id="${ pref_prefix } _${ lng } ">${ nomo } </li>` ;
452
461
trd_aliaj ?. insertAdjacentHTML ( "beforebegin" , lng_html ) ;
453
462
}
You can’t perform that action at this time.
0 commit comments