Is there a way to rename "Remaining" to "Apple Juice Remaining"?

On a MacBook Pro, is there a way to change the text in the battery life drop down?

Specifically, where it says "X:XX Remaining" I want it to say "X:XX of Apple Juice Remaining"

Why? Because a good pun is its own reword.

Yes, this is a serious question. Yes, I tried googling first.

I'm currently running Mavericks, though an upgrade to Yosemite is probably in my near future.


You want to change line 92 of the xml version of /System/Library/CoreServices/Menu Extras/Battery.menu/Contents/Resources/English.lproj/Localizable.strings:

  1. Make a copy of the strings file:

    cp /System/Library/CoreServices/Menu\ Extras/Battery.menu/Contents/Resources/\
    English.lproj/Localizable.strings ~/Desktop
    
  2. Convert the binary strings file to xml:

    plutil -convert xml1 ~/Desktop/Localizable.strings
    
  3. Edit line 92 (Yosemite) of the file now on the desktop with your favourite text editor:

  4. Convert the xml strings file back to binary:

    plutil -convert binary1 ~/Desktop/Localizable.strings
    
  5. Back up your existing file! If you mess up, this will let you reverse your changes by removing -bak from the file name.

    sudo mv /System/Library/CoreServices/Menu\ Extras/Battery.menu/Contents/Resources/\
    English.lproj/Localizable.strings /System/Library/CoreServices/Menu\ Extras/\
    Battery.menu/Contents/Resources/English.lproj/Localizable.strings-bak
    
  6. Overwrite the old file with the new:

    sudo mv ~/Desktop/Localizable.strings /System/Library/CoreServices/Menu\ Extras/\
    Battery.menu/Contents/Resources/English.lproj/
    

Result: