mirror of
https://github.com/gnosygnu/xowa.git
synced 2026-03-02 03:49:30 +00:00
v2.11.3.1
This commit is contained in:
@@ -16,7 +16,7 @@ You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package gplx.xowa.xtns.translates; import gplx.*; import gplx.xowa.*; import gplx.xowa.xtns.*;
|
||||
import gplx.core.primitives.*;
|
||||
import gplx.core.primitives.*; import gplx.core.brys.fmtrs.*;
|
||||
import gplx.xowa.wikis.nss.*;
|
||||
import gplx.xowa.htmls.core.htmls.*; import gplx.xowa.htmls.hrefs.*; import gplx.xowa.langs.*; import gplx.xowa.wikis.data.tbls.*;
|
||||
import gplx.xowa.parsers.*; import gplx.xowa.parsers.xndes.*;
|
||||
@@ -101,14 +101,14 @@ public class Xop_languages_xnde implements Xox_xnde {
|
||||
;
|
||||
// "<img src=\"//bits.wikimedia.org/static-1.22wmf9/extensions/Translate/res/images/prog-1.png\" alt=\"~{img_alt}\" title=\"~{img_title}\" width=\"9\" height=\"9\" /> • "
|
||||
}
|
||||
class Xop_languages_fmtr implements Bry_fmtr_arg {
|
||||
class Xop_languages_fmtr extends gplx.core.brys.Bfr_arg_base {
|
||||
public void Init(List_adp langs, Xowe_wiki wiki, Xoa_ttl root_ttl, byte[] cur_lang) {
|
||||
this.langs = langs;
|
||||
this.wiki = wiki;
|
||||
this.root_ttl = root_ttl;
|
||||
this.cur_lang = cur_lang;
|
||||
} private List_adp langs; private Xowe_wiki wiki; private Xoa_ttl root_ttl; private byte[] cur_lang;
|
||||
public void Fmt__do(Bry_bfr bfr) {
|
||||
@Override public void Bfr_arg__add(Bry_bfr bfr) {
|
||||
int len = langs.Count();
|
||||
Xoh_href_wtr href_wtr = wiki.Appe().Html__href_wtr();
|
||||
int ns_id = root_ttl.Ns().Id();
|
||||
|
||||
Reference in New Issue
Block a user