#!/bin/bash if [ "$#" != "2" ] then echo "Usage: $0 " echo "If the runtime version contains the string 'vaadin', then a vaadin atmosphere version will be assumed, otherwise an upstream atmosphere version". echo "If a version is set to -, the version will not be updated" exit 1 fi pushd `dirname $0`/.. > /dev/null basedir=`pwd` popd > /dev/null currentRuntime=`grep ENTITY "$basedir"/push/ivy.xml|grep runtime.version|cut -d\" -f 2` currentJs=`grep ENTITY "$basedir"/push/ivy.xml|grep js.version|cut -d\" -f 2` sed=`which sed` uname|grep Darwin > /dev/null if [ "$?" = "0" ] then # Mac if uname output contains Darwin sed=`which gsed` if [ "$sed" = "" ] then echo "Install gnu sed (gsed) using e.g. brew install gnu-sed" exit 2 fi fi echo "Currently using runtime $currentRuntime and JS $currentJs" newRuntime=$1 newJs=$2 if [ "$newRuntime" != "-" ] then echo "Updating runtime to $newRuntime..." $sed -i "s#$currentRuntime#$newRuntime#" "$basedir"/push/ivy.xml $sed -i "s/$currentRuntime/$newRuntime/g" "$basedir"/push/build.xml $sed -i "s/$currentRuntime/$newRuntime/g" "$basedir"/server/src/com/vaadin/server/Constants.java if [[ $newRuntime == *"vaadin"* ]] then $sed -i "s/org.atmosphere/com.vaadin.external.atmosphere/g" "$basedir"/push/ivy.xml else $sed -i "s/com.vaadin.external.atmosphere/org.atmosphere/g" "$basedir"/push/ivy.xml fi fi if [ "$newJs" != "-" ] then echo "Updating JS to $newJs..." $sed -i "s/$currentJs/$newJs/g" "$basedir"/push/ivy.xml fi u-overflow'>Fix/app-menu-overflow Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
aboutsummaryrefslogtreecommitdiffstats
blob: 80894ad4d40a4329825ad8a5aafc934d37052e75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
OC.L10N.register(
    "federation",
    {
    "Added to the list of trusted servers" : "已加入信任伺服器清單",
    "Server is already in the list of trusted servers." : "伺服器已經在信任清單內",
    "No server to federate with found" : "沒有找到可結盟的伺服器",
    "Could not add server" : "無法加入伺服器",
    "Trusted servers" : "信任的伺服器",
    "Federation" : "聯盟",
    "Federation allows you to connect with other trusted servers to exchange the account directory." : "聯盟功能允許您與信任的伺服器連結,交換帳戶目錄。",
    "Federation allows you to connect with other trusted servers to exchange the account directory. For example this will be used to auto-complete external accounts for federated sharing." : "聯盟功能允許您與信任的伺服器連結,交換帳戶目錄。舉例來說,與其他雲端聯盟的帳戶分享檔案時,有了這一份列表,就可以在輸入框搜尋他們的帳戶名稱。",
    "Federation allows you to connect with other trusted servers to exchange the account directory. For example this will be used to auto-complete external accounts for federated sharing. It is not necessary to add a server as trusted server in order to create a federated share." : "聯盟功能允許您與信任的伺服器連結,交換帳戶目錄。舉例來說,與其他雲端聯盟的用戶分享檔案時,有了這一份目錄,就可以在輸入框搜尋他們的帳戶名稱。不必將伺服器新增為受信任的伺服器就可以建立聯盟分享。",
    "+ Add trusted server" : "+ 加入信任的伺服器",
    "Trusted server" : "信任的伺服器",
    "Add" : "新增",
    "Federation allows you to connect with other trusted servers to exchange the user directory." : "聯盟功能允許您與信任的伺服器連結,交換用戶列表。",
    "Federation allows you to connect with other trusted servers to exchange the user directory. For example this will be used to auto-complete external users for federated sharing." : "聯盟功能允許您與信任的伺服器連結,交換用戶列表。舉例來說,與其他雲端聯盟的用戶分享檔案時,有了這一份列表,就可以在輸入框搜尋他們的用戶名稱。",
    "Federation allows you to connect with other trusted servers to exchange the user directory. For example this will be used to auto-complete external users for federated sharing. It is not necessary to add a server as trusted server in order to create a federated share." : "聯盟功能允許您與信任的伺服器連結,交換用戶列表。舉例來說,與其他雲端聯盟的用戶分享檔案時,有了這一份列表,就可以在輸入框搜尋他們的用戶名稱。不必將伺服器新增為受信任的伺服器就可以建立聯盟分享。"
},
"nplurals=1; plural=0;");