6.0.0-beta1
7/8/25

[#11400] Twitter Service js beakage
Summary Twitter Service js beakage
Queue Horde Framework Packages
Queue Version FRAMEWORK_4
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester bastien (at) durel (dot) org
Created 09/02/2012 (4692 days ago)
Due
Updated 10/15/2012 (4649 days ago)
Assigned
Resolved 09/02/2012 (4692 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/15/2012 08:36:35 PM Git Commit Comment #4 Reply to this comment
Changes have been made in Git (develop):

commit b5007aaa00db3e4cbe7f05c8f606f62b878b6362
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Sun Sep 2 11:53:26 2012 -0400

     Bug: 11400 Escape translated strings before outputing.

  horde/lib/Block/TwitterTimeline.php |    6 +++---
  1 files changed, 3 insertions(+), 3 deletions(-)

http://git.horde.org/horde-git/-/commit/b5007aaa00db3e4cbe7f05c8f606f62b878b6362
09/02/2012 03:59:24 PM Michael Rubinsky Assigned to Michael Rubinsky
State ⇒ Resolved
 
09/02/2012 03:58:09 PM Git Commit Comment #3 Reply to this comment
Changes have been made in Git (FRAMEWORK_4):

commit 80c7dffe5a9b040d55a50196eb4e9ef87ab59341
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Sun Sep 2 11:53:26 2012 -0400

     Bug: 11400 Escape translated strings before outputing.

  horde/lib/Block/TwitterTimeline.php |    6 +++---
  1 files changed, 3 insertions(+), 3 deletions(-)

http://git.horde.org/horde-git/-/commit/80c7dffe5a9b040d55a50196eb4e9ef87ab59341
09/02/2012 03:54:35 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit b5007aaa00db3e4cbe7f05c8f606f62b878b6362
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Sun Sep 2 11:53:26 2012 -0400

     Bug: 11400 Escape translated strings before outputing.

  horde/lib/Block/TwitterTimeline.php |    6 +++---
  1 files changed, 3 insertions(+), 3 deletions(-)

http://git.horde.org/horde-git/-/commit/b5007aaa00db3e4cbe7f05c8f606f62b878b6362
09/02/2012 08:05:54 AM bastien (at) durel (dot) org Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ Twitter Service js beakage
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
Hello,

Twitter service won't work if translated in french, because JS strings 
are translated without escaping, so you got this :
strings: { inreplyto: 'En réponse à :', defaultText: 'À quoi 
travaillez-vous ?', justnow: 'À l'instant?' }

instead of this :
strings: { inreplyto: 'En réponse à :', defaultText: 'À quoi 
travaillez-vous ?', justnow: 'À l\'instant?' }

and the JS fails due to unterminated string

Saved Queries