• 1
  • 2(current)
  • 3
  • 4
  • 5
  • 7
Kodi skin localize VS Code extension
#16
So far 0.1.7 is looking good here.

scott s.
.
Reply
#17
v0.1.8-alpha

Add go to definition and peek definition for $VAR and $EXP

Image

Image
Reply
#18
Wow that's great.  Now if you could tackle includes ---

scott s.
.
Reply
#19
Yep, it's on the list of things to add, let me know if there's anything else that could be useful.
Reply
#20
Also would be nice to do the same with $ADDON[addonid number] derived from addonid strings.po.  When doing customized xml for an addon's dialogs it's a pain having to find the addons localized strings (true also for an addon's settings.xml but that isn't much of a skinner's problem).

scott s.
.
Reply
#21
When you say do the same thing with $ADDON do you mean decorate the file or peek/go to their definition?
Reply
#22
Just the decoration so I understand what a label is supposed to read.

scott s.
.
Reply
#23
Just found this and installed...what a major help...ty!
Kodi: Nexus v20.5 | Skin Dev: Madnox Omega/Nexus: v20.01.02 | Madnox ForumRoot | Madnox Repov1.0.09 | Mr. V'sSource | Kodi Texture Tool (Takeover): v3.0.1 | Batch Texture Resize (Irfanview): Tutorial
Working On
: Replacing Embruary >> TMDB Helper || Start: 6/3/2024 End: God knows || Status Complete: Movies: 80% TV Shows: 40% Music: 20%
Reply
#24
(2022-05-14, 01:26)scott967 Wrote: Wow that's great.  Now if you could tackle includes ---

scott s.
.

v0.1.9-alpha

Add goto definition and peek definition for includes.

Link in first post.
Reply
#25
(2024-08-05, 12:05)roidy Wrote:
(2022-05-14, 01:26)scott967 Wrote: Wow that's great.  Now if you could tackle includes ---

scott s.
.

v0.1.9-alpha

Add goto definition and peek definition for includes.

Link in first post.

OMFG dude: Legend.....

I've been waiting for something like this... Sooooooooooooo much Fuc ******* ing easier to see things without having to use that worthless search and peck feature in VSCODE.

The one question I did have about this tool, If I have strings in my local language files, particularly English, is there a way to make it look there also for strings vs just the Kodi core english files? Or add an option in setting to allow users to have it look in the lang of their choice (not sure if it supports non english or not)?

This has been a great addon, truly. Thanks for it.
Kodi: Nexus v20.5 | Skin Dev: Madnox Omega/Nexus: v20.01.02 | Madnox ForumRoot | Madnox Repov1.0.09 | Mr. V'sSource | Kodi Texture Tool (Takeover): v3.0.1 | Batch Texture Resize (Irfanview): Tutorial
Working On
: Replacing Embruary >> TMDB Helper || Start: 6/3/2024 End: God knows || Status Complete: Movies: 80% TV Shows: 40% Music: 20%
Reply
#26
Yep, the extension first checks Kodi's built in English language file and then the skins English language file at the following directory, using VSCode's current workspace folder which should be your top level skin folder, ie. skin.madnox, as the root.

skin.madnox/language/resource.language.en_gb/strings.po

You need to open your skin in VSCode using "File->Open Folder" and then selecting your skins top level folder. That way VSCode's workspace folder is correctly set to your skin's root directory.

I've downloaded your Madnox skin from GitHub and everything seems to work fine:-

Image
Reply
#27
Here is an example:

Image

Image
Kodi: Nexus v20.5 | Skin Dev: Madnox Omega/Nexus: v20.01.02 | Madnox ForumRoot | Madnox Repov1.0.09 | Mr. V'sSource | Kodi Texture Tool (Takeover): v3.0.1 | Batch Texture Resize (Irfanview): Tutorial
Working On
: Replacing Embruary >> TMDB Helper || Start: 6/3/2024 End: God knows || Status Complete: Movies: 80% TV Shows: 40% Music: 20%
Reply
#28
(2024-08-05, 15:16)roidy Wrote: You need to open your skin in VSCode using "File->Open Folder" and then selecting your skins top level folder. That way VSCode's workspace folder is correctly set to your skin's root directory.

I've downloaded your Madnox skin from GitHub and everything seems to work fine:-

That is exactly how I do it.

And for almost for the most part, it does work fine, just a few it doesn't.
Kodi: Nexus v20.5 | Skin Dev: Madnox Omega/Nexus: v20.01.02 | Madnox ForumRoot | Madnox Repov1.0.09 | Mr. V'sSource | Kodi Texture Tool (Takeover): v3.0.1 | Batch Texture Resize (Irfanview): Tutorial
Working On
: Replacing Embruary >> TMDB Helper || Start: 6/3/2024 End: God knows || Status Complete: Movies: 80% TV Shows: 40% Music: 20%
Reply
#29
Is there anywhere I can download your version of Madnox with the script-tmdbhelper-recommendations.xml file and current strings.po so I can do some testing.

The current decorator functions are really janky and could do with being rewritten.
Reply
#30
Forget that, I see the problem.

The extension looks in resource.language.en_gb your skin uses resource.language.en_us.

I'll make some changes to set the default language and put up a new version.
Reply
  • 1
  • 2(current)
  • 3
  • 4
  • 5
  • 7

Logout Mark Read Team Forum Stats Members Help
Kodi skin localize VS Code extension0