@@ -377,7 +377,7 @@ func (a *obexAgent) notifyProgress(notify notifications.Notifications, replaceID
377377 hints := map [string ]dbus.Variant {"suppress-sound" : dbus .MakeVariant (true )}
378378
379379 notifyID , err = notify .Notify (0 ,
380- "dde-control-center" ,
380+ gettext . Tr ( "dde-control-center" ) ,
381381 replaceID ,
382382 notifyIconBluetoothConnected ,
383383 fmt .Sprintf (gettext .Tr ("Receiving %[1]q from %[2]q" ), filename , device ),
@@ -392,7 +392,7 @@ func (a *obexAgent) notifyProgress(notify notifications.Notifications, replaceID
392392 actions = []string {"_view" , gettext .Tr ("View" )}
393393 hints := map [string ]dbus.Variant {"x-deepin-action-_view" : dbus .MakeVariant ("xdg-open," + receiveBaseDir )}
394394 notifyID , err = notify .Notify (0 ,
395- "dde-control-center" ,
395+ gettext . Tr ( "dde-control-center" ) ,
396396 replaceID ,
397397 notifyIconBluetoothConnected ,
398398 fmt .Sprintf (gettext .Tr ("You have received files from %q successfully" ), device ),
@@ -419,7 +419,7 @@ func (a *obexAgent) notifyFailed(notify notifications.Notifications, replaceID u
419419 }
420420
421421 notifyID , err := notify .Notify (0 ,
422- "dde-control-center" ,
422+ gettext . Tr ( "dde-control-center" ) ,
423423 replaceID ,
424424 notifyIconBluetoothConnectFailed ,
425425 summary ,
@@ -452,7 +452,7 @@ func (a *obexAgent) requestReceive(deviceName, filename string) (bool, error) {
452452
453453 actions := []string {"decline" , gettext .Tr ("Decline" ), "receive" , gettext .Tr ("Receive" )}
454454 notifyID , err := notify .Notify (0 ,
455- "dde-control-center" ,
455+ gettext . Tr ( "dde-control-center" ) ,
456456 0 ,
457457 notifyIconBluetoothConnected ,
458458 gettext .Tr ("Bluetooth File Transfer" ),
@@ -507,7 +507,7 @@ func (a *obexAgent) requestReceive(deviceName, filename string) (bool, error) {
507507// notifyReceiveFileTimeout 接收文件请求超时通知
508508func (a * obexAgent ) notifyReceiveFileTimeout (notify notifications.Notifications , replaceID uint32 , filename string ) {
509509 _ , err := notify .Notify (0 ,
510- "dde-control-center" ,
510+ gettext . Tr ( "dde-control-center" ) ,
511511 replaceID ,
512512 notifyIconBluetoothConnectFailed ,
513513 gettext .Tr ("Stop Receiving Files" ),
0 commit comments