File: update_trans.py

package info (click to toggle)
mnemosyne 2.7.3%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 9,804 kB
  • sloc: python: 34,077; ansic: 837; xml: 625; makefile: 249; sh: 63
file content (8 lines) | stat: -rwxr-xr-x 225 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
#! /usr/bin/python

import os

for filename in os.listdir("."):
    if filename.endswith("po"):
        print(filename)
        os.system ("msgmerge --no-fuzzy-matching " + filename + " mnemosyne.pot -o " + filename)