loader.tcl 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. ################################################################################
  2. #
  3. #EN : This is the file that loads the language for the script
  4. #
  5. #RO :Acesta este fisierul ce incarca limbajul pentru BlacKTools
  6. #
  7. ################################################################################
  8. #Here you can specify the languages that are in the /lang folder. You can add
  9. #as many languages as you want using the standard below.
  10. set black(language_load) {
  11. "BlackTools.ro.lang.tcl"
  12. "BlackTools.en.lang.tcl"
  13. }
  14. ################################################################################
  15. #
  16. # DO NOT MODIFY HERE
  17. #
  18. ################################################################################
  19. foreach language $black(language_load) {
  20. set black(lang_error_$language) [catch {source $black(dirname)/lang/$language} black(lang_error_stats_$language)]
  21. if {$black(lang_error_$language) == "1"} {
  22. putlog "4BlackTools :I didnt find the 12$language file in 12lang folder, so you can`t use this language.Please Load it in the lang folder."
  23. }
  24. }