aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/l10n/ru.js
diff options
context:
space:
mode:
authorNextcloud bot <bot@nextcloud.com>2019-12-22 02:28:34 +0000
committerNextcloud bot <bot@nextcloud.com>2019-12-22 02:28:34 +0000
commitc81e05db98c6bc0b6107d3666f38adab33b70a48 (patch)
treee73e3395034ba53c1914a21550dd3d13dbb59ce6 /apps/files_external/l10n/ru.js
parentd1cf6aa71ae28ec014c4d27090e161010cd89e01 (diff)
downloadnextcloud-server-c81e05db98c6bc0b6107d3666f38adab33b70a48.tar.gz
nextcloud-server-c81e05db98c6bc0b6107d3666f38adab33b70a48.zip
[tx-robot] updated from transifex
Diffstat (limited to 'apps/files_external/l10n/ru.js')
-rw-r--r--apps/files_external/l10n/ru.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_external/l10n/ru.js b/apps/files_external/l10n/ru.js
index 0c2063eb24b..82aa59c1376 100644
--- a/apps/files_external/l10n/ru.js
+++ b/apps/files_external/l10n/ru.js
@@ -121,6 +121,7 @@ OC.L10N.register(
"Name" : "Имя",
"Storage type" : "Тип хранилища",
"Scope" : "Область",
+ "Open documentation" : "Открыть документацию",
"External storage enables you to mount external storage services and devices as secondary Nextcloud storage devices. You may also allow users to mount their own external storage services." : "Внешнее хранилище позволяет подключать внешние устройства хранения и устройства в качестве вторичных устройств хранения Nextcloud. Вы также можете разрешить пользователям устанавливать собственные внешние службы хранения.",
"Folder name" : "Имя папки",
"External storage" : "Внешнее хранилище",
me.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
<!--
  - @copyright Copyright (c) 2023 John Molakvoæ <skjnldsv@protonmail.com>
  -
  - @author John Molakvoæ <skjnldsv@protonmail.com>
  -
  - @license GNU AGPL version 3 or any later version
  -
  - This program is free software: you can redistribute it and/or modify
  - it under the terms of the GNU Affero General Public License as
  - published by the Free Software Foundation, either version 3 of the
  - License, or (at your option) any later version.
  -
  - This program is distributed in the hope that it will be useful,
  - but WITHOUT ANY WARRANTY; without even the implied warranty of
  - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  - GNU Affero General Public License for more details.
  -
  - You should have received a copy of the GNU Affero General Public License
  - along with this program. If not, see <http://www.gnu.org/licenses/>.
  -
  -->
<template>
	<span />
</template>

<script lang="ts">
/**
 * This component is used to render custom
 * elements provided by an API. Vue doesn't allow
 * to directly render an HTMLElement, so we can do
 * this magic here.
 */
export default {
	name: 'CustomElementRender',
	props: {
		source: {
			type: Object,
			required: true,
		},
		currentView: {
			type: Object,
			required: true,
		},
		render: {
			type: Function,
			required: true,
		},
	},
	watch: {
		source() {
			this.updateRootElement()
		},
		currentView() {
			this.updateRootElement()
		},
	},
	mounted() {
		this.updateRootElement()
	},
	methods: {
		async updateRootElement() {
			const span = document.createElement('span') as HTMLSpanElement
			this.$el.replaceWith(span)
			this.$el = span

			const element = await this.render(this.source, this.currentView)
			if (element) {
				this.$el.replaceWith(element)
				this.$el = element
			}
		},
	},
}
</script>