File tree 1 file changed +3
-2
lines changed
Filter options
1 file changed +3
-2
lines changed
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import UIAlert from '../UIAlert.js'
7
7
import path from "../../lib/path.js"
8
8
import launch_app from "../../helpers/launch_app.js"
9
9
import open_item from "../../helpers/open_item.js"
10
+ import i18n from '../../i18n/i18n.js' ;
10
11
11
12
export const add_common_select_menu_items = ( menu_items , {
12
13
$selected_items,
@@ -70,7 +71,7 @@ export const add_multiple_select_menu_items = (menu_items, {
70
71
}
71
72
if ( ! are_trashed ) {
72
73
menu_items . push ( {
73
- html : 'Share With…' ,
74
+ html : i18n ( 'Share With…' ) ,
74
75
onClick : async function ( ) {
75
76
if ( window . user . is_temp &&
76
77
! await UIWindowSaveAccount ( {
@@ -349,7 +350,7 @@ export const add_single_select_menu_items = async (menu_items, {
349
350
// -------------------------------------------
350
351
if ( ! is_trashed && ! is_trash ) {
351
352
menu_items . push ( {
352
- html : 'Share With…' ,
353
+ html : i18n ( 'Share With…' ) ,
353
354
onClick : async function ( ) {
354
355
if ( window . user . is_temp &&
355
356
! await UIWindowSaveAccount ( {
You can’t perform that action at this time.
0 commit comments