Skip to content

Commit fb56880

Browse files
committed
feat: update texts
1 parent df8a286 commit fb56880

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

config/locales/client.en.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ en:
77
onlyoffice_create_form:
88
title: "Create new File"
99
filename_label: "File name:"
10-
filename_placeholder: "Enter document name (optional)"
10+
filename_placeholder: "Enter file name (optional)"
1111
select_type: "Select type:"
1212
create_button: "Create File"
1313
document_type_docx: "Document"
@@ -43,6 +43,7 @@ en:
4343
no_permissions: "No permissions set."
4444
remove: "Remove permission"
4545
can_edit: "Can Edit"
46+
close: "Close"
4647
onlyoffice_editor:
4748
loading: "Loading editor..."
4849
error: "Failed to load editor"

config/locales/client.ru.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ru:
77
onlyoffice_create_form:
88
title: "Создать новый файл"
99
filename_label: "Имя файла:"
10-
filename_placeholder: "Введите название документа (необязательно)"
10+
filename_placeholder: "Введите название файла (необязательно)"
1111
select_type: "Выберите тип:"
1212
create_button: "Создать файл"
1313
document_type_docx: "Документ"
@@ -43,6 +43,7 @@ ru:
4343
no_permissions: "Права не установлены."
4444
remove: "Удалить права"
4545
can_edit: "Может редактировать"
46+
close: "Закрыть"
4647
onlyoffice_editor:
4748
loading: "Загрузка редактора..."
4849
error: "Не удалось загрузить редактор"

config/locales/server.en.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
en:
22
site_settings:
33
onlyoffice_connector_enabled: "Enable ONLYOFFICE plugin."
4-
Connect_to_demo_ONLYOFFICE_Docs_server: "This is a public test server, please do not use it for private sensitive data. The server will be available during a 30-day period."
54
onlyoffice_connector:
65
demo:
76
enabled_notice: "You are successfully connected to the demo server. It will be available until %{date}. To disable it, uncheck the box."
@@ -11,3 +10,4 @@ en:
1110
Server_address_for_internal_requests_from_ONLYOFFICE_Docs: "Fill in only when using internal routing between the Discourse server and ONLYOFFICE Docs, without relying on public addresses"
1211
ONLYOFFICE_Docs_secret_key: "Use the auto-generated JWT secret key or set your own here and the same one in the ONLYOFFICE Docs config file."
1312
JWT_header: "Leave blank to use default header"
13+
Connect_to_demo_ONLYOFFICE_Docs_server: "This is a public test server, please do not use it for private sensitive data. The server will be available during a 30-day period."

config/settings.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ plugins:
33
default: true
44
client: true
55

6-
Connect_to_demo_ONLYOFFICE_Docs_server:
7-
default: false
8-
client: true
9-
106
ONLYOFFICE_Docs_address:
117
default: 'http://localhost'
128
client: true
@@ -22,4 +18,7 @@ plugins:
2218
default: 'http://localhost'
2319
client: true
2420
ONLYOFFICE_connector_auto_authorize_extensions:
25-
default: true
21+
default: true
22+
Connect_to_demo_ONLYOFFICE_Docs_server:
23+
default: false
24+
client: true

0 commit comments

Comments
 (0)