forked from telegramdesktop/tdesktop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
745f89d
commit 0854dba
Showing
23 changed files
with
2,470 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* | ||
This file is part of Telegram Desktop, | ||
the official desktop version of Telegram messaging app, see https://telegram.org | ||
|
||
Telegram Desktop is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
|
||
It 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 General Public License for more details. | ||
|
||
Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE | ||
Copyright (c) 2014 John Preston, https://desktop.telegram.org | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
set -e | ||
FullExecPath=$PWD | ||
pushd `dirname $0` > /dev/null | ||
FullScriptPath=`pwd` | ||
popd > /dev/null | ||
|
||
if [ ! -d "$FullScriptPath/../../../../TelegramPrivate" ]; then | ||
echo "" | ||
echo "This script is for building the production version of Telegram Desktop." | ||
echo "" | ||
echo "For building custom versions please visit the build instructions page at:" | ||
echo "https://github.com/telegramdesktop/tdesktop/#build-instructions" | ||
exit | ||
fi | ||
|
||
Error () { | ||
cd $FullExecPath | ||
echo "$1" | ||
exit 1 | ||
} | ||
|
||
cd $FullScriptPath/../../../../ | ||
while IFS='' read -r line || [[ -n "$line" ]]; do | ||
tx pull -f -l $line --minimum-perc=100 | ||
done < tdesktop/Telegram/Resources/langs/list | ||
cd translations/telegram-desktop.langstrings/ | ||
for file in *.strings; do | ||
iconv -f "UTF-16LE" -t "UTF-8" "$file" > "../../tdesktop/Telegram/Resources/langs/lang_$file.tmp" | ||
awk '{ if (NR==1) sub(/^\xef\xbb\xbf/,""); sub(/ | ||
/,""); print }' "../../tdesktop/Telegram/Resources/langs/lang_$file.tmp" > "../../tdesktop/Telegram/Resources/langs/lang_$file" | ||
rm "../../tdesktop/Telegram/Resources/langs/lang_$file.tmp" | ||
done | ||
touch $FullScriptPath/../telegram.qrc | ||
|
||
cd $FullExecPath |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* | ||
This file is part of Telegram Desktop, | ||
the official desktop version of Telegram messaging app, see https://telegram.org | ||
|
||
Telegram Desktop is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
|
||
It 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 General Public License for more details. | ||
|
||
Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE | ||
Copyright (c) 2014 John Preston, https://desktop.telegram.org | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* | ||
This file is part of Telegram Desktop, | ||
the official desktop version of Telegram messaging app, see https://telegram.org | ||
|
||
Telegram Desktop is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
|
||
It 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 General Public License for more details. | ||
|
||
Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE | ||
Copyright (c) 2014 John Preston, https://desktop.telegram.org | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* | ||
This file is part of Telegram Desktop, | ||
the official desktop version of Telegram messaging app, see https://telegram.org | ||
|
||
Telegram Desktop is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
|
||
It 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 General Public License for more details. | ||
|
||
Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE | ||
Copyright (c) 2014 John Preston, https://desktop.telegram.org | ||
*/ |
Oops, something went wrong.