Commit Graph

260 Commits (d72c565607380c5e92df6bcc6067ca0536c4a5e4)

Author SHA1 Message Date
Gábor Hojtsy 68a730c795 #204946 by theborg, keith.smith: only tell users their language setting will be used for interface presentation, when this actually happens 2008-01-07 21:38:16 +00:00
Gábor Hojtsy d5916e8061 #206232 follow up by chx: set locale() cache to NULL when resetting 2008-01-04 17:10:36 +00:00
Gábor Hojtsy 98d7931e5b #206232 by chx with a bit of cleanup: add in-memory reset clearing to locale() to help it interact with simpletests, which are not reloading the Drupal instance on form submits 2008-01-04 16:04:49 +00:00
Gábor Hojtsy f96a1c7690 #205334 by hass: if more then 5 languages are available, use a dropdown not a radio button list (usability) 2008-01-02 12:04:17 +00:00
Dries Buytaert a88c178b91 - Patch #204221 by webernet: code style fixes. 2007-12-28 12:02:52 +00:00
Gábor Hojtsy 1d4fc1b1af #202473 by keith.smith: pre-RC1 spell checking on hopefully final text 2007-12-19 21:40:05 +00:00
Gábor Hojtsy 4c990fb7cc #189880 by keith.smith based on initial suggestions from O Govinda: much better help texts and descriptions for locale module, actually explaining its extended feature set in Drupal 6. 2007-12-18 16:27:44 +00:00
Gábor Hojtsy b6532a4fdb #200069 by keith.smith: new standard for 'more information' links in module help texts, as the handbook we referred to before was renamed 2007-12-14 18:08:50 +00:00
Gábor Hojtsy efbd1db550 #193320 by JirkaRybka: _locale_rebuild_js() was invoked on every page view, now optimized 2007-11-26 22:34:09 +00:00
Gábor Hojtsy 6efb418313 #193905 report by greggles, patch by myself: the user account page changed language to the last language set up 2007-11-24 21:19:10 +00:00
Gábor Hojtsy c975b69d1c #175876 by hazexp, webernet, keith.smith: unify module/theme/translation download links and include more pointers to these locations 2007-11-24 20:35:37 +00:00
Gábor Hojtsy 5f1d0bf343 #194595 report by hass, patch by myself: native language name is required, so we need to fill it in the updates - also omit it in user listing if the same as the translated language name 2007-11-23 12:15:12 +00:00
Gábor Hojtsy eccf762a8d #154517 by Desbeers: fix locale form alter to properly alter the path alias addition form 2007-11-04 11:10:09 +00:00
Gábor Hojtsy 941756bad2 #186977 by openwereld: LIMIT on locale module UPDATE query is not needed and is even not PostreSQL compatible, so remove 2007-10-27 14:03:36 +00:00
Gábor Hojtsy b94f2716cf #184867 by deekayen, catch and keith.smith: fix some spelling errors in our source code and messages printed 2007-10-21 18:59:02 +00:00
Gábor Hojtsy 3a8f208b7a #183056 by JirkaRybka: improve locale cache handling performance
- always prune the whole cache as string additions affect all languages
 - rebuild the language caches as needed, distributing this load among page requests
2007-10-15 19:51:06 +00:00
Gábor Hojtsy 1e8ddda9b7 #169079 by yched: improve consistency of menu API and batch API by allowing batch definition in non .module files, which opens the possibility of better performing batches (which are likely to reside in .admin.inc files generally)
- apply this change in locale.module
 - improve batch API code documentation
2007-10-15 15:18:39 +00:00
Gábor Hojtsy ebfbaa3fda #179234 by myself: language code regular experssion was too greedy for simple langcode.po names 2007-09-28 18:11:27 +00:00
Gábor Hojtsy 75f0eb8e89 #175593 by JirkaRybka: fix help text about textgroups, rewording a misleading example 2007-09-14 18:05:33 +00:00
Dries Buytaert ab1715750a - Patch #172961 by webernet: code style cleanup. 2007-09-05 08:42:02 +00:00
Gábor Hojtsy b5331d0859 #171646 by JirkaRybka: store version usage information for every source string, optimize caching and prune the initially unused strings 2007-09-02 15:19:16 +00:00
Gábor Hojtsy 0fd16236ef #171562 by JirkaRybka: fix several issues with locales
- make searches work again, better worded
 - do not cache English stuff
 - fix strike through on string seek page
 - fix exports for translations
2007-09-01 12:50:47 +00:00
Dries Buytaert 74292cd062 - Patch #80951 by killes, yched et al: block caching. 2007-08-19 08:08:45 +00:00
Gábor Hojtsy b5cdf535f4 #156429 by GreenMother: kill notices if form ID does not exist 2007-07-03 16:27:51 +00:00
Gábor Hojtsy 5644ad0264 #156143 noted by Arancaytar, pathc by myself: user_language() was named user_preferred_language() 2007-07-02 15:47:32 +00:00
Dries Buytaert ee701b3336 - Patch #155986 by Uwe: fixed typos. 2007-07-02 14:41:37 +00:00
Gábor Hojtsy 8caf4da7f1 #82499 by Jose A Reyero and a little bit from myself: send emails localized in the language needed in specific situations, and centralize mail composing operations with hook_mail() 2007-07-01 19:49:19 +00:00
Dries Buytaert c11cb4ec24 - Patch #120360 by nedjo: enable AJAX by making all behaviours reattachable. 2007-07-01 15:37:10 +00:00
Gábor Hojtsy a3d75e547f #141996 by Jose A Reyero and myself: translation block to switch interface languages by default, and even content languages, when a translation module provides the alternate links 2007-06-30 21:00:51 +00:00
Gábor Hojtsy 9e6ef53c2c #154064 by pwolanin: get hook_help() up to speed to menu changes, allowing router path based lookups, and also full path argument lookup with a passed argument array 2007-06-30 19:46:58 +00:00
Dries Buytaert aa308028aa - Patch #131026 by James et al: OpenID client support for Drupal!
Let this be the day where we help revolutionize the online society, and the
  way websites and web services interoperate.  Or something.
2007-06-18 16:09:39 +00:00
Gábor Hojtsy 64707c09e9 #150521 by myself: streamline locale runtime performance and clean up code by not storing empty translations 2007-06-17 17:41:40 +00:00
Gábor Hojtsy 2291f34155 #151410 by myself: allow modules to watch for the exact strings used on a page 2007-06-15 19:02:47 +00:00
Dries Buytaert 4fd54aabc5 - Patch #115267 by drewish, dopry et al: simplified file uploads code, improved file API, centralized file validation, implemented quotas and fixed file previews. 2007-05-30 08:08:59 +00:00
Gábor Hojtsy 36e87e190c #147640 by Jose A Reyero with further cleanup by myself: add language code to localization functions
This makes it possible to call these functions with a given language code when sending emails to multiple users with different languages in a request for example.
2007-05-29 14:37:49 +00:00
Dries Buytaert 96926ca047 - Patch #146470 by Eaton et al: standardize form API3 hook parameter order. 2007-05-28 06:08:47 +00:00
Dries Buytaert 0047e35d91 - Patch #145671 by Gabor: import translation files when adding a new language. 2007-05-22 07:42:37 +00:00
Gábor Hojtsy 112aa20768 #144496 by myself: import translations for newly installed modules and enabled themes;
as a side effect, improve usability of the module screen by performing module
changes all at once
2007-05-21 10:56:05 +00:00
Gábor Hojtsy 55b4cbadf2 #143249 by Jose A Reyero: add language parameter to t() to make it possible to retrieve translations of strings for different languages, to send emails to users in their own language for example 2007-05-15 20:19:47 +00:00
Dries Buytaert fff45d1f4b - Patch #139970 by Gabor: locale cleanup. 2007-05-03 09:51:08 +00:00
Dries Buytaert 7d4f2836ba - Patch #128082 by Goba et al: Allow localization of built-in menu items. 2007-04-30 17:03:29 +00:00
Dries Buytaert dbfcd7d137 - Patch #137415 by slantview: simplified the cache API/usages, and made it a tad smarter. Makes it easier to program for, and easier to replace. Will need to be documented. 2007-04-25 21:34:32 +00:00
Dries Buytaert 9a142acc8d - Patch #137376 by Gabor: add language support to nodes. 2007-04-25 21:28:00 +00:00
Dries Buytaert f73610bec6 - Patch #76588 by Gabor: made log messages translatable. Yay. 2007-04-24 13:53:15 +00:00
Dries Buytaert f4cbd7c63d - Patch #118660 by agentrickard: re-order arguments of cache_set() to match PHP/Drupal conventions. 2007-04-15 15:36:10 +00:00
Dries Buytaert e675979091 - Patch #134493 by douggreen: getting the Drupal coding standards right in core. Woot. Woot. 2007-04-13 08:56:59 +00:00
Dries Buytaert ded653fbbd - Patch #128866 by Gabor and erdemkose: make it impossible to delete the default language or the English language. 2007-04-09 14:46:55 +00:00
Dries Buytaert b20618aa12 - Patch #128866 by Gabor et al: new language subsystem fixes. 2007-03-28 14:08:23 +00:00
Dries Buytaert c235bc60d3 - Patch #128866 by chx: fixed broken confirm form. 2007-03-26 05:55:52 +00:00
Dries Buytaert eb0caa354e - Patch #128866 by Gabor, Steven, chx, Jose et al: new language subsystem. 2007-03-26 01:32:22 +00:00
Dries Buytaert 79872ff139 - Patch #98359 by Robroy and webchick: string clean-up: web site -> website 2007-02-27 12:29:22 +00:00
Dries Buytaert 5ed8046fe7 - Patch #117826 by kkaefer: move the localization menu to site building. 2007-02-11 08:44:32 +00:00
Dries Buytaert 489903a08e - Patch #113603 by chx: first crack at re-implementing tabs. 2007-01-31 21:26:56 +00:00
Dries Buytaert 05a708fb06 - Patch #112715 by chx, webchick, asimmonds, et al: fixing E_ALL notices. Thanks. 2007-01-31 15:49:26 +00:00
Dries Buytaert 03752e35a4 - Patch #34755 by chx et al: faster menu system. HEAD is temporary broken and there is no upgrade path yet. 2007-01-24 14:48:36 +00:00
Neil Drumm 371323233b #105309 by Gábor Hojtsy. Translate language name selection on user edit pages. 2006-12-27 13:11:59 +00:00
Steven Wittens 0ea4e1c5f6 #100563: Conditional loading of (some) module.css files 2006-12-01 22:47:53 +00:00
Neil Drumm b5bf8a8f47 #97824 by Gurpartap. Move enclosing elements outside of their t(). 2006-11-26 02:20:01 +00:00
Dries Buytaert 827f064deb - Patch # #98366 by webchick and ac: simplified strings for translators. 2006-11-24 10:18:24 +00:00
Dries Buytaert b004f328ee - Patch #92992 by webchick and neclimdul: clean up documentation that is superseded by the new 'by module' administration dashboard. 2006-11-21 20:14:19 +00:00
Dries Buytaert e08f5f27bd - Patch #98359 by webchick and webernet: standardize on terminology: 'website' and 'web page'. 2006-11-21 20:03:11 +00:00
Neil Drumm b0ddf6f40c #98359 by webchick. Change 'web site' to more common usage, 'website.' 2006-11-19 23:51:02 +00:00
Dries Buytaert 83e7250b96 - Patch #89454 by chx: made deleting a locale language work. 2006-10-23 21:04:12 +00:00
Steven Wittens 36d44fbfb0 #84146: Use 'Sentence capitalization' for menu items, page titles, form items, etc 2006-10-22 08:28:47 +00:00
Neil Drumm d151662982 #80867 by stefano73 and asimmonds. Fix editing and deleting locale strings. 2006-10-04 06:41:24 +00:00
Dries Buytaert c64db1da29 - Patch #80952 by earl, webchick, neclimdul et al: .info files 2006-08-31 20:22:37 +00:00
Dries Buytaert 8fdf7a8750 - Patch #72290 by killes: split up the cache table. 2006-08-30 08:46:17 +00:00
Dries Buytaert 7de41539df - Patch #77919 by chx, eaton, moshe, et al: enable programmaticaly submitted forms via the pull model. 2006-08-18 18:58:47 +00:00
Steven Wittens 81938a3cdc #76802: Introduce placeholder magic into t()
See: http://drupal.org/node/64279#t-placeholders
2006-08-18 12:17:00 +00:00
Neil Drumm 3cc2b1e3d7 #77183 by m3avrck and timcn, split up drupal.css by module. 2006-08-14 07:14:50 +00:00
Dries Buytaert 729fa6c11b - Patch #77422 by timcn: corrected various paths in the documentation. 2006-08-07 15:04:16 +00:00
Neil Drumm cd430165d7 #73884 by RobRoy, various code cleanup. 2006-08-05 00:26:36 +00:00
Dries Buytaert b138793b68 - Patch #72079 by Earl et al: give Drupal an overall administration page ... :-) 2006-07-31 11:25:55 +00:00
Neil Drumm 46295c435e #71625 by keve, fix checking of an object exists. 2006-07-19 06:23:44 +00:00
Neil Drumm 9cff02e91b #61802 by Zen, Double spaced sentences clean up 2006-05-07 00:08:36 +00:00
Gerhard Killesreiter 227276ad93 #52911, locale : fapi conversion + fixes, patch by Zen. 2006-03-17 18:35:56 +00:00
Dries Buytaert 71b0e2ddb7 - Patch #52324 by chx: fixed warnings when inserting locale strings. 2006-03-06 20:50:39 +00:00
Dries Buytaert 3603fe1bd8 - Patch #49912: www.drupal.org -> drupal.org. (Today's critical bugfix #5.) 2006-02-21 18:46:54 +00:00
Dries Buytaert bfb535f63e - Patch #19444 by Gerhard: added missing initialization of array. 2006-02-01 14:28:48 +00:00
Dries Buytaert e145866243 - Patch #44136 by riccardoR: can't enable more than one language. 2006-01-17 17:35:47 +00:00
Steven Wittens c27b62b182 - #41940: Locale string search broken in some cases (and remove some inappropriate db_escape_string() usage)
- #43491: Missing drupal_goto() after saving settings
2006-01-05 23:35:34 +00:00
Dries Buytaert a8b218827a - Patch #26139 by webchick / Kieran / documentation team: improved admin help of core modules! / 2005-11-01 10:17:34 +00:00
Steven Wittens 5f0e0f3649 - #33433: More form API fixes, and error handling improvements by Chx. 2005-10-13 10:02:31 +00:00
Dries Buytaert 75fe6b6c0a - Patch #33752 by chx, adrian, et al: another batch of form API changes/fixes. 2005-10-11 19:44:35 +00:00
Dries Buytaert 7e1527ee61 - Patch #29465: new form API by Adrian et al.
TODO:
  + The contact.module was broken; a new patch for contact.module is needed.
  + Documentation is needed.
  + The most important modules need to be updated ASAP.
2005-10-07 06:11:12 +00:00
Dries Buytaert 013b73e6ec - Patch #30122 by m3verick: changed include_once()'s to include "./$file"
for performance's sake.
2005-09-08 19:19:01 +00:00
Dries Buytaert 7b8a409675 - Patch #29385 by chx: no ?> add end of files. 2005-08-25 21:14:17 +00:00
Dries Buytaert 2debcfb1ef - Patch #15595 by Stefan and Djun: improved status messages.
TODO: we should write down a couple guidelines for these document them in
        the PHPDoc code of drupal_set_message()!  .
2005-05-05 22:22:46 +00:00
Dries Buytaert 0021293533 - Patch by Robert: fixed typo in code comments. 2005-05-03 05:22:53 +00:00
Dries Buytaert a76a1e1f3f - Patch 20910 by chx: centralize print theme page. 2005-04-24 16:34:36 +00:00
Steven Wittens be14203534 - #18817: Clean up plain-text checking (see drupal-devel!) 2005-03-31 09:25:33 +00:00
Steven Wittens 198ec98f75 #18329: Unify confirmation messages (and make them themable) 2005-03-03 20:51:27 +00:00
Dries Buytaert 64b100d19a - Patch #13260 by UnConeD: watchdog module improvements.
We added a 'severity' column to watchdog():
    watchdog($type, $message, $link) --> watchdog($type, $message, $severity, $link);

    * Specify a severity in case you are reporting a warning or error.
    * The $link-parameter is now the fourth parameter instead of the third.

  TODO: document this in the upgrade guide.
2005-01-09 09:22:40 +00:00
Dries Buytaert b8a556b81b - Bug 13503: updating the locale settings might impact the interface (eg. menu's) so we have to flush the cache. 2004-11-27 09:52:57 +00:00
Dries Buytaert fa97839088 - Patch 13180 by chx: renamed check_query() to db_escape_string() and implemtented it properly per database backend.
Read the manual for pg_escape_string:  "Use of this function is recommended instead of addslashes()." Or read sqlite_escape_string: "addslashes() should NOT be used to quote your strings for SQLite queries; it will lead to strange results when retrieving your data."
2004-11-21 08:25:17 +00:00
Steven Wittens 1cbf2f63b2 #12146: Improve locale import/export messages (Stefan) 2004-10-26 17:20:58 +00:00
Dries Buytaert 10f329c057 - Patch #11728 by Uwe Hermann: fixed some typos in the code comments, Doxygen documentation and screen output.
Uwe: I dropped the 'iff' chunks as 'iff' stands for 'if and only if'.
2004-10-19 18:02:31 +00:00
Steven Wittens 9e4399aae8 #10677: Confirmation when deleting a block + unifying confirmation screens. 2004-10-14 15:28:24 +00:00
Dries Buytaert 673f35037d - Patch #11179 by stefan: fixed broken URL in context sensitive help. 2004-10-08 16:52:02 +00:00
Dries Buytaert 5c7983c4de - Patch #8179 by JonBob: reintroduced menu caching. 2004-09-16 07:17:56 +00:00