#!/usr/bin/env bash # # 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/. # # Run the script in the core directory to remove all tooltip_markup # properties from the .ui files SED_BIN=`which sed` CUT_BIN=`which cut` LOG_FILE="modified-$(date +%s).log" removeTooltipMarkup() { LINE=$(grep -n " temp && mv temp $1 echo "removed $TEXT from $1 at line $LINE" >> $LOG_FILE } changeTooltipMarkup() { LINE=$(grep -n " temp && mv temp $1 echo "renamed tooltip_markup from $1 at line $LINE" >> $LOG_FILE } checkTooltipMarkup() { TEXT=`grep " $LOG_FILE for i in **/*.ui; do echo -n "." checkTooltipMarkup "$i" done echo echo "Done!" 0'>distro/collabora/cp-4.0 LibreOffice 界面翻译代码仓库文档基金会
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2022-10-27 11:08:12 +0200
committerAndras Timar <andras.timar@collabora.com>2022-11-01 21:03:16 +0100
commitf8a9c9dd4f749477c2edd06c5e62ab78267c614e (patch)
treec1a10de7fd1778d8beaeb4e3c6f43bc88b5e73ef
parentb9f615df6f9027998b4e33e1ad401fa337b99110 (diff)
and force-fix errors using pocheck Change-Id: I276f47c878e512875a5bd5ad9032a8045d81591d