File: translate_generation.sh

package info (click to toggle)
dde-network-utils 5.4.13-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 596 kB
  • sloc: cpp: 1,797; sh: 24; makefile: 8
file content (11 lines) | stat: -rwxr-xr-x 232 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
# this file is used to auto-generate .qm file from .ts file.
# author: shibowen at linuxdeepin.com

ts_list=(`ls translations/*.ts`)

for ts in "${ts_list[@]}"
do
    printf "\nprocess ${ts}\n"
    lrelease "${ts}"
done