-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLang.js
More file actions
58 lines (55 loc) · 1.46 KB
/
Lang.js
File metadata and controls
58 lines (55 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
var mLang;
function loadLang(){
mLang = {};
var l =com.wmods.utils.LangUtils.getLang();
if(l.equals("pt"))
mLang = {
LANG:"pt",
JSMOD:["Gerador Play Store","Gerador Google Drive","Gerador Mega","Gerador 4shared","Gerador Userscloud","Gerador dailyuploads","Gerador Upfile"],
GN:"Geradores",
VS:"Ver Codigo Fonte",
GL:"Gerando link...",
GS:"Gerado com sucesso!",
GE:"Erro ao gerar Link",
JSUP:"JSMOD Atualizado!",
LIST_R:"Removido!",
NO_SCRIPT:"Sem Scripts",
ADD:"Adicionar",
F_EMPTY:"O campo está vazio",
NAME_E:"O nome já existe!",
NAME:"Nome",
CODE:"Codigo",
ADDED:"Adicionado script",
EXIT_ALL:"SAIR (FORÇADO)",
OPEN_WITH:"Abrir Como",
NEW_UPDATE:"Nova Versão disponivel no UC Forum! http://forum.ucweb.com"
};
else
mLang = {
LANG:"en",
JSMOD:["Generator Play Store","Generator Google Drive","Generator Mega","Generator 4Shared","Generator Userscloud","Generator dailyuploads","Generator Upfile"],
GN:"Generators",
VS:"View Source",
GL:"Generating Link...",
GS:"successfully generated",
GE:"Error generating Link",
JSUP:"JSMOD Updated!",
LIST_R:"Removed!",
NO_SCRIPT:"No Scripts",
ADD:"Add",
F_EMPTY:"Field is Empty",
NAME_E:"The name already exists!",
NAME:"Name",
CODE:"Code",
ADDED:"Added script",
EXIT_ALL:"EXIT (FORCE)",
OPEN_WITH:"Open with",
NEW_UPDATE:"New update available in UC Forum! http://forum.ucweb.com"
};
}
function getLangString(key){
if(!mLang)
loadLang();
var s = mLang[key];
return (s ? s : "Lang: "+key);
}