plurr icon indicating copy to clipboard operation
plurr copied to clipboard

Added error for non-existing locale

Open augbog opened this issue 7 years ago • 2 comments

Helps address issue #15

I haven't tested yet so uncertain if ready for merge.

I also wanted to ask it seems the Go implementation is different in that the SetLocale function handles the fallback to English whereas the other implementations simply have the format function handle the fallback. Is this intended?

augbog avatar Sep 27 '16 20:09 augbog

Thanks, @augbog! I'll review this and add some tests a bit later. This PR doesn't block anything on your side, does it?

iafan avatar Sep 29 '16 17:09 iafan

@iafan Nope doesn't block anything -- just wanted to contribute since I thought it was a useful error :) Great library!

augbog avatar Sep 29 '16 21:09 augbog