Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9c14a21

Browse filesBrowse files
committed
Use i18n for "Share With..."
1 parent 880760c commit 9c14a21
Copy full SHA for 9c14a21

File tree

1 file changed

+3
-2
lines changed
Filter options

1 file changed

+3
-2
lines changed

‎src/gui/src/UI/lib/ui_item.js

Copy file name to clipboardExpand all lines: src/gui/src/UI/lib/ui_item.js
+3-2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import UIAlert from '../UIAlert.js'
77
import path from "../../lib/path.js"
88
import launch_app from "../../helpers/launch_app.js"
99
import open_item from "../../helpers/open_item.js"
10+
import i18n from '../../i18n/i18n.js';
1011

1112
export const add_common_select_menu_items = (menu_items, {
1213
$selected_items,
@@ -70,7 +71,7 @@ export const add_multiple_select_menu_items = (menu_items, {
7071
}
7172
if(!are_trashed){
7273
menu_items.push({
73-
html: 'Share With…',
74+
html: i18n('Share With…'),
7475
onClick: async function(){
7576
if(window.user.is_temp &&
7677
!await UIWindowSaveAccount({
@@ -349,7 +350,7 @@ export const add_single_select_menu_items = async (menu_items, {
349350
// -------------------------------------------
350351
if(!is_trashed && !is_trash){
351352
menu_items.push({
352-
html: 'Share With…',
353+
html: i18n('Share With…'),
353354
onClick: async function(){
354355
if(window.user.is_temp &&
355356
!await UIWindowSaveAccount({

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.