# # This file is part of the LibreOffice project. # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # # Generate XSL equivalent for Colibre icon images from link.txt # import sys try: # open file stream file_icon = open(sys.argv[1], "r") except IOError: print("There was an error reading", file_icon) sys.exit() try: # open file stream file_xsl = open(sys.argv[2], "w+") except IOError: print("There was an error writing", file_xsl) sys.exit() file_xsl.write('\n'); file_xsl.write('\n'); file_xsl.write('\n'); file_xsl.write('\n'); file_xsl.write('\n') for line in file_icon: if line[0] != "#" : if line.find('png',0, len(line)) != -1 : a = "\'" + line.split()[0] + "\'"; b = line.split()[1].replace(".png",".svg"); file_xsl.write(''+ b + '\n'); file_xsl.write('\n'); file_xsl.write('\n'); file_xsl.write('\n'); file_xsl.write('\n'); file_xsl.close() file_icon.close() sys.exit() o-24.04'>distro/collabora/co-24.04 LibreOffice 界面翻译代码仓库文档基金会
aboutsummaryrefslogtreecommitdiff
path: root/source/eo
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2017-12-18 12:03:56 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2017-12-18 12:07:23 +0100
commit9a856d562ebae5d1ae691ec623cf4ebb23299930 (patch)
tree532a7bfe8768b8e8f6fb536db66604e678508857 /source/eo
parent28cfef34df86f518e0d03f4d2fd18bfe2916d982 (diff)
update translations for 6.0/master