Commit graph

79 commits

Author SHA1 Message Date
Colin Kuskie
944c76040a Make makeUrlCompliant as deprecated, and updated POD and subroutines accordingly. 2011-05-02 08:20:33 -07:00
Bart Jol
bb4d14d944 Language override file changes 2009-10-28 12:41:55 -05:00
Graham Knop
9686a74244 International text retrieval has been optimized 2009-02-20 23:50:20 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Colin Kuskie
132a48312a Add more characters that are legal in i18n keys. 2009-01-02 06:46:17 +00:00
Graham Knop
a922eca6bb speed up i18n calls 2008-11-24 04:00:55 +00:00
Colin Kuskie
0c2ca8184c final asssetManager i18n re: 4214 2008-11-14 23:44:30 +00:00
Colin Kuskie
bd99485376 fix some missing/broken i18n 2008-10-19 02:11:31 +00:00
Colin Kuskie
c5bd1b9bd8 Update the Asset skeleton so that it doesn't try to call
the International system with procedural calls.  Update
International pod to remove procedural calls as well.
2008-10-11 02:00:29 +00:00
Colin Kuskie
8e6c3297bb forward port i18n AssetExportHtml error messages 2008-10-04 07:47:58 +00:00
Graham Knop
a2757494af use Module::Find instead of enumerating over the files 2008-09-17 15:38:01 +00:00
Graham Knop
b4e4590697 some small i18n cleanups 2008-09-15 21:51:32 +00:00
Colin Kuskie
4dd7dcfe5e Remove single quote from the list of allowable characters.
Remove single quotes from parsed International macros in the template tester.
2008-09-06 21:25:42 +00:00
Colin Kuskie
20b5ff24fd add more legal characters into the safe i18n key regexp 2008-09-06 01:53:49 +00:00
Colin Kuskie
b143a8db6a Fix a bug where looking up non-existant files croaks, instead of propagating
the error back up and trapping it.
2008-08-15 22:46:46 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
Colin Kuskie
9581ce5c9e Switch to using WebGUI::Pluggable.
Remove tabs and prettify the code.
2007-12-30 22:40:45 +00:00
Colin Kuskie
abf56513c7 Add a test for getting the whole language property hash.
Reformat the getLanguage method according to WGBP.
2007-12-28 00:15:15 +00:00
Colin Kuskie
2fa12f41b7 Fix a failing International.t test I caused.
WGBP the conditionals in getLanguages
Fix a typo in a comment
2007-12-27 04:38:21 +00:00
Colin Kuskie
c8a1bb6a7c Convert WebGUI::International to use blocky eval instead of stringy eval.
Add 1 test for getLanguage to check for refactoring.
2007-12-24 06:38:36 +00:00
JT Smith
a7dde82421 updated copyright 2007-07-01 16:09:42 +00:00
Colin Kuskie
bdb88b6c6d fix lookup of English language tags when translation fails 2006-12-13 04:47:41 +00:00
Colin Kuskie
53f4b076e1 remove debug code 2006-11-26 04:07:57 +00:00
Colin Kuskie
85eb6ddbeb Added setNamespace and getNamespace methods to WebGUI::International.
Added a baseline test for WebGUI::International which also tests the new methods.
Fixed codespace caching in WebGUI::Operation::Help.  Codespace caching is
done via symbol table lookups, and it saves doing an eval.
Implemented the same type of caching in WebGUI::International.  This replaced
the in-memory cache which would slowly accumulate a complete copy of the
i18n entries as they were fetched.
2006-11-26 04:07:32 +00:00
JT Smith
aeba6ec83c merging 7.1.4 changes 2006-11-03 04:36:13 +00:00
Colin Kuskie
94b5facb95 MultiSearch view method was missing the session variable in the form code for the
Submit button.

International object creation cache caches session variable.  Since this code
is persistent, the session object would never undergo garbage creation and
would accumulate memory.
2006-07-13 21:55:21 +00:00
Colin Kuskie
dc584ec66d Fix some really old, out-of-date POD in International.pm
Rework Operation/Profile to use an existing i18n object to fetch language hash.
2006-06-28 17:56:15 +00:00
Lucas Bartholemy
bfd2f7ed59 fixed typo + better language checking 2006-06-28 13:50:37 +00:00
JT Smith
4748163231 - Added a 2.7% speed increase by precaching i18n messages. This should also
help increase shared memory amongst Apache children. (Matt Wilson)
2006-05-16 16:47:09 +00:00
JT Smith
0673df503d added template variable definitions as an option to the help system 2006-05-14 04:05:51 +00:00
Matthew Wilson
b9d3e791a1 pod fix 2006-05-06 14:45:31 +00:00
Colin Kuskie
f6b336a824 i18n for Cash plugin
Fix broken link inside Operation/AdSpace.pm
Add a method to be used for developing apps with i18n before
i18n is ready.  This will eventually be used as part of a system
to automatically create i18n files from Perl source.
2006-04-18 18:01:42 +00:00
Matthew Wilson
3fad0b078f making config addToArray only add if it's not already there. 2006-04-15 23:31:16 +00:00
Matthew Wilson
2c60283ba3 first major round of EMS changes. much more to come late tonight. 2006-04-07 00:02:45 +00:00
Matthew Wilson
4a3121960f removal of dumpSession. 2006-01-26 05:39:16 +00:00
Matthew Wilson
e33c7bebc3 an absolute slew of changes. 2006-01-18 01:45:55 +00:00
Matthew Wilson
09483e18c5 a ton of $session fixes (thanks to Colin), and a new $session checker, that supposedly, shouldn't be needed now. It can be backed out, however, easily. 2006-01-16 22:45:21 +00:00
Colin Kuskie
5fadc70eac update POD for OO only interface 2006-01-16 22:38:28 +00:00
JT Smith
a3adaee3a0 removing unnecessary use lines 2006-01-12 22:27:20 +00:00
Colin Kuskie
45b03a03c3 document changes in International.pm API 2006-01-12 21:21:15 +00:00
Colin Kuskie
01d95a265e new i18n api requiring $session 2006-01-12 17:49:20 +00:00
JT Smith
a194408513 changing copyright year 2006-01-09 23:51:04 +00:00
JT Smith
024514c549 more session related changes 2006-01-09 19:56:26 +00:00
Colin Kuskie
99df1f414e Form inheritance work for lists, removal of $session{os}{slash} 2005-12-01 20:46:55 +00:00
Len Kranendonk
e723330431 Oops a daisy 2005-08-25 14:27:55 +00:00
Len Kranendonk
73b892a580 Oops a daisy 2005-08-25 14:26:49 +00:00
Martin Kamerbeek
e9f74cdc0f Changed warn to fatal to prevent db corruption 2005-08-10 16:43:15 +00:00
JT Smith
4033ad4b83 fixed a few bugs and also made it so language translators can enable the translations for javascript helpers 2005-07-29 15:00:30 +00:00
JT Smith
6aa9f76a71 added a new logger 2005-04-01 03:24:23 +00:00
JT Smith
55c709a051 updated copyright 2005-02-07 00:52:47 +00:00