Skip to content
This repository has been archived by the owner on Nov 22, 2020. It is now read-only.

Singleton and Localization #19

Merged
merged 13 commits into from Apr 7, 2013
Merged

Singleton and Localization #19

merged 13 commits into from Apr 7, 2013

Conversation

kgn
Copy link
Contributor

@kgn kgn commented Mar 8, 2013

Thanks for this great project!

I've made a couple changes that I hope you'll like.

The first main change is I made Harpy a singleton with a sharedInstance method. This allows the appID and alertType to be set without having to modify the constants header. In-fact I removed this header file completely. The reason for this is that having to modify files in the repo make it difficult to use git submodules. This should fix #18.

The second change moves the strings into a localizable file. This also fixes #16 but in a slightly different way.

@kgn
Copy link
Contributor Author

kgn commented Mar 15, 2013

Added localizations for:

  • Chinese (Simplified)
  • Chinese (Traditional)
  • Danish
  • Dutch
  • French
  • German
  • Italian
  • Japanese
  • Russian
  • Spanish

@ArtSabintsev
Copy link
Owner

Thanks! I'll get to it as soon as I can! Been a busy couple weeks.

@ArtSabintsev
Copy link
Owner

I'm looking into this right now. Finally found time :) Looks great thus far!

@ArtSabintsev
Copy link
Owner

Hey David,

I went through this in a lot of detail. I loved 99.9% of your changes. I am therefore going to merge your pull request into the Master repo, and then overwrite it with one or two minor changes and an expanded README.

All of this should be done in the next 30 mins or so.

ArtSabintsev added a commit that referenced this pull request Apr 7, 2013
v2.3.0 - Added Singleton and Localization. Big thanks to David Keegan (@kgn on Github)
@ArtSabintsev ArtSabintsev merged commit 05e5e9a into ArtSabintsev:master Apr 7, 2013
@alexruperez
Copy link

Well done! Thanks @ArtSabintsev & @kgn

@ArtSabintsev
Copy link
Owner

@alexruperez it was all @kgn incorporating everyone's ideas, plus some of this own. Thank you both for stepping up!

@ghost ghost assigned ArtSabintsev May 23, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants