Skip to content

Commit

Permalink
Documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
nijel committed Apr 27, 2015
1 parent 6f51c54 commit 8ea0442
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/hook-replace-single-quotes
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/sh

sed "s/\([^']\|^\)'\([^']\|$\)/\1''\2/g" -i ${1%.po}
# Example Weblate hook to replace single quotes with ''

sed "s/\([^']\|^\)'\([^']\|$\)/\1''\2/g" -i ${1%.po}

0 comments on commit 8ea0442

Please sign in to comment.