[build] Fix up POTFILES.in and add sort-potfiles script
This commit is contained in:
parent
516f2eba85
commit
047f3799cd
|
@ -1,5 +1,8 @@
|
||||||
|
# List of source files containing translatable strings.
|
||||||
|
# Please keep this file in alphabetical order; run ./sort-potfiles
|
||||||
|
# after adding files here.
|
||||||
|
[encoding: UTF-8]
|
||||||
SparkleShare/SparkleBubble.cs
|
SparkleShare/SparkleBubble.cs
|
||||||
SparkleShare/SparkleBubble.osx.cs
|
|
||||||
SparkleShare/SparkleDialog.cs
|
SparkleShare/SparkleDialog.cs
|
||||||
SparkleShare/SparkleHelpers.cs
|
SparkleShare/SparkleHelpers.cs
|
||||||
SparkleShare/SparklePaths.cs
|
SparkleShare/SparklePaths.cs
|
||||||
|
@ -10,4 +13,3 @@ SparkleShare/SparkleSpinner.cs
|
||||||
SparkleShare/SparkleStatusIcon.cs
|
SparkleShare/SparkleStatusIcon.cs
|
||||||
SparkleShare/SparkleUI.cs
|
SparkleShare/SparkleUI.cs
|
||||||
SparkleShare/SparkleWindow.cs
|
SparkleShare/SparkleWindow.cs
|
||||||
|
|
||||||
|
|
6
po/sort-potfiles
Executable file
6
po/sort-potfiles
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
head -n 4 < POTFILES.in > POTFILES.in.tmp
|
||||||
|
grep -v "^[\\[#]" < POTFILES.in | sort >> POTFILES.in.tmp
|
||||||
|
mv POTFILES.in.tmp POTFILES.in
|
||||||
|
|
Loading…
Reference in a new issue