File tree Expand file tree Collapse file tree 9 files changed +2
-20
lines changed
design/src/main/res/values-vi
java/com/github/kr328/clash/service Expand file tree Collapse file tree 9 files changed +2
-20
lines changed Original file line number Diff line number Diff line change 112
112
<string name =" format_provider_type" >%1$s(%2$s)</string >
113
113
<string name =" format_traffic_forwarded" >%s được sử dụng</string >
114
114
<string name =" format_type_unsaved" >%s (Chưa lưu)</string >
115
- <string name =" format_update_complete" >Cập nhật %s thành công</string >
116
115
<string name =" format_update_failure" >Cập nhật %1$s: %2$s</string >
117
116
<string name =" format_update_provider_failure" >Cập nhật %1$s: %2$s</string >
118
117
<string name =" format_years_ago" >%d năm trước</string >
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ class ProfileWorker : BaseService() {
87
87
ProfileProcessor .update(this , imported.uuid, null )
88
88
}
89
89
90
- completed(imported.uuid, imported.name )
90
+ completed(imported.uuid)
91
91
92
92
ProfileReceiver .scheduleNext(this , imported)
93
93
} catch (e: Exception ) {
@@ -169,17 +169,7 @@ class ProfileWorker : BaseService() {
169
169
.setGroup(RESULT_CHANNEL )
170
170
}
171
171
172
- private fun completed (uuid : UUID , name : String ) {
173
- val id = UndefinedIds .next()
174
-
175
- val notification = resultBuilder(id, uuid)
176
- .setContentTitle(getString(R .string.update_successfully))
177
- .setContentText(getString(R .string.format_update_complete, name))
178
- .build()
179
-
180
- NotificationManagerCompat .from(this )
181
- .notify(id, notification)
182
-
172
+ private fun completed (uuid : UUID ) {
183
173
sendProfileUpdateCompleted(uuid)
184
174
}
185
175
Original file line number Diff line number Diff line change 6
6
<string name =" profile_process_result" >プロファイルプロセスの結果</string >
7
7
<string name =" update_successfully" >正常に更新されました</string >
8
8
<string name =" update_failure" >更新に失敗しました</string >
9
- <string name =" format_update_complete" >%sを更新しました</string >
10
9
<string name =" format_update_failure" >更新 %1$s: %2$s </string >
11
10
<string name =" running" >実行中</string >
12
11
<string name =" loading" >読み込み中</string >
Original file line number Diff line number Diff line change 6
6
<string name =" profile_process_result" >구성 파일 처리 결과</string >
7
7
<string name =" update_successfully" >업데이트 성공</string >
8
8
<string name =" update_failure" >업데이트 실패</string >
9
- <string name =" format_update_complete" >%s 업데이트 성공</string >
10
9
<string name =" format_update_failure" >업데이트 %1$s: %2$s</string >
11
10
<string name =" running" >연결됨</string >
12
11
<string name =" loading" >로딩중</string >
Original file line number Diff line number Diff line change 8
8
<string name =" profile_process_result" >Результат обработки профиля</string >
9
9
<string name =" update_successfully" >Успешно обновлено</string >
10
10
<string name =" update_failure" >Не удалось обновить</string >
11
- <string name =" format_update_complete" >Обновление %s завершено</string >
12
11
<string name =" format_update_failure" >Обновление %1$s: %2$s</string >
13
12
<string name =" running" >Работает</string >
14
13
<string name =" loading" >Загружается</string >
Original file line number Diff line number Diff line change 2
2
<resources >
3
3
<string name =" clash_service_status_channel" >Clash 狀態</string >
4
4
<string name =" running" >正在運行</string >
5
- <string name =" format_update_complete" >更新 %s 成功</string >
6
5
<string name =" format_update_failure" >"更新 %1$s: %2$s "</string >
7
6
<string name =" clash_meta_for_android" >Clash Meta for Android</string >
8
7
<string name =" profiles_and_providers" >配置文件和外部資源</string >
Original file line number Diff line number Diff line change 2
2
<resources >
3
3
<string name =" clash_service_status_channel" >Clash 狀態</string >
4
4
<string name =" running" >正在運作</string >
5
- <string name =" format_update_complete" >更新 %s 成功</string >
6
5
<string name =" format_update_failure" >"更新 %1$s: %2$s "</string >
7
6
<string name =" clash_meta_for_android" >Clash Meta for Android</string >
8
7
<string name =" profiles_and_providers" >設定檔和外部資源</string >
Original file line number Diff line number Diff line change 2
2
<resources >
3
3
<string name =" clash_service_status_channel" >Clash 状态</string >
4
4
<string name =" running" >正在运行</string >
5
- <string name =" format_update_complete" >更新 %s 成功</string >
6
5
<string name =" format_update_failure" >"更新 %1$s: %2$s "</string >
7
6
<string name =" clash_meta_for_android" >Clash Meta for Android</string >
8
7
<string name =" profiles_and_providers" >配置文件和外部资源</string >
Original file line number Diff line number Diff line change 8
8
<string name =" profile_process_result" >Profile Process Result</string >
9
9
<string name =" update_successfully" >Update Successfully</string >
10
10
<string name =" update_failure" >Update Failure</string >
11
- <string name =" format_update_complete" >Update %s completed</string >
12
11
<string name =" format_update_failure" >Update %1$s: %2$s</string >
13
12
<string name =" running" >Running</string >
14
13
<string name =" loading" >Loading</string >
You can’t perform that action at this time.
0 commit comments