File: translate_generation.sh

package info (click to toggle)
deepin-calculator 5.7.21-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,352 kB
  • sloc: cpp: 32,583; ansic: 8,715; sh: 44; makefile: 15
file content (11 lines) | stat: -rwxr-xr-x 231 bytes parent folder | download | duplicates (4)
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