Log of /contributions/modules/i18n/i18nstrings/i18nstrings.module
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.8.2.29 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Jan 14 16:33:31 2009 UTC
(10 months, 1 week ago)
by
jareyero
Branch:
DRUPAL-6--1
Changes since
1.8.2.28: +2 -1 lines
Diff to
previous 1.8.2.28
, to
branch point 1.8
Index: i18nblocks/i18nblocks.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/i18n/i18nblocks/i18nblocks.module,v
retrieving revision 1.7.2.12
diff -u -p -r1.7.2.12 i18nblocks.module
--- i18nblocks/i18nblocks.module 16 Nov 2008 13:37:11 -0000 1.7.2.12
+++ i18nblocks/i18nblocks.module 14 Jan 2009 14:13:00 -0000
@@ -96,6 +96,28 @@ function i18nblocks_locale($op = 'groups
}
/**
+ * Implementation of hook_form_FORM_ID_alter().
+ */
+function i18nblocks_form_block_box_delete_alter(&$form, $form_state) {
+ $delta = db_result(db_query('SELECT ibid FROM i18n_blocks WHERE delta = %d', arg(4)));
+ $form['delta'] = array(
+ '#type' => 'value',
+ '#value' => $delta,
+ );
+ $form['#submit'][] = 'i18nblocks_block_delete_submit';
+}
+
+/**
+ * Remove strings for deleted custom blocks.
+ */
+function i18nblocks_block_delete_submit(&$form, $form_state) {
+ $delta = $form_state['values']['delta'];
+ // Delete stored strings for the title and content fields.
+ i18nstrings_remove_string("blocks:block:$delta:title");
+ i18nstrings_remove_string("blocks:block:$delta:content");
+}
+
+/**
* Implementation of block form_alter().
*
* Remove block title for multilingual blocks.
@@ -342,4 +364,4 @@ function _i18nblocks_list($langcode = ''
}
}
return $list[$index];
-}
\ No newline at end of file
+}
Revision
1.8.2.5 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Jul 25 20:36:47 2008 UTC
(16 months ago)
by
jareyero
Branch:
DRUPAL-6--1
CVS Tags:
DRUPAL-6--1-0-BETA2
Changes since
1.8.2.4: +39 -130 lines
Diff to
previous 1.8.2.4
, to
branch point 1.8
- Commented out views hooks on i18ntaxonomy (not for the first version), #285660
- Fixed wrong duplicated translations (context/caching issue), #281471
- Added preliminary support for l10n client (Patch pending)
- Fixed missing dependency on i18nblocks, #279769
- Fixed i18npoll_nodeapi returning $node, breaking feeds and cron calls, #254022
- Fixed notice and possible i18n blocks not found, #278588
Revision
1.9.2.1
Thu Feb 21 20:14:23 2008 UTC
(21 months ago)
by
jareyero
Branch:
DRUPAL-5--3
Changes since
1.9: +0 -691 lines
FILE REMOVED
file i18nstrings.module was added on branch DRUPAL-5--3 on 2008-07-24 18:40:23 +0000
Revision
1.9 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Feb 21 20:14:23 2008 UTC
(21 months ago)
by
jareyero
Branch:
MAIN
CVS Tags:
HEAD
Branch point for:
DRUPAL-5--3
Changes since
1.8: +52 -2 lines
Diff to
previous 1.8
- Added (Upgraded) i18ncontent, fully reworked, much cleaner now
- Improved i18nstrings, translation of strings without source, debug facility
- Replaced taxonomy term pages with localized version
Revision
1.5 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Feb 17 17:25:39 2008 UTC
(21 months, 1 week ago)
by
jareyero
Branch:
MAIN
Changes since
1.4: +82 -14 lines
Diff to
previous 1.4
Updated i18nprofile for Drupal 6.0
Improved strings, handling of source strings indexed by string.
Updated syntax for i18nviews.info.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.