Skip to content

Commit

Permalink
English use builtin menu
Browse files Browse the repository at this point in the history
  • Loading branch information
rexdf committed Jul 7, 2016
1 parent 3643550 commit 92da5ba
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Localization.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import os
from hashlib import md5

__version__ = "1.7.2"
__version__ = "1.7.7"

CONFIG_NAME = "Localization.sublime-settings"

Expand Down Expand Up @@ -112,7 +112,7 @@ def set_language(lang, force=False):
# Make sure Default Packages function work
GOTO_PY = os.path.join(DEFAULT_PATH, 'goto_line.py')
is_en = lang == 'EN'
if is_en or not os.path.isfile(GOTO_PY):
if is_en or force or not os.path.isfile(GOTO_PY):
SUBLIME_PACKAGE_PATH = get_builtin_pkg_path()
DEFAULT_SRC = os.path.join(
SUBLIME_PACKAGE_PATH, "Default.sublime-package")
Expand Down
3 changes: 2 additions & 1 deletion messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"install": "msg/install.txt",
"1.7.1": "msg/1.7.1.txt",
"1.7.2": "msg/1.7.2.txt",
"1.7.5": "msg/1.7.5.txt"
"1.7.5": "msg/1.7.5.txt",
"1.7.7": "msg/1.7.7.txt"
}
3 changes: 3 additions & 0 deletions msg/1.7.7.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
English always use sublime text 3 builtin menu.

英文使用ST自带的菜单。

0 comments on commit 92da5ba

Please sign in to comment.