-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
localization fixes + ru #57
localization fixes + ru #57
Conversation
yalov
commented
Oct 13, 2021
•
edited by zer0Kerbal
edited by zer0Kerbal
- fix localization of PAW group
- index start with the <<1>> in the localization system
- remove duplicate of root part checking
- set default log setting to false
- ru localization
- closes Localization - Russian (Русский) <ru.cfg> #42
- advances Localization - Master #38
- advances Kaboom Safety Cover not localized #32
@@ -58,11 +58,11 @@ public override void OnStart(StartState state) | |||
base.OnStart(state); | |||
|
|||
if (HighLogic.CurrentGame.Parameters.CustomParams<KaboomSettings>().coloredPAW) | |||
//Fields["delay"].group.displayName = Localizer.Format("<color=red>#BOOM-SafetyCover</color>"); | |||
Fields["delay"].group.displayName = "<color=red>Kaboom Safety Cover</color>"; | |||
Fields["delay"].group.displayName = Localizer.Format("#BOOM-SafetyCoverColor"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer the color to remain in the code; keeps things simple for those who translate IMHO.
Fields["delay"].group.displayName = System.String.Format("<color=red>" + Localizer.Format("Kaboom Safety Cover") + "</color>");
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I usually put color tag to the loc file, so users could change colors if needed
@@ -16,7 +16,6 @@ Localization | |||
#BOOM-modnameV = Kaboom! v<<1>> | |||
|
|||
// ********** Type: Kaboom.ModuleKaboom, KSP Fields, Events | |||
#BOOM-GroupName = Kaboom | |||
#BOOM-delay = Kaboom delay |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#BOOM-modname
probably can be used for multiple instances in order to simplify and streamline.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#BOOM-modname is there, I removed #BOOM-GroupName because GroupName is internal and need to be English
again, thank you @yalov ! |
# Version 1.4.0.0 - SuperKlue Implosions!! - 25 Oct 2021 - Kerbal Space Program [KSP 1.12.2] ### Added - added ![][ES] Spanish (Español) (thank you [Tacombel][LINK:tacombel]) - added ![]{RU] Russian (Русский) (thank you [Forums: Flart][LINK:flart] - [Github: yalov][LINK:yalov]) - ***your translation here*** ### `Code' - thank you to ['@flart'][LINK:flart] aka [yalov][LINK:yalov] - if glued kaboom is enabled and there was in-flight docking, docking ports kaboom together - longer ScreenMessage - remove unnecessary usings - update .csproj ### Updated - Documentation - readme - release notes - Attribution ### Status - Features/Issues/Milestones - closes #20 - duplicate - closes #21 - duplicate - closes #22 - duplicate - closes #23 - Dev kaboom superglue [pull request] contributed by zer0Kerbal - closes #32 - Kaboom Safety Cover not localized - closes #35 - 1.3.99.2 beta 3 beta - contributed by zer0Kerbal - closes #36 - Create es-es.cfg - contributed by Tacombel - closes #37 - Localization - English (United States)] <en-us.cfg> - contributed by zer0Kerbal - closes #42 - Localization - Russian (Русский) <ru.cfg> - contributed by yalov - closes #52 - Localization - Spanish (Español) <es-es.cfg> - contributed by Tacombel - closes #57 - localization fixes + ru - contributed by yalov - closes #58 - update ru.cfg localization- contributed by yalov - updates #33 - Localization project - contributed by zer0kerbal - Bug - closes #24 - superklue docked docking ports while in flight - thank you to @robin Patenall - closes #54 - typo - closes #56 - seconds not localized - *** Possible future changes *** - #39, #40, #41, #43, #44, #45, #46, #47, #48, #49, #50, #51 and #53 - more localizations - #25 - auto destruct during launch - #17, #18 - bigger boom, bigger badda-boom - #16 - boom stick - #1 - staging
# Version 1.4.0.0 - SuperKlue Implosions!! - 25 Oct 2021 - Kerbal Space Program [KSP 1.12.2] ### Added - added ![][ES] Spanish (Español) (thank you [Tacombel][LINK:tacombel]) - added ![][RU] Russian (Русский) (thank you [Forums: Flart][LINK:flart] - [Github: yalov][LINK:yalov]) - ***your translation here*** ### `Code' - thank you to ['@flart'][LINK:flart] aka [yalov][LINK:yalov] - if glued kaboom is enabled and there was in-flight docking, docking ports kaboom together - longer ScreenMessage - remove unnecessary usings - update .csproj ### Updated - Documentation - readme - release notes - Attribution ### Status - Features/Issues/Milestones - closes #20 - duplicate - closes #21 - duplicate - closes #22 - duplicate - closes #23 - Dev kaboom superglue [pull request] contributed by zer0Kerbal - closes #32 - Kaboom Safety Cover not localized - closes #35 - 1.3.99.2 beta 3 beta - contributed by zer0Kerbal - closes #36 - Create es-es.cfg - contributed by Tacombel - closes #37 - Localization - English (United States)] <en-us.cfg> - contributed by zer0Kerbal - closes #42 - Localization - Russian (Русский) <ru.cfg> - contributed by yalov - closes #52 - Localization - Spanish (Español) <es-es.cfg> - contributed by Tacombel - closes #57 - localization fixes + ru - contributed by yalov - closes #58 - update ru.cfg localization- contributed by yalov - updates #33 - Localization project - contributed by zer0kerbal - Bug - closes #24 - superklue docked docking ports while in flight - thank you to @robin Patenall - closes #54 - typo - closes #56 - seconds not localized - *** Possible future changes *** - #39, #40, #41, #43, #44, #45, #46, #47, #48, #49, #50, #51 and #53 - more localizations - #25 - auto destruct during launch - #17, #18 - bigger boom, bigger badda-boom - #16 - boom stick - #1 - staging [RU]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/zed'K/Localization/img/Russian-flag-sm.png "Русский" [ES]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/zed'K/Localization/img/Spanish-flag-sm.png "Español" [EN]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/zed'K/Localization/img/American-flag-sm.png "American English" [LINK:russnash37]: https://forum.kerbalspaceprogram.com/index.php?/profile/77512-russnash37/ "Forums: RussNash37" [LINK:russnash]: https://github.com/russnash "GitHub: russnash" [LINK:tacombel]: https://github.com/Tacombel "Tacombel" [LINK:flart]: https://forum.kerbalspaceprogram.com/index.php?/profile/181486-flart/ "Flart" [LINK:yalov]: https://github.com/yalov "yalov" [LINK:zer0Kerbal]: https://forum.kerbalspaceprogram.com/index.php?/profile/190933-zer0kerbal/ "zer0Kerbal"