| 1 |
Descriptionscip-debian debian frozen-bubble 2.212-13 frozen-bubble/patches/`fix-translations.patch`#Description.: Fixes translations |
| 2 |
Originscip-debian debian frozen-bubble 2.212-13 frozen-bubble/patches/`fix-translations.patch`#Origin.: vendor |
| 3 |
Bug-Debianscip-debian debian frozen-bubble 2.212-13 frozen-bubble/patches/`fix-translations.patch`#Bug-Debian.: https://bugs.debian.org/701556scip-debian-bts debian-bts . . 701556: |
| 4 |
Forwardedscip-debian debian frozen-bubble 2.212-13 frozen-bubble/patches/`fix-translations.patch`#Forwarded.: no |
| 5 |
Authorscip-debian debian frozen-bubble 2.212-13 frozen-bubble/patches/`fix-translations.patch`#Author.: falconbird <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 6 |
Reviewed-byscip-debian debian frozen-bubble 2.212-13 frozen-bubble/patches/`fix-translations.patch`#Reviewed-by.: gregor herrmann <[email protected]> |
| 7 |
Last-Updatescip-debian debian frozen-bubble 2.212-13 frozen-bubble/patches/`fix-translations.patch`#Last-Update.: 2015-08-01 |
| 8 |
|
| 9 |
--- a/lib/Games/FrozenBubble/Stuff.pmscip-debian debian frozen-bubble 2.212-13 frozen-bubble/upstream/`lib/Games/FrozenBubble/Stuff.pm`: |
| 10 |
+++ b/lib/Games/FrozenBubble/Stuff.pmscip-debian debian frozen-bubble 2.212-13 frozen-bubble/upstream/`lib/Games/FrozenBubble/Stuff.pm`: |
| 11 |
@@ -1,13 +1,13 @@ |
| 12 |
package Games::FrozenBubble::Stuff; |
| 13 |
|
| 14 |
use Games::FrozenBubble::CStuff; |
| 15 |
|
| 16 |
+use Games::FrozenBubble::Config; |
| 17 |
use Locale::Maketext::Simple; |
| 18 |
use File::ShareDir qw(dist_dir); |
| 19 |
|
| 20 |
|
| 21 |
+Locale::Maketext::Simple->import(Path => "$FPATH/locale", Style => 'gettext', Export => 'gettext'); |
| 22 |
###passing language to Locale::Maketext::Simple |
| 23 |
|
| 24 |
+my ($lang) = split(':', $ENV{LANGUAGE} || $ENV{LANG}); |
| 25 |
gettext_lang($lang); |
| 26 |
|
| 27 |
use vars qw(@ISA @EXPORT $FPATH $FLPATH $FBHOME $FBLEVELS $colourblind %POS_1P %POS_2P %POS_MP $BUBBLE_SIZE $ROW_SIZE |