Skip to content

Instantly share code, notes, and snippets.

@CyberMew
CyberMew / generate-settings-strings.command
Last active January 5, 2024 13:58 — forked from simonwhitaker/generate-settings-strings.sh
Generate a basic .strings file for each .plist of an iOS Settings.bundle
#!/bin/bash
# NB: next line assumes that this script is in the root
# of your Settings.bundle directory. Feel free to adapt
# accordingly.
# Reference from https://gist.github.com/simonwhitaker/2310061
#base_dir=$(cd `dirname $0` && pwd)
base_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"