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 112112 <string name =" format_provider_type" >%1$s(%2$s)</string >
113113 <string name =" format_traffic_forwarded" >%s được sử dụng</string >
114114 <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 >
116115 <string name =" format_update_failure" >Cập nhật %1$s: %2$s</string >
117116 <string name =" format_update_provider_failure" >Cập nhật %1$s: %2$s</string >
118117 <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() {
8787 ProfileProcessor .update(this , imported.uuid, null )
8888 }
8989
90- completed(imported.uuid, imported.name )
90+ completed(imported.uuid)
9191
9292 ProfileReceiver .scheduleNext(this , imported)
9393 } catch (e: Exception ) {
@@ -169,17 +169,7 @@ class ProfileWorker : BaseService() {
169169 .setGroup(RESULT_CHANNEL )
170170 }
171171
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 ) {
183173 sendProfileUpdateCompleted(uuid)
184174 }
185175
Original file line number Diff line number Diff line change 66 <string name =" profile_process_result" >プロファイルプロセスの結果</string >
77 <string name =" update_successfully" >正常に更新されました</string >
88 <string name =" update_failure" >更新に失敗しました</string >
9- <string name =" format_update_complete" >%sを更新しました</string >
109 <string name =" format_update_failure" >更新 %1$s: %2$s </string >
1110 <string name =" running" >実行中</string >
1211 <string name =" loading" >読み込み中</string >
Original file line number Diff line number Diff line change 66 <string name =" profile_process_result" >구성 파일 처리 결과</string >
77 <string name =" update_successfully" >업데이트 성공</string >
88 <string name =" update_failure" >업데이트 실패</string >
9- <string name =" format_update_complete" >%s 업데이트 성공</string >
109 <string name =" format_update_failure" >업데이트 %1$s: %2$s</string >
1110 <string name =" running" >연결됨</string >
1211 <string name =" loading" >로딩중</string >
Original file line number Diff line number Diff line change 88 <string name =" profile_process_result" >Результат обработки профиля</string >
99 <string name =" update_successfully" >Успешно обновлено</string >
1010 <string name =" update_failure" >Не удалось обновить</string >
11- <string name =" format_update_complete" >Обновление %s завершено</string >
1211 <string name =" format_update_failure" >Обновление %1$s: %2$s</string >
1312 <string name =" running" >Работает</string >
1413 <string name =" loading" >Загружается</string >
Original file line number Diff line number Diff line change 22<resources >
33 <string name =" clash_service_status_channel" >Clash 狀態</string >
44 <string name =" running" >正在運行</string >
5- <string name =" format_update_complete" >更新 %s 成功</string >
65 <string name =" format_update_failure" >"更新 %1$s: %2$s "</string >
76 <string name =" clash_meta_for_android" >Clash Meta for Android</string >
87 <string name =" profiles_and_providers" >配置文件和外部資源</string >
Original file line number Diff line number Diff line change 22<resources >
33 <string name =" clash_service_status_channel" >Clash 狀態</string >
44 <string name =" running" >正在運作</string >
5- <string name =" format_update_complete" >更新 %s 成功</string >
65 <string name =" format_update_failure" >"更新 %1$s: %2$s "</string >
76 <string name =" clash_meta_for_android" >Clash Meta for Android</string >
87 <string name =" profiles_and_providers" >設定檔和外部資源</string >
Original file line number Diff line number Diff line change 22<resources >
33 <string name =" clash_service_status_channel" >Clash 状态</string >
44 <string name =" running" >正在运行</string >
5- <string name =" format_update_complete" >更新 %s 成功</string >
65 <string name =" format_update_failure" >"更新 %1$s: %2$s "</string >
76 <string name =" clash_meta_for_android" >Clash Meta for Android</string >
87 <string name =" profiles_and_providers" >配置文件和外部资源</string >
Original file line number Diff line number Diff line change 88 <string name =" profile_process_result" >Profile Process Result</string >
99 <string name =" update_successfully" >Update Successfully</string >
1010 <string name =" update_failure" >Update Failure</string >
11- <string name =" format_update_complete" >Update %s completed</string >
1211 <string name =" format_update_failure" >Update %1$s: %2$s</string >
1312 <string name =" running" >Running</string >
1413 <string name =" loading" >Loading</string >
You can’t perform that action at this time.
0 commit comments