ScriptLocalization.cs 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. using UnityEngine;
  2. namespace I2.Loc
  3. {
  4. public static class ScriptLocalization
  5. {
  6. public static class logsystem
  7. {
  8. public static string Note { get{ return LocalizationManager.GetTranslation ("logsystem/Note"); } }
  9. public static string operationstep { get{ return LocalizationManager.GetTranslation ("logsystem/operationstep"); } }
  10. public static string operationlog { get{ return LocalizationManager.GetTranslation ("logsystem/operationlog"); } }
  11. }
  12. public static class operatepanel
  13. {
  14. public static string coursetitle { get{ return LocalizationManager.GetTranslation ("operatepanel/coursetitle"); } }
  15. public static string currentsteptitle { get{ return LocalizationManager.GetTranslation ("operatepanel/currentsteptitle"); } }
  16. }
  17. public static class tips
  18. {
  19. public static string startexam { get{ return LocalizationManager.GetTranslation ("tips/startexam"); } }
  20. public static string startlearning { get{ return LocalizationManager.GetTranslation ("tips/startlearning"); } }
  21. public static string startparticing { get{ return LocalizationManager.GetTranslation ("tips/startparticing"); } }
  22. }
  23. public static class tooltype
  24. {
  25. public static string instrumentsandmeter { get{ return LocalizationManager.GetTranslation ("tooltype/instrumentsandmeter"); } }
  26. public static string electricaltools { get{ return LocalizationManager.GetTranslation ("tooltype/electricaltools"); } }
  27. public static string insulatedsafetytools { get{ return LocalizationManager.GetTranslation ("tooltype/insulatedsafetytools"); } }
  28. public static string safetyfences { get{ return LocalizationManager.GetTranslation ("tooltype/safetyfences"); } }
  29. public static string powerequipment { get{ return LocalizationManager.GetTranslation ("tooltype/powerequipment"); } }
  30. public static string all { get{ return LocalizationManager.GetTranslation ("tooltype/all"); } }
  31. }
  32. }
  33. public static class ScriptTerms
  34. {
  35. public static class logsystem
  36. {
  37. public const string Note = "logsystem/Note";
  38. public const string operationstep = "logsystem/operationstep";
  39. public const string operationlog = "logsystem/operationlog";
  40. }
  41. public static class operatepanel
  42. {
  43. public const string coursetitle = "operatepanel/coursetitle";
  44. public const string currentsteptitle = "operatepanel/currentsteptitle";
  45. }
  46. public static class tips
  47. {
  48. public const string startexam = "tips/startexam";
  49. public const string startlearning = "tips/startlearning";
  50. public const string startparticing = "tips/startparticing";
  51. }
  52. public static class tooltype
  53. {
  54. public const string instrumentsandmeter = "tooltype/instrumentsandmeter";
  55. public const string electricaltools = "tooltype/electricaltools";
  56. public const string insulatedsafetytools = "tooltype/insulatedsafetytools";
  57. public const string safetyfences = "tooltype/safetyfences";
  58. public const string powerequipment = "tooltype/powerequipment";
  59. public const string all = "tooltype/all";
  60. }
  61. }
  62. }