MediaWiki:Gadget-translation-editor.js: Różnice pomiędzy wersjami

Usunięta treść Dodana treść
wiecej aliasow
ignoruj nadmiarowe przecinki w glownym polu do wprowadzania tlumaczen
Linia 803:
arr = [];
terms.forEachfilter( function ( term, j ) {
return term !== '';
} ).forEach( function ( term, j ) {
var base, template;
 
if ( /[\[\]\(\)\{\}<>\/]/.test( term ) ) {
base = term;
} else {
base = '[' + '[' + term.trim() + ']]';
}
if ( tmpls && tmpls[ j ] ) {
template = '{' + '{' + tmpls[ j ].trim() + '}}';
}
Linia 822 ⟶ 824:
arr.push( {
base: base,
template: template
} );