summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2013-01-25 16:11:07 +0100
committerLukas Reschke <lukas@statuscode.ch>2013-01-25 16:11:07 +0100
commit047f1988c3d3831e46504e0083372602a3f5446b (patch)
tree282af0690052a911d2c93e9f47ccf4493d2b0f23 /core
parentff4d62132af1950c77a6fb56bc16e3cc9d3a83a0 (diff)
parent688fe0baa89f0150f3c8123c64d7cff5caa0511b (diff)
downloadnextcloud-server-047f1988c3d3831e46504e0083372602a3f5446b.tar.gz
nextcloud-server-047f1988c3d3831e46504e0083372602a3f5446b.zip
Merge branch 'master' into no-inline-js
Diffstat (limited to 'core')
-rw-r--r--core/js/js.js21
-rw-r--r--core/l10n/sr.php8
2 files changed, 28 insertions, 1 deletions
diff --git a/core/js/js.js b/core/js/js.js
index 6241036b1b8..6e0a405114b 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -101,6 +101,27 @@ var OC={
return OC.filePath(app,'',file);
},
/**
+ * Creates an url for remote use
+ * @param string $service id
+ * @return string the url
+ *
+ * Returns a url to the given service.
+ */
+ linkToRemoteBase:function(service) {
+ return OC.webroot + '/remote.php/' + service;
+ },
+ /**
+ * @brief Creates an absolute url for remote use
+ * @param string $service id
+ * @param bool $add_slash
+ * @return string the url
+ *
+ * Returns a absolute url to the given service.
+ */
+ linkToRemote:function(service) {
+ return window.location.protocol + '//' + window.location.host + OC.linkToRemoteBase(service);
+ },
+ /**
* get the absolute url for a file in an app
* @param app the id of the app
* @param type the type of the file to link to (e.g. css,img,ajax.template)
diff --git a/core/l10n/sr.php b/core/l10n/sr.php
index 6b64d1957e7..e55ad9250ab 100644
--- a/core/l10n/sr.php
+++ b/core/l10n/sr.php
@@ -1,4 +1,6 @@
<?php $TRANSLATIONS = array(
+"User %s shared a file with you" => "Корисник %s дели са вама датотеку",
+"User %s shared a folder with you" => "Корисник %s дели са вама директоријум",
"Category type not provided." => "Врста категорије није унет.",
"No category to add?" => "Додати још неку категорију?",
"This category already exists: " => "Категорија већ постоји:",
@@ -39,6 +41,7 @@
"Share with link" => "Подели линк",
"Password protect" => "Заштићено лозинком",
"Password" => "Лозинка",
+"Send" => "Пошаљи",
"Set expiration date" => "Постави датум истека",
"Expiration date" => "Датум истека",
"Share via email:" => "Подели поштом:",
@@ -55,6 +58,8 @@
"Password protected" => "Заштићено лозинком",
"Error unsetting expiration date" => "Грешка код поништавања датума истека",
"Error setting expiration date" => "Грешка код постављања датума истека",
+"Sending ..." => "Шаљем...",
+"Email sent" => "Порука је послата",
"ownCloud password reset" => "Поништавање лозинке за ownCloud",
"Use the following link to reset your password: {link}" => "Овом везом ресетујте своју лозинку: {link}",
"You will receive a link to reset your password via Email." => "Добићете везу за ресетовање лозинке путем е-поште.",
@@ -118,5 +123,6 @@
"remember" => "упамти",
"Log in" => "Пријава",
"prev" => "претходно",
-"next" => "следеће"
+"next" => "следеће",
+"Updating ownCloud to version %s, this may take a while." => "Надоградња ownCloud-а на верзију %s, сачекајте тренутак."
);