rexdf / chineselocalization Goto Github PK
View Code? Open in Web Editor NEWLocalization for Sublime Text, support 简体中文 繁体中文 日本語 Chinese Japanese German Russian Spanish Armenian Swedish and French
License: MIT License
Localization for Sublime Text, support 简体中文 繁体中文 日本語 Chinese Japanese German Russian Spanish Armenian Swedish and French
License: MIT License
该问题是突然出现的, 是在升级4.0持续了有很长一段时间才出现的. 第一次出现的时间可能是去年(2023)下半年. 今天尝试解决这个困扰了我很长时间的问题.
今天卸载了重装, 重装之后不安装任何的package是正常的.
再尝试安装一些用到的package,此时发现问题出现.
经过我反复的定位package, 最终定位到安装该package后会出现这个情况.
我也感到不解,但我的测试让我不得不相信.
提交个issue, 希望我是错的.
另外,在forum上, 也遇到个朋友也是出现了同样的问题. 他的解决办法是手动安装一次"Vintage"解决变成Vi模式的问题.
我的机器环境: mac m2 14.2
启动后日志如下
startup, version: 4169 osx arm64 channel: stable
executable: /Users/ha/Applications/Sublime Text.app/Contents/MacOS/sublime_text
application: /Users/ha/Applications/Sublime Text.app
working dir: /
packages path: /Users/ha/Library/Application Support/Sublime Text/Packages
state path: /Users/ha/Library/Application Support/Sublime Text/Local
zip path: /Users/ha/Applications/Sublime Text.app/Contents/MacOS/Packages
zip path: /Users/ha/Library/Application Support/Sublime Text/Installed Packages
ignored_packages: ["Vintage"] ########## now is ok!
pre session restore time: 0.269636
OpenGL Context Information:
GL API Version: 4.1 Metal - 88
GLSL Version: 4.10
Vendor: Apple
Renderer: Apple M2
startup time: 0.326656
first paint time: 0.394408
environment variables loaded using: /bin/zsh -l
reloading python 3.3 plugin BracketHighlighter.bh_core
...
...
reloading python 3.3 plugin SublimeLinter.panel_view
reloading python 3.3 plugin SublimeLinter.quick_actions
reloading python 3.3 plugin SublimeLinter.status_bar_view
reloading python 3.3 plugin SublimeLinter.sublime_linter
plugins loaded
ignored packages updated to: [] # problem is happend
reloading settings Packages/User/Package Control.sublime-settings
reloading plugin Vintage.vintage
reloading plugin Vintage.vintage_commands
reloading plugin Vintage.vintage_motions
reloading settings Packages/User/Preferences.sublime-settings
Windows 10 Pro 64-Bit
在 Sublime Text 3 Build 3114/3122 64-Bit Portable 下均呈现如下图示状态:
https://ooo.0o0.ooo/2016/09/16/57db7ba713ad9.png
所有菜单下都是如此,点击重置亦无帮助。
Context.sublime-menu:
[
{ "command": "open_context_url", "caption": "打开网址" },
{ "command": "context_goto_definition", "caption": "转到定义" },
+ { "caption": "-", "id": "diff" },
+ { "command": "toggle_inline_diff" },
{ "caption": "-", "id": "clipboard" },
{ "command": "copy", "caption": "复制" },
{ "command": "cut", "caption": "剪切" },
{ "command": "paste", "caption": "粘贴" },
{ "caption": "-", "id": "selection" },
{ "command": "select_all", "caption": "全选" },
+ { "caption": "-", "id": "repo_commands" },
+ { "caption": "Open Git Repository…", "command": "sublime_merge_open_repo" },
+ { "caption": "File History…", "command": "sublime_merge_file_history" },
+ { "caption": "Line History…", "command": "sublime_merge_line_history" },
+ { "caption": "Blame File…", "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" }
]
Side Bar.sublime-menu:
[
{ "caption": "新建文件", "command": "new_file_at", "args": {"dirs": []} },
{ "caption": "重命名…", "command": "rename_path", "args": {"paths": []} },
{ "caption": "删除文件", "command": "delete_file", "args": {"files": []} },
{ "caption": "打开所在文件夹…", "command": "open_containing_folder", "args": {"files": []} },
{ "caption": "Reveal Link Source", "command": "reveal_link_source", "args": {"dirs": []} },
+ { "caption": "-", "id": "repo_commands" },
+ { "caption": "Open Git Repository…", "command": "sublime_merge_open_repo", "args": {"paths": []}},
+ { "caption": "File History…", "command": "sublime_merge_file_history", "args": {"files": []}},
+ { "caption": "Folder History…", "command": "sublime_merge_folder_history", "args": {"paths": []}},
+ { "caption": "Blame File…", "command": "sublime_merge_blame_file", "args": {"files": []}},
{ "caption": "-", "id": "folder_commands" },
{ "caption": "新建文件夹…", "command": "new_folder", "args": {"dirs": []} },
{ "caption": "删除文件夹", "command": "delete_folder", "args": {"dirs": []} },
{ "caption": "在文件夹中查找…", "command": "find_in_folder", "args": {"dirs": []} },
{ "caption": "-", "id": "end" }
]
Main.sublime-menu:
--- Main.sublime-menu-old 2020-02-15 21:25:12.000000000 +0800
+++ Main.sublime-menu-new 2020-02-15 21:35:30.000000000 +0800
@@ -189,6 +189,9 @@
"id": "text",
"children":
[
+ { "command": "revert_modification" },
+ { "command": "toggle_inline_diff" },
+ { "caption": "-" },
{ "command": "run_macro_file", "args": {"file": "res://Packages/Default/Add Line Before.sublime-macro"}, "caption": "在此前插入行" },
{ "command": "run_macro_file", "args": {"file": "res://Packages/Default/Add Line.sublime-macro"}, "caption": "在此后插入行" },
{ "caption": "-" },
@@ -631,6 +634,9 @@
// { "command": "show_overlay", "args": {"overlay": "goto", "text": "#"}, "caption": "跳到单词…" },
{ "command": "show_overlay", "args": {"overlay": "goto", "text": ":"}, "caption": "跳到行…" },
{ "caption": "-" },
+ { "command": "next_modification", "caption": "Next Modification" },
+ { "command": "prev_modification", "caption": "Previous Modification" },
+ { "caption": "-" },
{ "command": "jump_back", "caption": "往回跳" },
{ "command": "jump_forward", "caption": "往前跳" },
{ "caption": "-" },
@@ -803,7 +809,7 @@
{ "command": "open_recent_project_or_workspace", "args": {"index": 6 } },
{ "command": "open_recent_project_or_workspace", "args": {"index": 7 } },
{ "caption": "-" },
- { "command": "clear_recent_workspaces", "caption": "清除项目记录" }
+ { "command": "clear_recent_projects_and_workspaces", "caption": "清除项目记录" }
]
},
{ "caption": "-" },
https://github.com/zam1024t/LocalizedMenu
与您当前的功能相比,我增加了以下功能:
1, 支持添加任意种语言,可以不需要提交上来就直接工作,也就是说支持本地添加。
2, 支持任意版本的Sublime Text同时使用。
3, 可以自动修正中文翻译中热键大写小问题。
4, 可以支持多版本中的公共菜单共用。
5, 首次运行会自动备份本地菜单。
请看一下我的代码,您看方不方便合并,或者就让@wbond直接合并到插件库中。
wbond/package_control_channel#5665
首选项 -> 设置 – 特定语法
首选项 -> 设置 - 无干扰模式
两项翻译中 -/– 符号不一致,能否弄成一致?繁体中文时,这里也不一致。
强迫症看着受不了,每次都自己手动改,这次升级又要改一下,哈哈[喜极而泣]
不知道是不是这个插件的问题, 当我下载了这个插件后, 我的User下的Preference.sublime-settings 中总会有一个"ignored_packages":[]的键,
且每次打开都会重置这个键的内容为 空...
我是win8系统,64位,sublimetext3的3126版本,手动下载解压后放到Sublime Text Build 3126 x64\Data\Packages下面,打开sublime text后所有语言都显示,不论我选择什么语言。
我看了Main.sublime.menu,是这个文件被替换了吗?(debian8)
Please see my fork:
https://github.com/vanja-san/ChineseLocalization
这项目已经不维护了吗?
我一个插件一个插件的测试,发现只要装了ChineseLocalization, sublme的用户配置中的这个配置项:
"ignored_packages":["Vintage" ]
在启动的时候就会被覆盖成:
"ignored_packages":[ ]
以下是日志:
reloading plugin HTML.html_completions
reloading python 3.3 plugin MarkdownPreview.markdown_settings
reloading python 3.3 plugin MarkdownPreview.markdown_wrapper
reloading python 3.3 plugin OpenHere.openhere
reloading plugin Package Control.plugin
reloading python 3.3 plugin Codecs33.Codecs33
reloading plugin ConvertToUTF8.ConvertToUTF8
plugins loaded
ignored packages updated to: []
reloading settings Packages/User/Package Control.sublime-settings
reloading plugin Vintage.vintage
reloading plugin Vintage.vintage_commands
reloading plugin Vintage.vintage_motions
reloading settings Packages/User/Preferences.sublime-settings
只要删了此插件,就不会再发生上述问题。
sublime版本:sublime 4169
Can I use your files to create my own language for Sublime Text? All copyrights will be listed!
And by the way ... On the portable version of ST3, the language is not deleted, that is, it does not return by default, so it remains.
File - Set file Encoding to
File - Reload with Encoding
sublime 版本 3143
使用起来发现有两个不大不小的问题,咱以为会对用户体验有所影响。
菜单(alt)快捷键提示在Mac和Linux下没有意义,希望在这两个系统下可以隐藏。
View 菜单下的 Hide / Show Minimap, Hide / Show Tabs, Hide / Show Status bar, Hide / Show Menu, Hide / Show Console 等对应切换项没有可视化的切换功能。
就是说在 Show Tabs 指令发生时该菜单没有改变为该有的状态。
我使用的是 Sublime Text 4126 win11环境,安装插件后,没法选中简体中文,汉化只能选中正体中文并汉化
不知道该怎么解决
下载的最新版的插件
sublime版本3.2.2 build3211
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.