Skip to content

Commit

Permalink
Moved hardcoded strings to Localizable.strings
Browse files Browse the repository at this point in the history
Made some changes in CyDelete.plist to transform the hardcoded strings
in to localizable ones.
Moved the texts to en.lproj and pt_PT.lproj Localizable.strings.
  • Loading branch information
pedro-mendonca committed Nov 19, 2014
1 parent 772eaa8 commit f1c9fdd
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 10 deletions.
14 changes: 4 additions & 10 deletions CyDelete/Resources/CyDelete.plist
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<key>cell</key>
<string>PSGroupCell</string>
<key>label</key>
<string>Settings</string>
<string>SETTINGS_TITLE</string>
</dict>
<dict>
<key>cell</key>
Expand All @@ -20,7 +20,7 @@
<key>key</key>
<string>enabled</string>
<key>label</key>
<string>Enabled</string>
<string>ENABLED</string>
</dict>
<dict>
<key>cell</key>
Expand Down Expand Up @@ -64,13 +64,7 @@
<key>cell</key>
<string>PSGroupCell</string>
<key>footerText</key>
<string>
There is no DRM protection on this application but please help support future development (my coffee fund) by donating via PayPal.
CyDelete8 © 2014 Ryan Burke
CyDelete © 2009-2011 Dustin L. Howett
Released under the GPLv3 Licence.
</string>
<string>NO_DRM_DONATE_COPYRIGHT</string>
</dict>
<dict>
<key>action</key>
Expand All @@ -86,7 +80,7 @@ Released under the GPLv3 Licence.
<key>cell</key>
<string>PSButtonCell</string>
<key>label</key>
<string>Source Code</string>
<string>SOURCE_CODE</string>
</dict>
</array>
<key>title</key>
Expand Down
13 changes: 13 additions & 0 deletions CyDelete/Resources/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,18 @@
<string>Protected Applications</string>
<key>PROTECTED_WARNING</key>
<string>Deleting all of these applications will leave you without a Graphical Interface for installing packages, and is NOT recommended.</string>
<key>ENABLED</key>
<string>Enabled</string>
<key>SETTINGS_TITLE</key>
<string>Settings</string>
<key>NO_DRM_DONATE_COPYRIGHT</key>
<string>
There is no DRM protection on this application but please help support future development (my coffee fund) by donating via PayPal.

CyDelete8 © 2014 Ryan Burke
CyDelete © 2009-2011 Dustin L. Howett
Released under the GPLv3 Licence.</string>
<key>SOURCE_CODE</key>
<string>Source Code</string>
</dict>
</plist>
13 changes: 13 additions & 0 deletions CyDelete/Resources/pt_PT.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,18 @@
<string>Aplicações protegidas</string>
<key>PROTECTED_WARNING</key>
<string>Eliminar todas estas aplicações vai deixá-lo sem Interface Gráfico para instalar pacotes, NÃO é recomendado.</string>
<key>ENABLED</key>
<string>Activado</string>
<key>SETTINGS_TITLE</key>
<string>Definições</string>
<key>NO_DRM_DONATE_COPYRIGHT</key>
<string>
Não há protecção DRM nesta aplicação, por favor apoie o desenvolvimento futuro (o meu fundo para café) ao doar via PayPal.

CyDelete8 © 2014 Ryan Burke
CyDelete © 2009-2011 Dustin L. Howett
Disponibilizado sob licença GPLv3.</string>
<key>SOURCE_CODE</key>
<string>Código fonte</string>
</dict>
</plist>

0 comments on commit f1c9fdd

Please sign in to comment.