File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,17 +109,17 @@ serve:
109109
110110.PHONY : progress
111111progress :
112- ifeq ($( file) ,)
113- @echo " No file specified, showing total progress" ; \
114- @$(PYTHON ) -c ' import sys; print("{:.1%}".format(int(sys.argv[1]) / int(sys.argv[2])))' \
115- $(shell msgcat * .po * /* .po | msgattrib --translated | grep -c '^msgid') \
116- $(shell msgcat * .po * /* .po | grep -c '^msgid')
117-
118- else
119- @$(PYTHON) -c 'import sys; print("{:.1%}".format(int(sys.argv[1]) / int(sys.argv[2])))' \
120- $(shell msgcat $(file) | msgattrib --translated | grep -c '^msgid') \
121- $(shell msgcat $(file) | grep -c '^msgid')
122- endif
112+ ifeq ($(file ) ,)
113+ @echo ( "No file specified, showing total progress"; \
114+ @$(PYTHON) -c 'import sys; print("{:.1%}".format(int(sys.argv[1]) / int(sys.argv[2])))' \
115+ $(shell msgcat *.po */*.po | msgattrib --translated | grep -c '^msgid') \
116+ $(shell msgcat *.po */*.po | grep -c '^msgid')
117+
118+ else
119+ @$(PYTHON) -c 'import sys; print("{:.1%}".format(int(sys.argv[1]) / int(sys.argv[2])))' \
120+ $(shell msgcat $(file) | msgattrib --translated | grep -c '^msgid') \
121+ $(shell msgcat $(file) | grep -c '^msgid')
122+ endif
123123
124124
125125.PHONY : todo
You can’t perform that action at this time.
0 commit comments