« Return to Thread: [Tiki-devel] Suggestion to change source of tracker_changed_notification_subject.tpl

Re: [Tiki-devel] Suggestion to change source of tracker_changed_notification_subject.tpl

by Daniel Berlin-9 :: Rate this Message:

| View in Thread

Hey Xavi,

don't get me wrong — I'm not to lazy or shy to commit code myself.

Just thinking that there are a zillion Tiki admins out there who
(rightfully) rely on things to work like they did in the past 5 or 10
years, so one better don't turn a screw or knob on the machinery without
asking around well before. ;-)

Take care
– Dan





Am 05.03.2012 11:14, schrieb Xavier de Pedro:

> Dan, you'd better request commit access to the svn repository.
>
> See https://dev.tiki.org/How+to+get+commit+access
>
> Cheers and thanks for your suggestions of improvements (and thanks for
> comitting your improvements yourself, if possible)
>
> Xavi
>
> On 29/02/12 21:39, Dan wrote:
>> Hi luci,
>>
>> I can not change the source in the code repositories myself anyways,
>> because I have no write access. That's why I suggested the change here
>> on the list.
>>
>> In any case, if you look at the current source of
>> * templates/mail/tracker_changed_notification_subject.tpl
>> it just uses {tr} / {/tr} so even if the suggested change would not be
>> accepted it may be an occasion to clean up issues with the translation
>> mechanism (if they actualy exist).
>>
>> Whoever takes the effort of working on
>> * templates/mail/tracker_changed_notification_subject.tpl (maybe) and
>> * templates/mail/tracker_changed_notification.tpl
>> should be aware. I noted that they deal with variables whichs values mix
>> \r\n and \n for newline, which can cause severe brain hammerage if you
>> try to use the replace-modifier to replace or reduce newlines. ;-)
>>
>> Ahoy,
>> – Dan
>>
>>
>> Am 29.02.2012 20:44, schrieb luciash:
>>> Hi,
>>> please use translation placeholders:
>>> http://dev.tiki.org/Code+Howto%3A+Adding+translatable+text+elements+to+the+User+Interface&highlight=translation#Placeholders
>>>
>>> <http://dev.tiki.org/Code+Howto%3A+Adding+translatable+text+elements+to+the+User+Interface&highlight=translation#Placeholders>
>>>
>>>
>>> Thanks, luci
>>>
>>>
>>> On 29.2.2012 20:38, Dan wrote:
>>>> After some more experimentation on one of the Tiki sites I'm involded
>>>> with, I'd say the source should be
>>>>
>>>> {$mail_trackerName} — {$mail_itemId} · {$mail_item_desc} {tr}was
>>>> edited{/tr}
>>>>
>>>> so as to avoid by adding $mail_itemId that edit notifications for
>>>> different tracker items which coincidally share the same
>>>> $mail_item_desc
>>>> to be collapsed into the same forum thread.
>>>>
>>>> Ahoy,
>>>> – Dan
>>>>
>>>>
>>>>
>>>>
>>>> Am 28.02.2012 01:42, schrieb Marc Laporte:
>>>>> server name is pretty useless
>>>>>
>>>>> Who modified is nice info, but it's in the message indeed.
>>>>>
>>>>> Threading for mails or forums is a good point, so I am OK with your
>>>>> proposed changes.
>>>>>
>>>>> What do other think?
>>>>>
>>>>>
>>>>> On 2012-02-27 4:37 PM, "Dan"<dan.btown@...>     wrote:
>>>>>> The source?
>>>>>>
>>>>>> In Tiki 8.3 it's:
>>>>>>
>>>>>> "{$mail_trackerName}" {tr}item{/tr} "{$mail_item_desc}" {tr}was
>>>>>> modified
>>>>>> at{/tr} {$server_name} {tr}by{/by} "{$user|username}"
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Am 27.02.2012 22:17, schrieb Marc Laporte:
>>>>>>> What does it say now?
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Feb 27, 2012 at 3:35 PM, Dan<dan.btown@...>
>>>>>>> wrote:
>>>>>>>> If the source of
>>>>>>>>
>>>>>>>> * templates/mail/tracker_changed_notification_subject.tpl
>>>>>>>>
>>>>>>>> would be changed to just
>>>>>>>>
>>>>>>>> {$mail_trackerName} — {$mail_item_desc} {tr}was edited{/tr}
>>>>>>>>
>>>>>>>> rather than what the source of the template is now, it would
>>>>>>>> out-of-the-box be possible to feed the notification mails to a
>>>>>>>> Tiki
>>>>>>>> forum and have the mails that concern the same item all be
>>>>>>>> collapsed in
>>>>>>>> the same thread (unless, of course, the mail_item_desc is
>>>>>>>> changed).
>>>>>>>>
>>>>>>>> I think that much of the information which is pressed into the
>>>>>>>> subject
>>>>>>>> line by the current version of the source is redundant anyway
>>>>>>>> because it
>>>>>>>> is all repeated in the body of the email!?
>>>>>>>>
>>>>>>>> Note:
>>>>>>>> * The dash in the suggested source is an em-dash.
>>>>>>>> * The suggested source does deliberatly not make use of quotes,
>>>>>>>> because
>>>>>>>> their correct graphic representation is i18n dependend.
>>>>>>>>
>>>>>>>> Your thoughts?
>>>>>>>>
>>>>>>>> – Dan
>>
>
>

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
TikiWiki-devel mailing list
TikiWiki-devel@...
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

 « Return to Thread: [Tiki-devel] Suggestion to change source of tracker_changed_notification_subject.tpl