diff --git a/pype/hosts/tvpaint/__init__.py b/pype/hosts/tvpaint/__init__.py index 8c93d93738..84f9cd92d5 100644 --- a/pype/hosts/tvpaint/__init__.py +++ b/pype/hosts/tvpaint/__init__.py @@ -1 +1,8 @@ -kwargs = None +import os +from avalon.tvpaint.communication_server import register_localization_file + + +def install(): + current_dir = os.path.dirname(os.path.abspath(__file__)) + localization_file = os.path.join(current_dir, "avalon.loc") + register_localization_file(localization_file) diff --git a/pype/hosts/tvpaint/avalon.loc b/pype/hosts/tvpaint/avalon.loc new file mode 100644 index 0000000000..cda27162e6 --- /dev/null +++ b/pype/hosts/tvpaint/avalon.loc @@ -0,0 +1,37 @@ +#------------------------------------------------- +#------------ AVALON PLUGIN LOC FILE ------------- +#------------------------------------------------- + +#Language : English +#Version : 1.0 +#Date : 27/10/2020 + +#------------------------------------------------- +#------------ COMMON ----------------------------- +#------------------------------------------------- + +$100 "Pype Tools" + +$10010 "Workfiles" +$10020 "Load" +$10030 "Create" +$10040 "Scene inventory" +$10050 "Publish" +$10060 "Library" + +#------------ Help ------------------------------- + +$20010 "Open workfiles tool" +$20020 "Open loader tool" +$20030 "Open creator tool" +$20040 "Open scene inventory tool" +$20050 "Open publisher" +$20060 "Open library loader tool" + +#------------ Errors ----------------------------- + +$30001 "Can't Open Requester !" + +#------------------------------------------------- +#------------ END -------------------------------- +#-------------------------------------------------