Skip to content

update TWPhrases.txt (鎖屏 -> 鎖定螢幕) - #1470

Closed
Ciekle wants to merge 1 commit into
BYVoid:masterfrom
Ciekle:fix/twphrases-update
Closed

Ciekle wants to merge 1 commit into
BYVoid:masterfrom
Ciekle:fix/twphrases-update

Conversation

@Ciekle

@Ciekle Ciekle commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

在 TWPhrases.txt 中添加了「鎖屏」→「鎖定螢幕」条目。
在 Android 移动设备的状态栏中看到的这个差异。
S
T

@frankslin

Copy link
Copy Markdown
Collaborator

謝謝,還需要修改一下TWPhrasesRev.txt‎。

==================== Test output for //data/dictionary:dictionary_phrases_reverse_mapping_test:
Running main() from gmock_main.cc
[==========] Running 2 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 2 tests from DictionaryReverseMappingTest
[ RUN      ] DictionaryReverseMappingTest.HKPhrasesReverseMapping
[       OK ] DictionaryReverseMappingTest.HKPhrasesReverseMapping (1 ms)
[ RUN      ] DictionaryReverseMappingTest.TWPhrasesReverseMapping
data/dictionary/DictionaryReverseMappingTest.cpp(77): error: Value of: it != phrasesRevMap.end() && it->second.count(key) > 0
  Actual: false
(13:50:21) INFO: From Testing //data/dictionary:dictionary_non_bmp_HKPhrasesRev_test:
Expected: true
Missing reverse mapping: 鎖屏 -> 鎖定螢幕

[  FAILED  ] DictionaryReverseMappingTest.TWPhrasesReverseMapping (8 ms)
[----------] 2 tests from DictionaryReverseMappingTest (10 ms total)

[----------] Global test environment tear-down
[==========] 2 tests from 1 test suite ran. (10 ms total)
(13:50:21) INFO: From Testing //src:phrase_extract_test:
[  PASSED  ] 1 test.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] DictionaryReverseMappingTest.TWPhrasesReverseMapping

 1 FAILED TEST

@LeeiFrankJaw

LeeiFrankJaw commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

「鎖屏」也是島內常見的表達,沒有必要轉換。轉換後,還有很多誤傷風險。

例證:

誤傷例證:

Screenshot from 2026-08-05 03-48-11

增加此轉換後,會出現「鎖定屏幕工具」或「鎖定屏幕狀態」這樣不自然的表達。

@Ciekle

Ciekle commented Aug 5, 2026

Copy link
Copy Markdown
Contributor Author

「鎖屏」也是島內常見的表達,沒有必要轉換。轉換後,還有很多誤傷風險。

例證:

誤傷例證:

Screenshot from 2026-08-05 03-48-11 增加此轉換後,會出現「[鎖定屏幕工具](https://www.google.com/search?q=%22%E9%8E%96%E5%AE%9A%E7%86%92%E5%B1%8F%E5%B7%A5%E5%85%B7%22)」或「[鎖定屏幕狀態](https://www.google.com/search?q=%22%E9%8E%96%E5%AE%9A%E7%86%92%E5%B1%8F%E7%8B%80%E6%85%8B%22)」這樣不自然的表達。

是这样吗>﹏<,那还是把这个关掉吧

@Ciekle Ciekle closed this Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants