FartNebuleuse

lang

Jun 23rd, 2021 (edited)
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.02 KB | None | 0 0
  1. local lang = {}
  2. function language(lang_use)
  3. if lang_use == "EN_lang" then
  4. lang = {
  5. color_on = "Close color menu.",
  6. color_off = "Open color menu.",
  7. visualizer_on = "Show visualizer: On",
  8. visualizer_off = "Show visualizer: Off",
  9. cursor_on = "Show cursor: On",
  10. cursor_off = "Show cursor: Off",
  11. load = "Loading",
  12. new_update = "An update is available. Go check https://pastebin.com/sEvNPKaZ to download it! ver. ",
  13. no_update = "No update available.",
  14. load_error = "Cannot load for the moment. retrying...",
  15. accept_perm = "Press Use to accept permission.",
  16. perm_description = "Accept permisison to see the screen."
  17. }
  18. end
  19. if lang_use == "FR_lang" then
  20. lang = {
  21. color_on = "Fermer le menu des couleurs.",
  22. color_off = "Ouvrir le menu des couleurs.",
  23. visualizer_on = "Afficher le visualiseur: Active",
  24. visualizer_off = "Afficher le visualiseur: Desactive",
  25. cursor_on = "Afficher le curseur: Active",
  26. cursor_off = "Afficher le curseur: Desactive",
  27. load = "Chargement",
  28. new_update = "Une mise a jour est disponible. Allez voir https://pastebin.com/sEvNPKaZ pour le telecharger! ver. ",
  29. no_update = "Pas de mise a jour disponible.",
  30. load_error = "Impossible de charger pour le moment. nouvelle tentative ...",
  31. accept_perm = "Appuyez sur Utiliser pour accepter les permissions.",
  32. perm_description = "Acceptez la permission de voir l'ecran."
  33. }
  34. end
  35. if lang_use == "KO_lang" then
  36. lang = {
  37. color_on = http.base64Decode("7IOJ7IOBIOuplOuJtOulvCDri6vsirXri4jri6Qu"),
  38. color_off = http.base64Decode("7IOJ7IOBIOuplOuJtOulvCDsl73ri4gg64ukLg=="),
  39. visualizer_on = http.base64Decode("67ew7Ja0IO2RnOyLnCA67Jyg7Zqo7ZWc"),
  40. visualizer_off = http.base64Decode("67ew7Ja0IO2RnOyLnCA667mE7Zmc7ISx7ZmUIOuQqA=="),
  41. cursor_on = http.base64Decode("7Luk7IScIO2RnOyLnDog7Zmc7ISx"),
  42. cursor_off = http.base64Decode("7Luk7IScIO2RnOyLnDog67mE7Zmc7ISx7ZmU65Co"),
  43. load = http.base64Decode("66Gc65SpIOykkQ=="),
  44. new_update = http.base64Decode("7JeF642w7J207Yq46rCAIOyeiOyKteuLiOuLpC4g64uk7Jq066Gc65Oc7ZWY66Ck66m0IGh0dHBzOi8vcGFzdGViaW4uY29tL3NFdk5QS2Fa7J2EIOywuOyhsO2VmOyLreyLnOyYpCEg67KM66CILg=="),
  45. no_update = http.base64Decode("7IKs7JqpIOqwgOuKpe2VnCDsl4XrjbDsnbTtirjqsIAg7JeG7Iq164uI64ukLg=="),
  46. load_error = http.base64Decode("7KeA6riI7J2A66Gc65OcIO2VoCDsiJgg7JeG7Iq164uI64ukLiDsg4jroZzsmrQg7Iuc64+EIC4uLg==ICAgICAgICAgICAg"),
  47. accept_perm = http.base64Decode("7IKs7Jqp7J2EIO2Dre2VmOyXrCDqtoztlZzsnYQg7IiY65297ZWp64uI64ukLg=="),
  48. perm_description = http.base64Decode("7ZmU66m07J2EIOuztOugpOuptCDqtoztlZzsnYQg7IiY65297ZWY7Iut7Iuc7JikLg==")
  49. }
  50. end
  51.  
  52. return lang
  53. end
  54.  
  55. return language
Add Comment
Please, Sign In to add comment