Skip to content

Instantly share code, notes, and snippets.

@antongaenko
Last active August 29, 2015 14:19
Show Gist options
  • Select an option

  • Save antongaenko/f6a8fe566c8101ef0912 to your computer and use it in GitHub Desktop.

Select an option

Save antongaenko/f6a8fe566c8101ef0912 to your computer and use it in GitHub Desktop.

Revisions

  1. antongaenko revised this gist Jul 6, 2015. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions scripts.sh
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,5 @@
    // make .strings from all NSLocalizedString occuerences
    find ./ -name "*.m" -print0 | xargs -0 genstrings

    // Count words in a file for localization cost estimate
    cat Localizable.strings | grep ';$' | awk -F= '{ print $2 }' | wc -w
  2. adr-enal-in created this gist Feb 24, 2013.
    2 changes: 2 additions & 0 deletions scripts.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    // Count words in a file for localization cost estimate
    cat Localizable.strings | grep ';$' | awk -F= '{ print $2 }' | wc -w