We have moved to Github. Please open tickets there.

Opened 2 years ago

Closed 23 months ago

#3593 closed Defect (fixed)

Blog newpost translation

Reported by: DavidCB Owned by:
Priority: normal Milestone: Elgg 1.8.0
Component: Blog Version: 1.8 Beta
Severity: minor Keywords:
Cc: brett@… Difficulty: trivial

Description

In mod\blog\start.php line 44:

register_notification_object('object', 'blog', elgg_echo('blog:newpost'));

It could be:

register_notification_object('object', 'blog', elgg_echo('blog:notify:newpost'));

And in the translation file add two lines:

Notifications

'blog:notify:newpost' => "New blog post",

That's all.
Excuse my English

Change History (6)

comment:1 Changed 2 years ago by ewinslow

Hi, David,

Thanks for the bug report! Is there a particular reason this language string needs to be changed?

comment:2 Changed 2 years ago by DavidCB

Hi ewinslow,

You're welcome.

No, I just have based my change into another string that was in the wire and I found more explanatory.
There's no need to change the string

comment:3 Changed 2 years ago by cash

Evan - a little history on the wire strings. They came from the JHU/APL version of the wire and we had our own notification system implementation called 'notify'. That's why the wire notification strings use that.

Long term, we will want separate strings for notifications because we'll want to say things like "New wire post by Evan Winslow" rather than the uninformative "New wire post".

comment:4 Changed 2 years ago by DavidCB

Ok, but the really mistake is in the translation that not exist, not in the name of the string.
'blog:newpost' => "New blog post",

It appears in the inbox like "blog:newpost" when it should be say "New blog post"

Excuse my English

comment:5 Changed 23 months ago by cash

  • Difficulty changed from easy to trivial
  • Milestone changed from Needs Review to Elgg 1.8.0

Yes, we need to define 'blog:newpost'. Thanks for the report.

comment:6 Changed 23 months ago by cash

  • Resolution set to fixed
  • Status changed from new to closed

Fixes #3593 defining the blog post notification string

Changeset: 43ac188ef47a45e6b711bbb9a624c9e9b21318d6

Note: See TracTickets for help on using tickets.