Skip to content

Commit 7530d67

Browse files
committed
update media
1 parent c7222f0 commit 7530d67

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ if you download the workflow, you may lost the hotkey, so you can manual config
3737

3838
![hotkey](media/hotkey.gif)
3939

40-
snapshot:
40+
##### hotkey and largetype snapshot:
4141

4242
![result](media/result.gif)
4343

@@ -57,7 +57,7 @@ snapshot:
5757

5858
![quicklook.png](media/quicklook.png)
5959

60-
- press <kbd>cmd</kbd>+<kbd>L</kbd> to show full content,like the gif in hotkey.
60+
- press <kbd>cmd</kbd>+<kbd>L</kbd> to show full content,like the [gif in hotkey](#hotkey-and-largetype-snapshot).
6161

6262
## Related
6363

languages.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ var langs = {
2222
'ca': 'Catalan',
2323
'ceb': 'Cebuano',
2424
'ny': 'Chichewa',
25-
'zh-cn': 'Chinese Simplified',
26-
'zh-tw': 'Chinese Traditional',
25+
'zh-CN': 'Chinese Simplified',
26+
'zh-TW': 'Chinese Traditional',
2727
'co': 'Corsican',
2828
'hr': 'Croatian',
2929
'cs': 'Czech',
@@ -123,7 +123,6 @@ function getCode(desiredLang) {
123123
if (!desiredLang) {
124124
return false;
125125
}
126-
desiredLang = desiredLang.toLowerCase();
127126

128127
if (langs[desiredLang]) {
129128
return desiredLang;
@@ -134,7 +133,7 @@ function getCode(desiredLang) {
134133
return false;
135134
}
136135

137-
return langs[key].toLowerCase() === desiredLang;
136+
return langs[key] === desiredLang;
138137
});
139138

140139
return keys[0] || false;

media/corrected.png

96 KB
Loading

media/general.png

650 KB
Loading

0 commit comments

Comments
 (0)