#!/usr/bin/python import polib import binascii import getopt import sys import os.path from subprocess import check_output try: myopts, args = getopt.getopt(sys.argv[1:], "i:o:") except getopt.GetoptError as e: print(" Syntax: hrcex -i FileIn -o FileOut") print(" FileIn: Source files (*.ui)") print(" FileOut: Destination file (*.*)") sys.exit(2) for o, a in myopts: if o == '-i': ifile = a elif o == '-o': ofile = a with open(ofile, "a") as output: input = check_output(["xgettext", "-C", "--add-comments", "--keyword=NC_:1c,2", "--from-code=UTF-8", "--no-wrap", ifile, "-o", "-"]) po = polib.pofile(input) if len(po) != 0: print >> output, "" for entry in po: keyid = entry.msgctxt + '|' + entry.msgid print >> output, '#. ' + polib.genKeyId(keyid) for i, occurrence in enumerate(entry.occurrences): entry.occurrences[i] = os.path.relpath(occurrence[0], os.environ['SRCDIR']), occurrence[1] print >> output, entry n> LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/svx/source/table/tablecolumn.cxx
class='decoration'>
AgeCommit message (Expand)Author
2022-07-21clang-tidy modernize-pass-by-value in svxNoel Grandin
Sahil Gautam
2024-11-06win: Prefer integers instead of strings for OS version comparisonMichael Weghorn
2024-10-22tdf#152534 Win 11 Dark: Draw toolbar button bg + frame manuallyMichael Weghorn