aboutsummaryrefslogtreecommitdiffstats
path: root/core/l10n/sc.js
diff options
context:
space:
mode:
authorNextcloud bot <bot@nextcloud.com>2024-10-22 11:39:27 +0000
committerNextcloud bot <bot@nextcloud.com>2024-10-22 11:39:27 +0000
commiteb5e392095cb74846b726b072fb86065be1d4218 (patch)
treeb8b25b49dca676cc29071e46668baec8fc45718a /core/l10n/sc.js
parent06c1328ce7e5fbbaf640cdfb530e07eaf6db826f (diff)
downloadnextcloud-server-eb5e392095cb74846b726b072fb86065be1d4218.tar.gz
nextcloud-server-eb5e392095cb74846b726b072fb86065be1d4218.zip
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Diffstat (limited to 'core/l10n/sc.js')
-rw-r--r--core/l10n/sc.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/l10n/sc.js b/core/l10n/sc.js
index 70c90ab6af9..3c9b730766f 100644
--- a/core/l10n/sc.js
+++ b/core/l10n/sc.js
@@ -288,8 +288,8 @@ OC.L10N.register(
"Go to %s" : "Bae a %s",
"Get your own free account" : "Otene su contu tuo a gratis",
"Connect to your account" : "Connete·ti a su contu tuo",
- "Please log in before granting %1$s access to your %2$s account." : "Faghe s'atzessu prima de permìtere a %1$s de intrare a su %2$s contu tuo.",
- "If you are not trying to set up a new device or app, someone is trying to trick you into granting them access to your data. In this case do not proceed and instead contact your system administrator." : "Chi non ses chirchende de cunfigurare unu dispositivu o un'aplicatzione noa, calicunu est proende a si fàghere dare atzessu a is datos tuos. In custu casu, nos sigas e cuntata s'amministratzione de su sistema tuo.",
+ "Please log in before granting %1$s access to your %2$s account." : "Faghe s'atzessu prima de permìtere a %1$s de intrare a su contu tuo de %2$s.",
+ "If you are not trying to set up a new device or app, someone is trying to trick you into granting them access to your data. In this case do not proceed and instead contact your system administrator." : "Si non ses chirchende de cunfigurare unu dispositivu o un'aplicatzione noa, un'àtera persone est proende a si fàghere dare atzessu a is datos tuos. In custu casu, non sigas e cuntata s'amministratzione de su sistema tuo.",
"App password" : "Crae de s'aplicatzione",
"Grant access" : "Dona atzessu",
"Alternative log in using app password" : "Identificatzione alternativa cun crae de s'aplicatzione",
@@ -346,6 +346,8 @@ OC.L10N.register(
"Currently open" : "Abertos immoe",
"Wrong username or password." : "Nùmene utente o crae isballiada.",
"User disabled" : "Utèntzia disativada",
+ "Login with username or email" : "Atzede cun nùmene de utente o indiritzu de posta eletrònica",
+ "Login with username" : "Atzede cun nùmene de utente",
"Username or email" : "Nùmene utente o indiritzu de posta",
"Apps and Settings" : "Aplicatziones e cunfiguratziones",
"Error loading message template: {error}" : "Errore in su carrigamentu de su modellu de messàgiu: {error}",
xt.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 (c) 2015
 *
 * This file is licensed under the Affero General Public License version 3
 * or later.
 *
 * See the COPYING-README file.
 *
 */

/* globals Handlebars */

(function() {
	if (!OC.Share) {
		OC.Share = {};
	}

	var TEMPLATE =
		'<span class="reshare">' +
		'    <div class="avatar" data-userName="{{reshareOwner}}"></div>' +
		'    {{sharedByText}}' +
		'</span><br/>'
		;

	/**
	 * @class OCA.Share.ShareDialogView
	 * @member {OC.Share.ShareItemModel} model
	 * @member {jQuery} $el
	 * @memberof OCA.Sharing
	 * @classdesc
	 *
	 * Represents the GUI of the share dialogue
	 *
	 */
	var ShareDialogResharerInfoView = OC.Backbone.View.extend({
		/** @type {string} **/
		id: 'shareDialogResharerInfo',

		/** @type {string} **/
		tagName: 'div',

		/** @type {string} **/
		className: 'reshare',

		/** @type {OC.Share.ShareConfigModel} **/
		configModel: undefined,

		/** @type {Function} **/
		_template: undefined,

		initialize: function(options) {
			var view = this;

			this.model.on('change:reshare', function() {
				view.render();
			});

			if(!_.isUndefined(options.configModel)) {
				this.configModel = options.configModel;
			} else {
				throw 'missing OC.Share.ShareConfigModel';
			}
		},

		render: function() {
			if (!this.model.hasReshare()
				|| this.model.getReshareOwner() === OC.currentUser)
			{
				this.$el.empty();
				return this;
			}

			var reshareTemplate = this.template();
			var ownerDisplayName = this.model.getReshareOwnerDisplayname();
			var sharedByText = '';
			if (this.model.getReshareType() === OC.Share.SHARE_TYPE_GROUP) {
				sharedByText = t(
					'core',
					'Shared with you and the group {group} by {owner}',
					{
						group: this.model.getReshareWithDisplayName(),
						owner: ownerDisplayName
					},
					undefined,
					{escape: false}
				);
			}  else {
				sharedByText = t(
					'core',
					'Shared with you by {owner}',
					{ owner: ownerDisplayName },
					undefined,
					{escape: false}
				);
			}

			this.$el.html(reshareTemplate({
				reshareOwner: this.model.getReshareOwner(),
				sharedByText: sharedByText
			}));

			this.$el.find('.avatar').each(function() {
				var $this = $(this);
				$this.avatar($this.data('username'), 32);
			});

			this.$el.find('.reshare').contactsMenu(
				this.model.getReshareOwner(),
				OC.Share.SHARE_TYPE_USER,
				this.$el);

			return this;
		},

		/**
		 * @returns {Function} from Handlebars
		 * @private
		 */
		template: function () {
			if (!this._template) {
				this._template = Handlebars.compile(TEMPLATE);
			}
			return this._template;
		}

	});

	OC.Share.ShareDialogResharerInfoView = ShareDialogResharerInfoView;

})();