Download & Extend

Preview doesn't work on non-english sites

Project:Comment Upload
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)
Issue tags:attach, preview

Issue Summary

Preview doesn't work on non-english sites, because some strings aren't wrapped in t().

String 538 'Attach'
String 556 'Preview' and 'Attach'

Comments

#1

Version:6.x-1.0-alpha5» 6.x-1.x-dev
Status:active» needs review

I had the same problem.
Find the patch attached.

AttachmentSize
comment_upload_preview.patch 1.44 KB

#2

@ankheg I made a patch based on your initial post but I didn't get it to work yet. Have you been able to actually solve the issue or was your proposed solution just a hunch?

#3

Yes, the problem's solved. Your patch seems ok.

#4

Status:needs review» fixed

Patch looks good. Committed, thanks!

#5

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

#6

This patch works great! Thanx toemaz.

#7

Problem came back after updating Drupal to 6.14... It is weird because I have the newest Comment Upload module with patch commited... Someting else changed?

m.

#8

@lewmich
It has been committed: http://drupal.org/cvs?commit=237422 and so it's available in the D6 dev package.

#9

Status:closed (fixed)» active

updating Drupal to 6.14 and problem came back...
tested: 6.x-1.0-alpha5, 6.x-1.x-dev

No preview if text olny and if text and attach

don't wanna back to 6.13...

#10

Status:active» closed (fixed)

There has been an FAPI change in 6.14. See for similar bug report http://drupal.org/node/579900
This 'new' issue has nothing to do with this one so resubmit a new issue.

#11

Subscribing. Any chance for a release soonish with this change included?

#12

Status:closed (fixed)» active

Still isn't working in D6.16 with the latest dev version of comment_upload.
It's definitely the language, because switching to English enables comment preview again.

#13

I just applied the patch to 6.x-1.0-alpha5 on a german site running Drupal 6.19

The patch works fine here. Users with de as language are now able to preview their comments.

Thank you!

Helmut

#14

@zLaW it would have been more useful if you use the dev rather than alpha 5 and see whether it was still applicable. That way we could place this issue on RTBC.

#15

@toemaz - sorry, I didn't mean to be useless ;-)

I dl'd 6.x-1.x-dev today and tried it on my Drupal 6.19 site.

The dev version contains the changes found in the patch and preview works fine for users in german on this site.

Helmut

#16

Status:active» closed (fixed)

So let's put it on fixed then.