コード例 #1
0
ファイル: PluginMain.cs プロジェクト: bottleboy/e4xu
        /// <summary>
        /// Initializes the localization of the plugin
        /// </summary>
        public void InitLocalization()
        {
            LocaleVersion locale = PluginBase.MainForm.Settings.LocaleVersion;

            switch (locale)
            {
            default:
                LocaleHelper.Initialize(LocaleVersion.en_US);
                break;
            }
            this.pluginDesc  = LocaleHelper.GetString("Info.Description");
            this.pluginImage = LocaleHelper.GetImage("SamIcon");
            this.InstallTemplates();
        }