Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
  • 10 commits
  • 38 files changed
  • 3 comments
  • 2 contributors
Commits on Jan 01, 2020
Add translation Portuguese of Brazil
Commits on Jan 03, 2020
Fix and update all README.md files
Showing with 3,215 additions and 26 deletions.
  1. +1 −0 .menu.json
  2. +8 −7 Localize.py
  3. +1 −1 LocalizedMenu.sublime-settings
  4. +2 −0 README.md
  5. +1 −0 locale/fr_FR/menu.json
  6. +72 −0 locale/pt_BR/menu.json
  7. +6 −0 locale/pt_BR/pt_BR.json
  8. +1 −0 locale/ru/menu.json
  9. +4 −1 locale/sv_SE/menu.json
  10. +1 −0 locale/zh_CN/menu.json
  11. +1 −0 locale/zh_TW/menu.json
  12. +1 −1 menu/3/zh_CN/Widget Context.sublime-menu.json
  13. +1 −1 menu/3/zh_TW/Widget Context.sublime-menu.json
  14. +23 −0 menu/3200/zh_CN/Context.sublime-menu.json
  15. +905 −0 menu/3200/zh_CN/Main.sublime-menu.json
  16. +17 −0 menu/3200/zh_CN/Side Bar.sublime-menu.json
  17. +23 −0 menu/3200/zh_TW/Context.sublime-menu.json
  18. +905 −0 menu/3200/zh_TW/Main.sublime-menu.json
  19. +17 −0 menu/3200/zh_TW/Side Bar.sublime-menu.json
  20. +23 −0 menu/3211/pt_BR/Context.sublime-menu.json
  21. +83 −0 menu/3211/pt_BR/Encoding.sublime-menu.json
  22. +9 −0 menu/3211/pt_BR/Find in Files.sublime-menu.json
  23. +17 −0 menu/3211/pt_BR/Indentation.sublime-menu.json
  24. +5 −0 menu/3211/pt_BR/Line Endings.sublime-menu.json
  25. +907 −0 menu/3211/pt_BR/Main.sublime-menu.json
  26. +4 −0 menu/3211/pt_BR/Side Bar Mount Point.sublime-menu.json
  27. +17 −0 menu/3211/pt_BR/Side Bar.sublime-menu.json
  28. +6 −0 menu/3211/pt_BR/Syntax.sublime-menu.json
  29. +8 −0 menu/3211/pt_BR/Tab Context.sublime-menu.json
  30. +7 −0 menu/3211/pt_BR/Widget Context.sublime-menu.json
  31. +4 −0 readme/README.es_ES.md
  32. +10 −8 readme/README.fr_FR.md
  33. +4 −0 readme/README.hy.md
  34. +100 −0 readme/README.pt_BR.md
  35. +2 −0 readme/README.ru.md
  36. +11 −7 readme/README.sv_SE.md
  37. +4 −0 readme/README.zh_CN.md
  38. +4 −0 readme/README.zh_TW.md
@@ -4,6 +4,7 @@
"children": [
{
"id": "package-settings",
"caption": "Package Settings",
"children":
[
{
@@ -62,7 +62,7 @@ def setLocale(locale, force = False):
d = os.path.join(mDir, version)
ld = os.path.join(d, locale)
if (not os.path.isdir(ld)) and getSetting('findSimilarVer', True):
sDir = findSimilarVer()
sDir = findSimilarVer(locale)
if not sDir:
return
d = os.path.join(mDir, sDir)
@@ -92,10 +92,10 @@ def getLink(locale):
locale = conf['link']
return locale

def findSimilarVer():
def findSimilarVer(locale):
sVer = 0
for item in os.listdir(mDir):
subDir = os.path.join(mDir, item)
subDir = os.path.join(mDir, item, locale)
if item.isdigit() and os.path.isdir(subDir):
int_item = int(item)
if int_item > sVer and int_item < int(version):
@@ -204,10 +204,11 @@ def updateMenu(m):

def updateTopMenu(locale):
tDir = pkgs + os.sep + 'ZZZZZZZZ-' + pName
if locale[:2] == 'en':
if os.path.isdir(tDir):
shutil.rmtree(tDir)
return
if not (p == 'osx' and v == '2'):
if locale[:2] == 'en':
if os.path.isdir(tDir):
shutil.rmtree(tDir)
return
if not os.path.isdir(tDir):
os.makedirs(tDir)
topMenu = []
@@ -1,6 +1,6 @@
{
// locale code
// en|en_GB|en_US|zh|zh_CN|zh_TW|ru
// en|en_GB|en_US|zh|zh_CN|zh_TW|ru|pt_BR
"locale": "en",

// allow to find localized menu of similar version for current locale
@@ -12,6 +12,7 @@ Localize Tool & Localized Menu for Sublime Text 2/3 End User
- es_ES [Español](readme/README.es_ES.md)
- fr_FR [Français](readme/README.fr_FR.md)
- hy [Հայերեն](readme/README.hy.md)
- pt_BR [Português do Brasil](readme/README.pt_BR.md)
- ru [Русский](readme/README.ru.md)
- sv_SE [Svenska](readme/README.sv_SE.md)
- zh_CN [简体中文](readme/README.zh_CN.md)
@@ -85,6 +86,7 @@ Localize Tool & Localized Menu for Sublime Text 2/3 End User
- es_ES Español *by [Dastillero](https://github.com/dap39)*
- fr_FR Français *by [fxbenard](https://github.com/fxbenard)*
- hy Հայերեն *by [Arman High Foundation](https://github.com/ArmanHigh)*
- pt Português do Brasil *by [JNylson](https://github.com/jnylson)*
- ru Русский *by [Dimox](http://dimox.name) & [Ant0sh](https://github.com/Ant0sh)*
- sv_SE Svenska *by [H2SO4JB](https://github.com/H2SO4JB)*
- zh_CN 简体中文 *by [Zam](https://github.com/zam1024t)*
@@ -4,6 +4,7 @@
"children": [
{
"id": "package-settings",
"caption": "Package Settings",
"children":
[
{
@@ -0,0 +1,72 @@
[
{
"id": "preferences",
"children": [
{
"id": "package-settings",
"caption": "Configurações do Pacotes",
"children":
[
{
"caption": "LocalizedMenu",
"children":
[
{
"command": "open_file", "args":
{
"file": "${packages}/LocalizedMenu/LocalizedMenu.sublime-settings"
},
"caption": "Configurações - Padrão"
},
{
"command": "open_file", "args":
{
"file": "${packages}/User/LocalizedMenu.sublime-settings"
},
"caption": "Configurações - Usuário"
},
{ "caption": "-" }
]
}
]
},
{ "caption": "-" },
{
"id": "locales",
"caption": "Idiomas", "mnemonic": "I",
"children": [
{
"command": "localize_run",
"args": {
"action": "detect"
},
"caption": "Detectar"
},
{
"command": "localize_run",
"args": {
"action": "reset"
},
"caption": "Redefinir"
},
{
"command": "localize_run",
"args": {
"action": "add"
},
"caption": "Adicionar"
},
{
"command": "localize_run",
"args": {
"action": "submit"
},
"caption": "Enviar"
},
{ "caption": "-" }
]
},
{ "caption": "-" }
]
}
]
@@ -0,0 +1,6 @@

{
"hidden": false,
"caption": "Português do Brasil",
"mnemonic": "B"
}
@@ -4,6 +4,7 @@
"children": [
{
"id": "package-settings",
"caption": "Package Settings",
"children":
[
{
@@ -1,7 +1,10 @@
[
{
"id": "preferences",
"children": [
{
"id": "package-settings",
"caption": "Package Settings",
"children": [
{
"caption": "LocalizedMenu",
@@ -74,4 +77,4 @@
],
"id": "preferences"
}
]
]
@@ -4,6 +4,7 @@
"children": [
{
"id": "package-settings",
"caption": "插件设置(P)",
"children":
[
{
@@ -4,6 +4,7 @@
"children": [
{
"id": "package-settings",
"caption": "插件設置(P)",
"children":
[
{
@@ -1,6 +1,6 @@
[
{ "command": "copy", "caption": "复制" },
{ "command": "cut", "caption": "剪切" },
{ "command": "copy", "caption": "复制" },
{ "command": "paste", "caption": "粘贴" },
{ "caption": "-" },
{ "command": "select_all", "caption": "全选" }
@@ -1,6 +1,6 @@
[
{ "command": "copy", "caption": "復制" },
{ "command": "cut", "caption": "剪切" },
{ "command": "copy", "caption": "復制" },
{ "command": "paste", "caption": "粘貼" },
{ "caption": "-" },
{ "command": "select_all", "caption": "全選" }
@@ -0,0 +1,23 @@
[
{ "command": "open_context_url", "caption": "打开URL链接" },
{ "command": "context_goto_definition", "caption": "转到定义处" },
{ "caption": "-", "id": "diff" },
{ "command": "toggle_inline_diff", "caption": "切换显示行内差异" },
{ "caption": "-", "id": "clipboard" },
{ "command": "cut", "caption": "剪切" },
{ "command": "copy", "caption": "复制" },
{ "command": "paste", "caption": "粘贴" },
{ "caption": "-", "id": "selection" },
{ "command": "select_all", "caption": "全选" },
{ "caption": "-", "id": "repo_commands" },
{ "caption": "打开Git仓库…", "command": "sublime_merge_open_repo" },
{ "caption": "文件历史…", "command": "sublime_merge_file_history" },
{ "caption": "行历史…", "command": "sublime_merge_line_history" },
{ "caption": "审查文件…", "command": "sublime_merge_blame_file" },
{ "caption": "-", "id": "file" },
{ "command": "open_in_browser", "caption": "在浏览器中打开" },
{ "command": "open_dir", "args": {"dir": "$file_path", "file": "$file_name"}, "caption": "打开所在文件夹…" },
{ "command": "copy_path", "caption": "复制文件路径" },
{ "command": "reveal_in_side_bar", "caption": "在侧边栏中显示" },
{ "caption": "-", "id": "end" }
]

Showing you all comments on commits in this comparison.

@andrecool-68

This comment has been minimized.

Copy link

@andrecool-68 andrecool-68 commented on 42a0a99 Nov 19, 2018

Russian localization does not work.
Sublime Text 3 Build 3176 (windows 7 x86 Home Premium)
I wrote here because I did not know where to write here.
Thank you for understanding.

@zam1024t

This comment has been minimized.

Copy link
Owner Author

@zam1024t zam1024t commented on 42a0a99 Nov 20, 2018

https://github.com/zam1024t/LocalizedMenu/releases/tag/v1.5.5
The latest version fixed it.
Thanks for your feedback!

@andrecool-68

This comment has been minimized.

Copy link

@andrecool-68 andrecool-68 commented on 42a0a99 Nov 20, 2018

Thank you very much!