Closed (fixed)
Project:
Localization client
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
29 Nov 2007 at 21:23 UTC
Updated:
4 Dec 2008 at 10:26 UTC
Jump to comment: Most recent file
Comments
Comment #1
gábor hojtsyWhat Drupal version?
Comment #2
jose reyero commentedTried with 5.5 and the patch applies cleanly.
Comment #3
LsasS commentedThe same problem detected in Drupal 5.6:
Missing argument 1 for locale() in www\modules\locale\locale.module on line 163.
Comment #4
gábor hojtsyLsasS: that was after you applied the included patch successfully, as explained in the README? (if you did apply it and it worked, then your comment is not related, if you did not apply it then your comment is not related either). Only if you applied the patch and found an error applying it, your comment belongs here. In which case you should see a patch error, not a Drupal error. So I am confused.
Comment #5
emackn commentedjust in case it helps, for linux
and systeme should respond with
patching file locale.moduleComment #6
jelatinas commentedI'm using Drupal 5.5 and go the same message below while typing: patch locale.module locale_module.patch (I'm at root/modules/locale)
Hunk #1 FAILED at 160.
Hunk #2 FAILED at 223.
Let me know if you need any more info.
Jesse
Comment #7
gábor hojtsyYou should apply the patch from the root folder, not in the locale module folder.
Comment #8
jelatinas commentedI followed emackn steps above....so those steps are wrong?
I tried running my root the following:
patch -p0 locale_module.path
...and got the following:
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: locale.module
|===================================================================
|RCS file: /cvs/drupal/drupal/modules/locale/locale.module,v
|retrieving revision 1.155
|diff -u -r1.155 locale.module
|--- locale.module 27 Dec 2006 13:11:59 -0000 1.155
|+++ locale.module 2 Oct 2007 22:54:19 -0000
--------------------------
File to patch:
What should I type there? what am I doing wrong?
Please help. thanks.
Comment #9
gábor hojtsyHm, well, the file to patch is modules/locale/locale.module
Comment #10
pasqualle@Gabor actually this patch is written relative to locale module folder not from drupal root folder
change the first line in patch to
Index: modules/locale/locale.moduleor use the attached locale.module (patched drupal 5.7)
Comment #11
pasqualleComment #12
pasquallethe patch should be fixed
Comment #13
Romasito commentedDo we have a patched locale.module for Drupal 5.8? Because for that version running patch, i get the following:
[path to drupal modules dir]\locale>patch -n -i locale_module.patch
patch: **** Only garbage was found in the patch input.
That probably means that in locale.module things changed and patch is invalid as of 5.8.
Comment #14
jose reyero commentedI've tried the patch 2 days ago and it works
Comment #15
EllECTRONC commentedI've tried this patch on 5.7, 5.8, 5.9 and patch works!
Comment #16
lukas2me commentedHey. Just so you know
The patch also works for 5.12 perfectly.
Just simply copy files located in /modules/l10n_client/locale/ to the/modules/locale/