1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200
|
2006-07-16 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/rails.rb: Code cleanup.
ActiveRecord::Base.set_error_message_(title|explanation) have been deprecated.
Use ActionView::Helpers::ActiveRecordHelper::L10n.set_error_message_(title|explanation)
instead. Suggested by Kouhei Sutou
* po/zh/rails.po, rgettext.po: Updated by Yingfeng.
* NEWS: Updated.
2006-07-15 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/rails.rb: Localize ActiveRecord::Errors#on.
Now error_message_on is localized.
Reported by kdmsnr.
2006-07-14 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/parser/activerecord.rb: Add "untranslate" feature.
* lib/gettext/rails.rb: ditto. Add ActiveRecord::Base.untranslate
.untranslate_all, .unstranslate?
The idea is from Gyoung-Yoon Noh.
2006-07-13 Masao Mutoh <mutoh@highway.ne.jp>
* po/nl/rails.po, rgettext.po: Updated by Menno Jonkers.
* lib/gettext/rails.rb: Support ActiveRecord::Migration.
Suggested by OZAWA Sakuro.
2006-07-12 Masao Mutoh <mutoh@highway.ne.jp>
* po/ko/rails.po, rgettext.po: Updated by Gyoung-Yoon Noh.
2006-07-11 Masao Mutoh <mutoh@highway.ne.jp>
* po/ru/rails.po, rgettext.po: Updated by Yuri Kozlov.
* po/fr/rails.po, rgettext.po: Updated by Laurent Sansonetti.
* po/cs/rails.po, rgettext.po: Updated by Karel Miarka.
2006-07-09 Masao Mutoh <mutoh@highway.ne.jp>
* po/es/rails.po, rgettext.po: Updated by David Espada.
* lib/gettext/rails.rb: Increment minor version.
* README: Updated.
2006-06-14 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/rails.rb: Fix a problem N_() isn't found in
ActiveRecord. Reported by arton.
2006-06-12 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/parser/glade.rb: Show error message correctly.
* Rakefile: Added src/poparse.ry as the target for updatepo.
* po/rgettext.pot, po/*/rgettext.po: Updated.
2006-06-11 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/parser/ruby.rb: Fixed to extract duplicated messages when "\n"
was used in msgid.
* lib/gettext/rails.rb, po/rails.pot, po/*/rails.po: Localize
ActionView::Helpers::DateHelper.distance_of_time_in_words.
* lib/gettext.rb: Added GetText.current_textdomain_info for debuging.
* lib/gettext/textdomain.rb: Break if the first mo-file found.
* lib/gettext/mo.rb: Added to accessor(r) to filename.
2006-06-09 Masao Mutoh <mutoh@highway.ne.jp>
* samples/*.rb, samples/po/*: Code cleanup 2.
2006-06-08 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/version.rb: Increment minor version.
* lib/gettext/locale_posix.rb: Code cleanup.
* test/testlib5.rb: Added.
2006-06-07 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext.rb: GetText.set_locale accept 2nd parameter.
* test/testlib6.rb, test/po/{ja|fr}/test6.po: Added previous test.
* samples/*.rb, samples/po/*: Code cleanup.
2006-06-05 Masao Mutoh <mutoh@highway.ne.jp>
* samples/hello.rb: Code cleanup.
* lib/gettext/rgettext.rb: Show ruby version with -v option.
* lib/gettext/rmsgfmt.rb: ditto.
* lib/gettext/rmsgmerge.rb: ditto.
2006-06-04 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext.rb: Fixed a bug when options is set nil.
* lib/gettext/locale_posix.rb: Fixed the search order of environment
variables. Reported by markus koller.
* ext/gettext/locale_system.c: Returns nil if locale is not set.
* Rakefile: Added makemo task for samples/rails/vendor/plugins/gettext/po.
* test/gettext_test_multi_textdomain.rb: Added.
2006-05-31 Masao Mutoh <mutoh@highway.ne.jp>
* samples/rails/vendor/plugins/gettext/lib/gettext_plugin.rb: Rewrite
to support new bindtextdomain.
* samples/rails/vendor/plugins/gettext/{po|locale}/*: Move gettext_plugin.{po|mo}
from samples/rails/{po|locale}/*. Now Rails plugins can release their po/mo-files
under their own directory(/vendor/plugins/plugindir/{po|locale}).
* samples/rails/vendor/plugins/gettext/Rakefile, README: Added.
* samples/rails/lib/tasks/gettext.rake. Move gettext_plugin target to
/vendor/plugins/gettext/Rakefile.
* samples/rails/README: Updated.
2006-05-30 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext.rb: The scope of a textdomain becomes a class/module base
instead of a file base.
Accept plural textdomains in a class/module.
Changed bindtextdomain arguments with backward compatibility.
* lib/gettext/textdomainmanager.rb: Added for manage plural textdomains.
* lib/gettext/textdomain.rb: Fix wrong DEFAULT_LOCALE_PATHS if ruby is
installed non-standard path.
* lib/gettext/rails.rb: Changed arguments of bindtextdomain, init_gettext
with backward compatibility.
2006-05-29 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/rails.rb:
Remove GetText::Rails.use_localized_templates.
2006-05-24 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/locale_win32.rb: Fix to work with environment
variables.
2006-05-22 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext.rb, lib/gettext/textdomain.rb: Keep a textdomain
per a class instead of per a file.
2006-05-21 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/rails.rb: Problem when ActionMailer isn't defined.
Reported by Gudao Luo.
2006-05-20 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/mo.rb: Improved to compare the file time stamps.
by Nobu Nakada.
2006-05-18 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/mo.rb: Fix MOFile#update! works on MS Windows.
* po/it/rails.po, samples/rails/po/it/*.po: Added by Marco Lazzeri.
2006-05-16 Masao Mutoh <mutoh@highway.ne.jp>
* Rakefile: Remove dependency - makemo => poparser.
Reported by Marco Lazzeri.
2006-05-14 Masao Mutoh <mutoh@highway.ne.jp>
* README: Updated.
* **/po/zh/*.po: Added zh_CN locale by Yingfeng.
* pre-setup.rb: Remove to call "rails setup" now needless.
Reported by Hiroyuki Iwatsuki.
2006-05-11 Masao Mutoh <mutoh@highway.ne.jp>
* Rakefile: Make samples/rails/log if it's not exisited in
makemo task.
* lib/gettext/parser/activerecord.rb: Fixed to work
Gem-less environment.
Reported by Nobuhiro IMAI.
2006-05-10 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/rails.rb: Fixed custom messages was not
translated of validation_length_of.
Reported by babie, charlie.
* po/ja/rails.po: Separate plural/single messages.
2006-05-07 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/version.rb: Increment revision number.
* NEWS: Updated.
2006-05-06 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/rails.rb: error_messages_for works same as
actionpack-1.12.1 when nil or symbol are given as @object_name.
By arton.
* test/gettext_test_rails.rb: Works again.
2006-05-05 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/parser/activerecord.rb: Fixed again.
2006-05-04 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/parser/activerecord.rb: Fixed "duplicate message definition"
error in rake updatepo task using ActiveRecord::Base.set_table_name.
Reported by Karel Miarka.
2006-05-02 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/rails.rb: Fixed an abort when Rails::Info isn't
required like as Typo. Reported by Masayoshi Takahashi.
2006-04-30 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/textdomain.rb: Added GetText::TextDomain#check_mo=,
#check_mo?. When the value is true, check the MOFile and if it's
updated, reload MOFile again. This is usefule for development
time.
* lib/gettext/rails.rb: When development mode, check mo files
and reload it if it's updated.
* lib/gettext/mo.rb: Added MOFile#update!.
* lib/gettext/string.rb: String#% doesn't raise ArgumentError
when execute ruby with -d option.
2006-04-21 Masao Mutoh <mutoh@highway.ne.jp>
* samples/po/ru/*.po, samples/cgi/po/ru/*.po,
samples/rails/po/ru/*.po, po/rgettext.po,
rails.po: Added Russian locale by Yuri Kozlov.
* README: Revised.
2006-04-15 Masao Mutoh <mutoh@highway.ne.jp>
* NEWS: Updated.
* lib/gettext/version.rb: Increment minor version.
* test/gettext_test_rails.rb: Works with Rails-1.1.2.
* test/gettext_test_locale.rb: Works on OpenBSD 3.8.
* ext/gettext/locale_system.c: Set nil instead of "UTF-8"
when nl_langinfo is not found.
* samples/rails/README: Updated.
2006-04-05 Masao Mutoh <mutoh@highway.ne.jp>
* ext/gettext/locale_system.c: Fix compilation problem
when /usr/include/langinfo.h doesn't have CODESET such as OpenBSD.
You may need to set OUTPUT_CHARSET to ENV variable in such
environment.
Reported by Johan Allard.
2006-03-25 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/rails.rb: Revised docs.
2006-03-24 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/rails.rb: Support ActionWebService.
Reported by Nick Snels.
2006-03-19 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/rails.rb: Improve multipart-mail in ja locale by Nobuhiro IMAI.
2006-03-16 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/rails.rb: ActiveMailer works with multipart-mail in ja locale.
Reported by Nobuhiro IMAI.
* lib/gettext/textdomain.rb: GetText::TextDomain.gettext returns "" when
arg is "" or nil.
* lib/gettext.rb, locale.rb: Fix the problem to switch the locale again.
* test/gettext_test.rb: Add the test for above problem.
* test/gettext_test_rails.rb: Added, too.
* test/test.sh: ditto.
2006-03-12 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext.rb: GetText.locale= reset Locale's default locale.
Reported by Donald Piret.
2006-03-11 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/rails.rb: ActiveRecord::Column.human_name translates
the column name using s_("Model|fieldname").
Pointed out by Kazuhiro NISHIYAMA.
* samples/rails/lib/tasks/gettext.rake: Move from Rakefile.
Pointed out by Kazuhiro NISHIYAMA.
* samples/rails/Rakefile: Move gettext tasks to lib/tasks/gettext.rake.
* samples/rails/*: Updates files to which generated with rails 1.0.
* NEWS: Updated.
2006-03-10 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/rails.rb: Localized ActiveRecord::Base.validates_* works correctly
under production mode.
Reported by Nickolay Kolev.
ActionView::Base#render_file supports localized template such as
foo_ja.rhml, foo_ja_JP.rhtml. Revert Action::Controller::Base#render.
* NEWS: follow this change.
2006-03-09 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/rails.rb: ActiveRecord::Base.error_message_(title|explanation)
works production mode.
2006-03-08 Masao Mutoh <mutoh@highway.ne.jp>
* NEWS: Updated.
* lib/gettext/rails.rb: Fix a problem of ActionMailer in "ja".
* lib/gettext/version.rb: Incremented version number.
2006-03-04 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/rails.rb: @params["lang"] is treated as cgi["lang"].
Reported by Erkki Eilonen.
2006-03-03 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/locale_cgi.rb: Remove debug code.
* lib/gettext/locale_object.rb:
- Fix a memory leak. Reported by Jonas Schwertfeger.
- Locale::Object.parser improved.
- Rename Locale::Object#sort_order to #variant.
- "POSIX" and "C" locale strings are converted to "en".
- Add Locale::Object#to_general.
* test/gettext_test_locale.rb: Add tests follow the changes.
* lib/gettext/rails.rb:
- ActionMailer sends a mail
- in ISO-2022-JP if the language is japanese. The idea from
Iso2022Mailer by drawnboy.
- ActionController::Base.render_text is overrided to find
localized templates such as foo_ja.rhml, foo_ja_JP.rhtml.
You can reject this to set false to
GetText::Rails.use_localized_templates.
The idea is from Yugui.
2006-03-02 Masao Mutoh <mutoh@highway.ne.jp>
* samples/rails/app/models/article.rb: Add a sample of
ActiveRecord::Base.set_error_message_(title|explanation).
* lib/gettext/rails.rb: Fix a non-translated problem on production mode.
ActionMailer supported by Albert Ramstedt.
ActiveRecord::Base.set_error_message_(title|explanation) accepts Nn_()
value(Array).
2006-02-25 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/locale.rb: Fix to return system value when @@default is unset.
* lib/gettext/rails.rb: Fix a problem with Locale.default=.
2006-02-24 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext.rb: Fix a typo.
2006-02-23 Masao Mutoh <mutoh@highway.ne.jp>
* Rakefile: Fix a problem to make package on Win32.
* lib/gettext/textdomain.rb: Rename @mo to @current_mo
and add a attr_reader for @current_mo.
* README, NEWS: updated.
* lib/gettext/rails.rb: Fix to translate error message
title/explanation.
* lib/gettext/parser/activerecord.rb: Fix an abort when
config/database.xml is not defined.
2006-02-22 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/rmsgfmt.rb, string.rb, iconv.rb, utils.rb, rgettext.rb,
lib/gettext/parser/*.rb: Apply RDoc.
* lib/gettext/version.rb: Increment minor version.
2006-02-21 Masao Mutoh <mutoh@highway.ne.jp>
* test/test.bat: Added for Win32.
* test/gettext_test_locale.rb: Added Win32 tests.
* lib/gettext/locale_win32.rb: Fix problems.
* lib/gettext/locale_object.rb: Added Locale::Object#to_win
2006-02-20 Masao Mutoh <mutoh@highway.ne.jp>
* src/poparser.ry: Added ignore_fuzzy as the 3rd parameter
of GetText::PoParser#parse to parse fuzzy comments.
Pointed out by speakillof.
* lib/gettext/rmsgmerge.rb: Follow the PoParser change below.
* test/gettext_test_locale.rb: Apply Locale.clear.
* lib/gettext/locale.rb: Added Locale.clear.
2006-02-18 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/locale_cgi.rb: Separate from cgi.rb.
* lib/gettext/locale_posix.rb: Rename from locale_default.rb.
2006-02-16 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/textdomain.rb: Add comments.
* lib/gettext.rb: Apply Locale::Object. Code cleanup. Add RDoc.
* test/gettext_test.rb: Apply gettext.rb changes
* test/test.sh: Remove OUTPUT_CHARSET setting.
2006-02-15 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/locale_win32.rb, locale_default.rb, locale.rb: A first argument
of Locale::System.get_charset becomes Locale::Object.
* lib/gettext/textdomain.rb: Apply Locale::Object, Code cleanup.
* lib/gettext.rb: Add GetText.add_default_locale_path.
* lib/gettext/locale_object.rb: Add Locale::Object#==.
* lib/gettext/textdomain.rb: Add GetText::TextDomain.add_default_locale_path.
Pointed out at Bug#3510.
2006-02-14 Masao Mutoh <mutoh@highway.ne.jp>
* Rakefile: Fix compilation problems on mswin32.
* ext/gettext/locale_system.c: locale_id returns language ID not LCID.
2006-02-13 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/locale_table_win32.rb: Replace the table and add charset info.
* lib/gettext/locale_win32.rb: ditto.
2006-02-10 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/locale_object.rb: Add script, sort_order properties.
2006-02-09 Masao Mutoh <mutoh@highway.ne.jp>
* test/gettext_test_locale.rb: Added modifier test.
* lib/gettext/locale_object.rb: Added to parse modifier.
* lib/gettext/locale.rb: Fixed bug of Locale#set_current.
* test/gettext_test_cgi.rb: Added tests.
* lib/gettext/cgi.rb: Apply RDoc.
* lib/gettext/locale_default.rb, locale.rb: Modify RDoc.
* lib/gettext/locale_win32.rb: Imprement pseudo Locale::System.get_charset().
2006-02-07 Masao Mutoh <mutoh@highway.ne.jp>
* test/gettext_test_locale.rb: Added for new Locale.
* lib/gettext/locale.rb: Refactored. Follow to support Locale::Object.
Add Locale.set_default, .default=, .system, .default, .current,
.set_current, .current=, .current_charset. Reimplemented .get/.set.
Locale.set(loctype, localestr) is deprecated. Use Locale.set(localestr) instead.
Locale.setlocale(loctype, localestr) is deprecated. Use Locale.set(localestr) instead.
Locale.get(loctype) is deprecated. Use Locale.get instead.
2006-02-05 Masao Mutoh <mutoh@highway.ne.jp>
* test/test_rubyparser_n_.rb: Rename from test/test_rubyparser_n.rb.
This has a problem on Windows with test/test_rubyparser_N.rb.
2006-02-04 Masao Mutoh <mutoh@highway.ne.jp>
* pre-setup.rb: Remove previous installed files first.
* ext/gettext/gettext: Removed.
* ext/gettext/locale_system.c: Added as Accessor to system(win32/posix).
(Move from ext/gettext/gettext/_locale.c)
* ext/gettext/extconf.rb: ditto.
* lib/gettext/locale_default.rb: Follow above changes. Apply RDoc.
* lib/gettext/locale_win32.rb: Follow above changes. Apply RDoc.
* lib/gettext/locale.rb: Code cleanup. Apply RDoc.
* lib/gettext/locale_object.rb: Added Locale::Object. Apply RDoc.
* setup.rb: Update to 3.4.1.
2006-01-25 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/rmsgmerge.rb: Fixed bugs.
Follow the comment messages to GNU GetText. By speakillof.
2006-01-20 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/rails.rb: Added ActiveRecord::Base#error_message_(title|explanation).
Reimplement ActionView::Helpers::ActiveRecordHelper::L10n.error_messages_for to
separate error_message_(title|explanation) to be able to be overrided by user.
The idea is from Trung Tran.
* samples/rails/app/models/article.rb: Add a sample of
ActiveRecord::Base#error_message_(title|explanation).
2006-01-19 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext.rb: n_() accepts first arguments as an Array([msgid, msgid_plural]).
* test/gettext_test.rb: Add tests for n_(ary, n), Nn_().
* lib/gettext/parser/ruby.rb: Added Nn_() is same purpose with N_, but for n_.
* lib/gettext.rb: Added Nn_(msgid, msgid_plural).
2006-01-14 Masao Mutoh <mutoh@highway.ne.jp>
* samples/rails/po/*/blog.po: Updated.
* NEWS: Updated.
2006-01-10 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/parser/activerecord.rb: Fixed to fail loading YAML file.
By Karel Miarka.
2006-01-08 Masao Mutoh <mutoh@highway.ne.jp>
* *po/el/*.po: Convert to UTF-8. By damphyr.
2006-01-07 Masao Mutoh <mutoh@highway.ne.jp>
* test/gettext_test_parser.rb: Add test_rgettext_parse.
* test/test_erb.rxml: Added.
* lib/gettext/rails.rb: Added ActionController::TestRequest for testing.
Reported by Nick Snels.
* samples/rails/README: Added test information.
* samples/rails/test/functional/blog_controller_test.rb: Implemented.
* **/*po[t]: Revised headers.
* samples/po/el/*.po, samples/cgi/po/el/*.po,
samples/rails/po/el/*.po, po/el/rgettext.po,
rails.po: Added Greek locale by damphyr.
* README: Updated.
* lib/gettext/version.rb: Increment micro version.
2006-01-02 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/parser/activerecord.rb: Fixed to read configuration
correctly. Reported by Donald Piret.
Prevent to output duplicate msgid. Reported by Nick Snels.
2005-12-31 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/rails.rb: Check @@gettext_domainname is set first
to avoid set the wrong value to the Content-Type when init_gettext
is not called. Pointed out by Kazuhiro NISHIYAMA.
2005-12-29 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/locale_win32.rb: Fixed a syntax error.
* po/{it,sv}/rgettext.po: Updated.
* samples/rails/po/ja/blog.po: Fixed a fuzzy message.
* po/de/rgettext.po: Fixed a compilingproblem.
* README, NEWS: Updated.
* lib/gettext/rails.rb: Fix a problem when
http://localhost:3000/rails_info/properties is called.
Pointed out by Kazuhiro NISHIYAMA.
* po/de/rails.po: Added by Sasa Ebach.
* po/de/rgettext.po, samples/rails/po/de/*.po:
Updated by Sasa Ebach.
2005-12-28 Masao Mutoh <mutoh@highway.ne.jp>
* NEWS: Updated.
* README: Updated.
* po/es/rails.po: Added by David Espada.
* po/es/rgettext.po, samples/rails/po/es/*.po:
Updated by David Espada.
2005-12-27 Masao Mutoh <mutoh@highway.ne.jp>
* test/gettext_test_string.rb: Add a test.
2005-12-26 Masao Mutoh <mutoh@highway.ne.jp>
* samples/rails/app/controllers/blog_controller.rb: Updated.
2005-12-25 Masao Mutoh <mutoh@highway.ne.jp>
* NEWS: Updated.
* README: Updated.
* lib/gettext/parser/activerecord.rb: Don't show the messages
when ActiveRecord and its subclasses are not found.
* po/ja/rgettext.po: Updated.
2005-12-24 Masao Mutoh <mutoh@highway.ne.jp>
* samples/po/nl/*.po, samples/cgi/po/nl/*.po,
samples/rails/po/nl/*.po, po/nl/rgettext.po,
rails.po: Added Dutch locale by Menno Jonkers.
2005-12-23 Masao Mutoh <mutoh@highway.ne.jp>
* README: Updated.
* README.ja: Removed.
* po/ko/rails.po: Added by Gyoung-Yoon Noh.
* po/ko/rgettext.po, samples/po/ko/*.po, samples/cgi/po/ko/*.po,
samples/rails/po/ko/*.po: Updated by Gyoung-Yoon Noh.
* lib/gettext/textdomain.rb: Fixed a bug when mo-files are not found.
* samples/rails/po/en/blog.po: Added for English.
You can change the table names, field names of ActiveRecord even you use English.
* lib/gettext/textdomain.rb: Code cleanup.
* samples/rails/vendor/plugins/gettext/lib/gettext_plugin.rb: begin a new line
each 6 language.
* samples/rails/vendor/plugins/gettext/po/*: Update version info.
2005-12-21 Masao Mutoh <mutoh@highway.ne.jp>
* samples/rails/README: Updated.
* lib/gettext/utils.rb: Added. GetText.update_pofiles.
* Rakefile, samples/rails/Rakefile: Use GetText.update_pofiles.
2005-12-20 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/utils.rb: Added. Implement GetText.updatepo.
* Rakefile:
2005-12-19 Masao Mutoh <mutoh@highway.ne.jp>
* samples/po/cs/*.po, samples/cgi/po/cs/*.po,
samples/rails/po/cs/*.po, po/cs/rgettext.po,
rails.po: Added Czech locale by Karel Miarka.
2005-12-18 Masao Mutoh <mutoh@highway.ne.jp>
* po/fr/rgettext.po, samples/cgi/po/fr/main.po:
Updated by Laurent Sansonetti.
* po/fr/rails.po: Added by Laurent Sansonetti.
* po/pt_BR/rails.po, samples/cgi/po/pt_BR/*.po,
samples/rails/po/pt_BR/*.po:
Added by Joao Pedrosa.
* po/pt_BR/rgettext.po, samples/po/pt_BR/*.po:
Updated by Joao Pedrosa.
2005-12-17 Masao Mutoh <mutoh@highway.ne.jp>
* po/rails.pot, po/ja/rails.po: Added.
* test/gettext_test_string.rb: Added.
2005-12-12 Masao Mutoh <mutoh@highway.ne.jp>
* samples/rails/Rakefile: Added "updatepo" task.
* lib/gettext/parser/activerecord.rb: Added a parser for
ActiveRecord.
2005-12-10 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/rails.rb: Added GetText information to
Rails::Info.
2005-12-08 Masao Mutoh <mutoh@highway.ne.jp>
* test/gettext_test_cgi.rb: Added tests for Locale.normalize.
* lib/gettext/cgi.rb: Fix a problem of Locale.normalize.
2005-12-07 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/cgi.rb: Separate Locale.normalize.
2005-12-06 Masao Mutoh <mutoh@highway.ne.jp>
* test/gettext_test.rb, test/po/{da,fr}/plural_error.po:
Fix test_plural_format_invalid.
2005-12-05 Masao Mutoh <mutoh@highway.ne.jp>
* test/gettext_test.rb, test/po/*/plural.po: Fix test case.
2005-12-04 Masao Mutoh <mutoh@highway.ne.jp>
* samples/rails/vendor/plugins/gettext/lib/gettext_plugin.rb: Revised comments.
2005-12-01 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/rails.rb: Improved to support L10n for ActiveRecord::Errors.
Improve ActionController::Base.init_gettext(_main).
* samples/rails/app/controller/application.rb: Improved comments.
* samples/rails/app/views/blog/_form.rhtml: Add information to validate.
2005-11-27 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/string.rb: Added. New syntax ":{foo} is bar." % {:foo => "foo"}
is supported.
* lib/gettext/rmsgmerge.rb: Added.
* lib/gettext.rb, lib/gettext/textdomain.rb: Fix a bug of GetText.ngettext.
2005-11-25 Masao Mutoh <mutoh@highway.ne.jp>
* samples/rails/app/*: Rewrite for RoR 0.14.x.
* lib/gettext/rails.rb: Added ActionController::Base.init_gettext.
* samples/rails/app/controllers/application.rb: ditto.
2005-11-23 Masao Mutoh <mutoh@highway.ne.jp>
* samples/rails/app/controllers/application.rb: Use
GetText.output_charset to set the Content-Type.
* lib/gettext/rails.rb: Call bindtextdomain in models(ActiveRecord)
when bindtextdomain is called in before_filter of ActionController.
Inspired from Simon Santoro.
* samples/rails/app/models/article.rb: Added to validate description
with localized message.
2005-10-22 Masao Mutoh <mutoh@highway.ne.jp>
* po/*: Merge rmsgfmt to rgettext.
* po/**/rmsgfmt.po[t]: Removed(merge to rgettext.po[t]).
* lib/gettext/rmsgmerge.rb: Added by speakillof.
* bin/rmsgmerge: Added.
* src/poparser.ry: Renamed rmsgfmt.ry to poparser.ry.
* lib/gettext/rmsgfmt.rb: Added. Separate code from rmsgfmt.ry.
* Rakefile: Check racc is existed or not.
* lib/gettext/mo.rb: Follow poparser.ry changes.
2005-09-16 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/rgettext.rb: Fixed a header of time strings.
Reported by Karel Miarka.
2005-09-12 speakillof <speakillof@yahoo.co.jp>
* lib/gettext/parser/ruby.rb: Added "here document" support.
2005-09-05 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext.rb: Added GetText.locale. Both of GetText.locale= and
GetText.locale behaves "global". If you set this once, follow bindtextdomain(s)
use this value.
* lib/gettext/cgi.rb: Added Locale.set.
* lib/gettext/locale_win32.rb: ENV value is prior to native locale.
Added Locale.set.
* test/gettext_test.rb: Follow above changes.
2005-09-04 Masao Mutoh <mutoh@highway.ne.jp>
* Rakefile: move test task to testunit task.
* samples/cgi/*.cgi: Support rubygems.
* lib/gettext/rails.rb: The default of "charset" parameter becomes nil
instead of "UTF-8". You need to call GetText.output_charset=() first.
* samples/rails/app/controllers/application.rb:
Call GetText.output_charset = "UTF-8" first.
2005-09-03 Masao Mutoh <mutoh@highway.ne.jp>
* src/rmsgfmt.ry: Fixed VERSION info.
* Rakefile: Update to make package correctly. Call create_mofiles
for test/po/
Add test task.
Create win32 package correctly on Win32.
* test/makemo.rb: Removed. Use rake makemo instead.
* NEWS: Added.
* 1.0.0 released.
2005-08-31 Masao Mutoh <mutoh@highway.ne.jp>
* samples/cgi/Rakefile: Added.
* samples/cgi/README: Modified.
* samples/README: Modified.
* samples/po/ko/*.po: Added Korean by Gyoung-Yoon Noh.
* src/rmsgfmt.ry, po/**/rmsgfmt.po: Fix a typo.
* samples/makemo.rb: Re-add for creating mo-files.
* po/es/*.po: Updated by David Espada.
* po/samples/rails/es/*.po: Added by David Espada.
* po/de/*.po: Updated by Sven Herzberg.
* po/samples/rails/de/*.po: Added by Sven Herzberg.
* po/fr/*.po: Updated by Laurent Sansonetti.
* po/samples/rails/fr/*.po: Added by Laurent Sansonetti.
* README, README.ja: Updated.
* samples/rails/*.[rb|rhtml]: Modified header informations.
* lib/gettext/version.rb: Modified header information.
* samples/rails/README: Revised.
* samples/rails/db/postgresql.sql: Added.
2005-08-30 Masao Mutoh <mutoh@highway.ne.jp>
* po/ko/*.po, samples/cgi/po/ko/*.po, samples/rails/po/ko/*.po:
Added Korean by Gyoung-Yoon Noh.
* lib/gettext/textdomain.rb: Improve to print error message when
No mo files were found.
2005-08-28 Masao Mutoh <mutoh@highway.ne.jp>
* samples/rails/*: Added a sample for Ruby on Rails.
2005-08-27 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/textdomain.rb: Added search mo-path:
#{gems_path}/#{app}/locale/#{lang}/
* lib/gettext/cgi.rb: Fix an alias bug(set_cgi is an
alias of cgi=, not cgi).
2005-08-23 Masao Mutoh <mutoh@highway.ne.jp>
* samples/cgi/helloerb1.cgi, helloerb2.cgi:
Set @domainname obviously.
* pre-clean.rb: Removed.
* samples/makemo.rb, samples/cgi/makemo.rb:
Removed. Use "rake makemo" instead.
* post-setup.rb: Added "lib" to library path.
* lib/gettext/locale.rb: Added pseudo Locale module when
no _locale.so is found.(installation time by rake only)
2005-08-21 Masao Mutoh <mutoh@highway.ne.jp>
* src/rmsgfmt.ry: Added GetText.create_mofiles.
* test/gettext_test.rb, testlib4.rb: Added tests for
GetText.textdomain.
* samples/hello_textdomain.rb: Added a sample for
GetText.textdomain.
* lib/gettext/locale_default.rb: Call setlocale first.
* lib/gettext.rb: Added GetText.textdomain.
Added NoboundTextDomainError.
* lib/gettext/textdomain.rb: Added TextDomain#charset.
* lib/gettext/container.rb: Rename @domainname to
@gettext_container_domainname.
Pointed out by speakillof.
* pre-setup.rb: call rake setup.
2005-08-20 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/locale.rb: require '_locale' if 'gettext/_locale'
failed to load(for rubygems).
2005-08-18 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/textdomain.rb: Add Gem paths as search paths.
2005-08-15 Masao Mutoh <mutoh@highway.ne.jp>
* bin/rmsgfmt: Move methods to src/rmsgfmt.ry.
* src/rmsgfmt.ry: Improved. Added GetText.rmsgfmt.
2005-08-14 Masao Mutoh <mutoh@highway.ne.jp>
* Rakefile: Added.
* lib/gettext/version.rb: Added.
* lib/pre-setup.rb: Removed.
* lib/gettext/rgettext.rb: Added. Added GetText.rgettext.
2005-08-13 Masao Mutoh <mutoh@highway.ne.jp>
* README, REAMDE.ja: Updated informations.
* The project moves to rubyforge.
2005-05-01 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/locale_win32.rb: Added pseudo constants of setlocale.
* samples/cgi/ruby.bat: Added for Win32.
* samples/cgi/README: Modified.
* samples/cgi/http.rb: Support Win32.
* 0.9.0 released.
2005-04-30 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/cgi.rb: Added Locale.set_cgi() as alias of .cgi=.
2005-04-25 Masao Mutoh <mutoh@highway.ne.jp>
* samples/cgi/po/de/: Translated by Detlef Reichl.
* samples/cgi/po/es/: Translated by David Moreno Garza.
* samples/cgi/po/it/: Translated by Gabriele Renzi.
* samples/po/it/: Translated by Gabriele Renzi.
2005-04-24 Masao Mutoh <mutoh@highway.ne.jp>
* po/de/*.po : Translated by Detlef Reichl.
* po/it/*.po : Translated by Gabriele Renzi.
2005-04-23 Masao Mutoh <mutoh@highway.ne.jp>
* src/rmsgfmt.ry: Fix a bug not to unesacpe '"'.
Support new transltations.
* samples/cgi/*: Updated.
* samples/cgi/po/fr/*: Translated by Laurent Sansonetti.
2005-04-22 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/cgi.rb: Locale.get checks the cookie value.
The search priority is:
query_string(lang) > cookie(lang) > HTTP_ACCEPT_LANGUAGE > "en".
2005-04-21 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/cgi.rb: Added Locale.cgi=, .cgi,
GetText.cgi=, .cgi, .set_cgi.
2005-04-20 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext.rb: Defined domain name as @domainname.
Added GetText.set_output_charset as alias of .output_charset=.
* lib/gettext/container.rb: Added.
* lib/gettext/erb.rb: Make ErbContainer a module not a class
and includes GetText::Container.
* samples/erb/*: Follow this changes.
* samples/cgi/, erb/: Move erb/ to cgi/.
2005-04-19 Masao Mutoh <mutoh@highway.ne.jp>
* samples/erb/*: Added sample for CGI/ERB.
2005-04-18 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/erb.rb: Added for ERB support.
* lib/gettext/cgi.rb: Added for CGI support.
* lib/gettext.rb: Add GetText.output_charset=.
2005-04-11 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext.rb: Add GetText.set_locale, set_charset.
2005-04-10 Masao Mutoh <mutoh@highway.ne.jp>
* src/rmsgfmt.ry: Remove comment_old which isn't used anymore.
2005-04-09 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/gettext.rb, locale.rb, locale_default.rb:
Fix bugs that Locale.get, Locale.codeset return wrong values.
* test/gettext_text.rb: Add test for Locale module.
2005-04-02 Masao Mutoh <mutoh@highway.ne.jp>
* test/gettext_test_parser.rb, test_erb.rhtml:
Added tests for erb parser.
* lib/gettext/textdomain.rb: print debug message to
$stderr, not $stdout.
* lib/gettext/parser/erb.rb: Added.
rgettext support ERB. Inspired by Sascha Ebach.
* lib/gettext/parser/*.rb, bin/rgettext: Code clean up.
2005-03-31 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext.rb, lib/gettext/textdomain.rb:
reimplement sgettext.
* lib/gettext.rb: Improve GetText.bindtextdomain
* test/makemo.rb, samples/makemo.rb: Improve to run rmsgfmt.
* pre-setup.rb: Improve to run racc.
2005-03-28 Masao Mutoh <mutoh@highway.ne.jp>
* ext/gettext/gettext/_locale.c: Locale.codeset calls
setlocale(LC_CTYPE, "") not LC_ALL.
* lib/gettext.rb: Update VERSION info.
* lib/gettext/locale.rb: Remove to read LC_CTYPE.
Now, this uses the environment variables LC_ALL,
LC_MESSAGES and LANG (in that order) same as GNU GetText.
Point outed by Dafydd Harries.
* samples/helloglade2.rb: Run correctly on the samples directory.
* 0.8.1 released.
2005-03-20 Masao Mutoh <mutoh@highway.ne.jp>
* src/rmsgfmt.ry: Fix a problem with \r, \t, \n.
Reported by Guillaume Cottenceau.
2004-11-27 Masao Mutoh <mutoh@highway.ne.jp>
* src/rmsgfmt.ry: Fix an error when #~ lines are existed.
Pointed out by Patrick GUNDLACH.
* lib/gettext/parser/ruby.rb: Fix rgettext ignore "\#" by Kazuhiro NISHIYAMA.
* test/test_rubyparser.rb, gettext_test_parser.rb: Added test for "\#".
2004-11-07 Masao Mutoh <mutoh@highway.ne.jp>
* po/pt_BR/*.po, samples/po/pt_BR/*.po: Added. Translated by Joao Pedrosa.
2004-11-06 Masao Mutoh <mutoh@highway.ne.jp>
* README, README.ja: Revised.
* po/sv/*.po, samples/po/sv/*.po: Added. Translated by Nikolai Weibull.
* po/es/*.po, samples/po/es/*.po: Added. Translated by David Espada.
* 0.8.0 released.
2004-11-05 Masao Mutoh <mutoh@highway.ne.jp>
* po/fr/*.po, samples/po/fr/*.po: Added. Translated by Laurent Sansonetti.
* test/test_rubyparser_N.rb: Added.
* test/test_rubyparser.rb: Added a test.
* lib/gettext.rb: Increment minor version.
2004-11-04 Masao Mutoh <mutoh@highway.ne.jp>
* test/gettext_test_parser.rb: Added test for n_().
* lib/gettext/parser/ruby.rb: Improved to parse n_().
* test/test_rubyparser_n.rb: Added.
2004-11-03 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/parser/ruby.rb: Support _("a" + "b") pattern as "ab".
2004-10-23 Masao Mutoh <mutoh@highway.ne.jp>
* setup.rb: Update to setup.rb-3.3.1.
* README, README.ja: Modified.
* 0.7.0 released.
2004-10-22 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/iconv.rb: Added.
* lib/gettext/mo.rb: Requires 'gettext/iconv' instead of 'iconv'.
2004-10-21 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext.rb: every methods don't raise error when
GetText.bindtextdomain isn't called first.
2004-10-12 Masao Mutoh <mutoh@highway.ne.jp>
* bin/rgettext: Modified header like as GNU GetText.
Escape double quote correctly.
* test/gettext_test_parser.rb: Added tests for GetText::GladeParser.
* test/test_gladeparser.rb: Added.
2004-10-11 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/textdomain.rb: Added GETTEXT_PATH environment variable
for searching path. This is for testing/debugging.
Improved GetText::TextDomain#set_locale.
Reported by Dafydd Harries from Debian Bug Tracking System #275010.
* lib/gettext.rb, lib/gettext/textdomain.rb: Separate
GetText::Domain to lib/gettext/textdomain.rb.
* lib/gettext.rb: Increment GetText::VERSION.
2004-08-12 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext.rb: Add GetText.sgettext(msgid), .s_(msgid) .
* bin/rgettext: Support GetText.sgettext, .s_.
* test/gettext_test.rb, test_sgettext.rb, test/po/ja/test_sgettext.po:
Added for GetText.sgettext, .s_ tests.
2004-07-21 Masao Mutoh <mutoh@highway.ne.jp>
* README, README.ja: Modified some old descriptions.
* lib/gettext.rb: Incremented revision.
* 0.6.1 released.
2004-07-11 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/parser/glade.rb: Fixed a bug for empty-string value.
* post-setup.rb: Fixed a install problem reported by wwp.
2004-07-04 Masao Mutoh <mutoh@highway.ne.jp>
* post-setup.rb, pre-clean.rb, pre-setup.rb: Improved
by Nobu Nakada.
* setup.rb: Replaced install.rb. Pointed out by Nobu Nakada.
* README, README.ja: Follow above changes.
2004-07-03 Masao Mutoh <mutoh@highway.ne.jp>
* test/gettext_test.rb: Added some complex cases.
* test/gettext_runner.rb: Added.
* test/po/ja/test_rubyparser.po: Added.
* lib/gettext.rb: Added GetText::VERSION.
* docs/*: Removed. See website instead.
* 0.6.0 released.
2004-06-27 Masao Mutoh <mutoh@highway.ne.jp>
* bin/rgettext: Support Glade-2 XML file.
* po/ja/rgettext.po: Ditto.
* lib/gettext/parser/ruby.rb, glade.rb: Added.
* test/gettext_test_parser.rb, test_rubyparser.rb: Added.
* lib/gettext/parser/ruby.rb: Improved to parse complex strings.
2004-06-23 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/mo.rb: Fix a bug to save data to a file.
2004-06-15 Masao Mutoh <mutoh@highway.ne.jp>
* src/rmsgfmt.ry: Force override if the file exist. This is the same
behavior as GNU msgfmt.
* lib/gettext/mo.rb: Fixed a bug that "Plural-Forms"
part isn't defined in po-file but has plural part.
Reported by Dafydd Harries.
* test/po/[fr|ja|de]/plural_error.po: Added for a test of plural forms.
* test/gettext_test.rb: ditto.
2004-03-26 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext.rb: Fixed to return empty strings
when translated strings are empty.
* 0.5.5 released.
2004-02-14 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/locale.rb: Changes PLATFORM to RUBY_PLATFORM for ruby-1.9.
* 0.5.4 released.
2003-12-02 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext.rb: Improve the initial speed.
* 0.5.3 released.
2003-11-27 Masao Mutoh <mutoh@highway.ne.jp>
* bin/rgettext: Fix bugs when \M or \C are given.
2003-11-12 Masao Mutoh <mutoh@highway.ne.jp>
* ext/gettext/gettext/_locale.c: Fix bugs for Win32.
Pointed out by Nobu Nakada.
* docs/config.rb: Removed.
* docs/rd/*/ruby-gettext.rd: Modified.
* 0.5.2 released.
2003-07-05 Masao Mutoh <mutoh@highway.ne.jp>
* ext/gettext/gettext/_locale.c: Define Locale.setlocale() and LC_* constants.
* lib/gettext.rb, lib/gettext/*.rb: Code cleanup.
* post-setup.rb: Fix mo files had not been compiled.
* 0.5.1 released.
2003-07-04 Masao Mutoh <mutoh@highway.ne.jp>
* samples/hello2.rb: Fix warning for ruby-1.8.x.
* ext/gettext/gettext/_locale.c: Call setlocale(LC_NUMERIC, "C")
for some locales which doesn't use "." as decimal-point.
* pre-setup.rb: Removed.
* post-setup.rb: Fix some bugs.
2003-01-07 Masao Mutoh <mutoh@highway.ne.jp>
* samples/hellogtk2.rb: Support Ruby/GTK2.
* gettext/mo.rb: Fix for bad mo files which don't include header part.
* bin/rgettext: Remove ",fuzzy" for header part. Set default charset to UTF-8.
* src/rmsgfmt.ry, po/rmsgfmt.pot, po/ja/rmsgfmt.po: Add files.
* 0.5.0 released.
2002-10-21 Masao Mutoh <mutoh@highway.ne.jp>
* Support ngettext(alias name is n_).
* Change directory structure.
* Remove *.mo from tar-ball(they are created automatically in installing).
* bin/rgettext, po/rgettext.pot, po/ja/rgettext.po: Revise help message.
* bin/rgettext: Fix POT-Creation-Date was localized.
* samples/hello_plural.rb: Add a sample.
* test/*: Add test for ngettext.
* 0.4.0 released.
2002-10-18 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext/mo.rb: Fix bad return value when msgstr is not existed.
Pointed out by Shinobu TAKANASHI <sino@e-turi.net>
* test/*: Change RubyUnit to Test::Unit.
* 0.3.2 released.
2002-07-06 Masao Mutoh <mutoh@highway.ne.jp>
* lib/locale.rb: Support MinGW.
* lib/mo.rb: Support platforms which do not support Iconv.
* 0.3.1 released.
2002-07-02 WATANABE Hirofumi <eban@os.rim.or.jp>
* ext/gettext/gettext/extconf.rb:Support MinGW.
2002-07-01 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* ext/gettext/gettext/_locale.c: Code cleanup.
* po/ja.po: Fix typo.
* pre-install.rb: Code cleanup.
2002-06-30 Masao Mutoh <mutoh@highway.ne.jp>
* Support to convert output strings with charset(codeset).
- Add 4th parameter to GetText.bindtextdomain for charset
- Add GetText.charset=().
- Support Environment variable OUTPUT_CHARSET.
* samples/po/makemo.rb: support Ruby-1.6.x.
Reported by KUMAGAI Hidetake <ggb03124@nifty.ne.jp>
* 0.3.0 released.
2002-02-22 Masao Mutoh <mutoh@highway.ne.jp>
* docs/rd/[ja|en]/ruby-gettext.rd: Some modified.
* lib/gettext.rb: show more informations in debug mode(-d)
* bin/rgettext: BugFix for bad implementation of GetText.N_(msg).
by Masahiro Sakai<zvm01052@nifty.ne.jp>
* po/ja.po: change charset from iso-2022-jp to euc-jp.
by Masahiro Sakai<zvm01052@nifty.ne.jp>
* 0.2.1 released.
2002-02-21 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext.rb: Implement GetText.N_(msg)
* bin/rgettext: Apply to GetText.N_(msg)
* samples/hello_noop.rb: Add a sample for GetText.N_(msg).
* test/gettext_test.rb: Add test_noop.
* docs/rd/[ja|en]/ruby-gettext.rd: Add an explanation of GetText.N_(msg).
* 0.2.0 released.
2002-02-13 Masao Mutoh <mutoh@highway.ne.jp>
* ruby-gettext-package:
Move pre-clean.rb to pre-install.rb.
Reported by Yoshifumi Hiramatsu<hiramatu@boreas.dti.ne.jp>
* lib/gettext.rb: Improve search-path(@locale_dirs).
* bin/rgettext, samples/*.rb:
Improve first line(Add #! line or change #!/usr/bin/env ruby to
#!/usr/local/bin/ruby).
* samples/hellotk.rb: add new sample for Ruby/Tk
* 0.1.2 released.
2002-02-03 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext.rb: BugFix to occur an error
when all of locale is not set.
* README, README.ja: Modified about Bad explanation
in Install section. Reported by
Yoshifumi Hiramatsu<hiramatu@boreas.dti.ne.jp>
* docs/rd/*/ruby-gettext.rd: Some improvements.
* docs/yard2html.rb: Some improvements.
* 0.1.1 released.
2002-01-06 Masao Mutoh <mutoh@highway.ne.jp>
* lib/gettext.rb: Bugfix for bad scope.
* bin/rgettext: Sort by file, lineno.
* test/: Add one test.
* docs/rd/*/ruby-gettext.rd: Modified about rgettext.
* 0.1.0 released.
2002-01-01 Masao Mutoh <mutoh@highway.ne.jp>
* docs/: Add english document and some improvements.
* test/: Add one test.
* samples/: Add hello2.rb.
* 0.0.2 released.
2001-12-24 Masao Mutoh <mutoh@highway.ne.jp>
* test release
|