File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -84,16 +84,6 @@ export class BracketsViewer {
8484 if ( result2 && match . opponent2 ?. score ) result2 . innerHTML = match . opponent2 ?. score ?. toString ( ) ;
8585 }
8686
87- /**
88- * Adds a locale to the available i18n bundles.
89- *
90- * @param name Name of the locale.
91- * @param locale Contents of the locale.
92- */
93- public addLocale ( name : string , locale : Locale ) : void {
94- lang . addLocale ( name , locale ) ;
95- }
96-
9787 /**
9888 * Sets the images which will be rendered for every participant.
9989 *
@@ -103,6 +93,16 @@ export class BracketsViewer {
10393 this . participantImages = images ;
10494 }
10595
96+ /**
97+ * Adds a locale to the available i18n bundles.
98+ *
99+ * @param name Name of the locale.
100+ * @param locale Contents of the locale.
101+ */
102+ public addLocale ( name : string , locale : Locale ) : void {
103+ lang . addLocale ( name , locale ) ;
104+ }
105+
106106 /**
107107 * Renders a stage (round-robin, single or double elimination).
108108 *
You can’t perform that action at this time.
0 commit comments