jeevatkm/ReplyWithHeaderMozilla

Brand new RWH v3.0.0 Mail Extension for TB future roadmap

Closed this issue · 22 comments

In the #99 issue tracking, the short-term goal of adding TB 78 has been done and released to ATN.

This issue is to track the new development of RWH v3.0.0 Mail Extention development.

@frazar @ofa- @rostafiychuk I'm working on the WebExtension version of RWH. The branch is here.

I require a sample string of the following in multiple languages for a Plain Text email.

Reply

On 4/27/24 5:58 PM, Thunderbird Add-ons wrote:

Forward

-------- Forwarded Message --------
Subject: Mozilla Add-on User Rating: ReplyWithHeader
Date: Sun, 28 Apr 2024 00:58:03 -0000
From: Thunderbird Add-ons <nobody@thunderbird.net>
To: jeeva@myjeeva.com

For Italian:

Reply

Il 27/4/2024 alle 17:58, Thunderbird Add-ons ha scritto:

Forward

-------- Messaggio Inoltrato --------
Oggetto: Mozilla Add-on User Rating: ReplyWithHeader
Data: Domenica 28 Aprile 2024 00:58:03 -0000
Da: Thunderbird Add-ons <nobody@thunderbird.net>
A: jeeva@myjeeva.com

Thanks, @p91paul, for your help.

Sorry, I can't provide with anything more than what you already have 😅

ofa- commented

Hi there @jeevatkm ! my Japanese contact is not reachable :-( I used goOgLe :
image

Reply:

24/04/27 17:58に、 Thunderbirdのアドオン /// 書き込み: TOTO

ofa- commented
--------転送されたメッセージ--------
件名: Mozilla Add-on User
レーティング: ReplyWithHeader
日付: Sun, 28 Apr 2024 00:58:03 -0000
差出人: Thunderbird Add-ons
宛先: jeeva@myjeeva.com

Sorry, I can't provide with anything more than what you already have 😅

Thanks, @frazar, for your response.

Hi there @jeevatkm ! my Japanese contact is not reachable :-( I used goOgLe : image

Reply:

24/04/27 17:58に、 Thunderbirdのアドオン /// 書き込み: TOTO

Thanks, @ofa-. I require the translation provided by Thunderbird since I need to process plain text emails generated by Thunderbird.

ofa- commented

@jeevatkm then maybe go look into the TB source / i18n ?

for fr, from the TB android github repo: https://github.com/thunderbird/thunderbird-android/blob/18e414fe2fd6d60005ae4adb53e3b4e847d9984e/app/ui/legacy/src/main/res/values-fr/strings.xml#L170

for .ja: https://github.com/thunderbird/thunderbird-android/blob/18e414fe2fd6d60005ae4adb53e3b4e847d9984e/app/ui/legacy/src/main/res/values-ja/strings.xml#L168

EDIT:

That said, if you are going to be replacing the text you search, you might as well use the TB i18n api itself to give you the exact correct string to look for, no ?

@ofa- Thanks for the message. I did that exercise already, but I couldn't find a reference here. That's why I'm trying my luck with RWH users to collect data.

I'm planning to reach out to https://thunderbird.topicbox.com/groups/addons next.

Just so you know, the above code reference you have shared belongs to the K-9 Android mobile app, not a TB desktop app.

Hello RWH Users -

I have created an RWH {Web|Mail}Extension version of the add-on. The v3 version is a complete rewrite from the ground up. Please try it and share feedback.
I have developed a significantly improved and capable RWH in v3. You will find it to be a significant enhancement to your workflow.

Download Link: https://docs.myjeeva.com/rwh-mozilla/replywithheader-v3.0.0.beta1.xpi

Cheers, Jeeva

problem in "object"

old version
old

more correct
the "RE" is removed

new version
new
the "RE" is present

;)

then I found that it's not good for newsserver accounts, ok they should be disabled.
But could they have already been disabled at the start?
Or is it even better to have an answer made specifically for this type of account?

@gabri25ele I have validated it. The RWH v3 add-on does not add any prefix to the subject, e.g.,Re:; it must be TB v125 that is doing it. So, can you try TB v125 with the RWH v3 add-on?

I didn't understand the following three lines. What did you mean?

then I found that it's not good for newsserver accounts, ok they should be disabled.
But could they have already been disabled at the start?
Or is it even better to have an answer made specifically for this type of account?

@gabri25ele I have validated it. The RWH v3 add-on does not add any prefix to the subject, e.g.,Re:; it must be TB v125 that is doing it. So, can you try TB v125 with the RWH v3 add-on?

I tried 125 thunderbird,
this image
329965973-ba14d485-76e2-45bd-b93c-4da81fa146e0
is from 125.

I didn't understand the following three lines. What did you mean?

then I found that it's not good for newsserver accounts, ok they should be disabled.
But could they have already been disabled at the start?
Or is it even better to have an answer made specifically for this type of account?

Thunderbird is also a news reader, read newsgroup, so with newsserver, for example news.solani.org, the reply is not good, the quote message not work properly.

@gabri25ele Did you mean the subject for Re: => RE: on the header attribution?

Thunderbird is also a news reader, read newsgroup, so with newsserver, for example news.solani.org, the reply is not good, the quote message not work properly.

Now I understand, thanks. FYI, RWH always supported only Mail accounts.

@gabri25ele Did you mean the subject for Re: => RE: on the header attribution?

Thunderbird is also a news reader, read newsgroup, so with newsserver, for example news.solani.org, the reply is not good, the quote message not work properly.

Now I understand, thanks. FYI, RWH always supported only Mail accounts.

yes, in fact just deactivate the accounts on the list
the problem is only with the object
#103 (comment)

in some emails it puts me RE in others only R, look here

sshot-1

@gabri25ele That tells us that TB itself has an issue.

Hello RWH Users -

Now RWH v3.0.0.beta2 is ready! FYI, the v3 version is a complete rewrite from the ground up. Please try it and share feedback.
I have developed a significantly improved and capable RWH in v3. You will find it to be a significant enhancement to your workflow.

Download Link: https://github.com/jeevatkm/ReplyWithHeaderMozilla/releases/download/v3.0.0.beta2/replywithheader-v3.0.0.beta2.xpi

Cheers, Jeeva

from this "problem" #103 (comment)
nothing changed with RWH v3.0.0.beta2

sshot-1

@gabri25ele I have investigated it; the R problem is coming from TB; the RWH addon doesn't do that. So please report it TB as a bug.

RWH only acts if it sees the Re: or Fwd:; otherwise, nothing happens.
Code reference:

_transformSubjectPrefix(subject) {
if (subject.startsWith(rwhSettings.replySubjectPrefix)) {
return subject.replace(rwhSettings.replySubjectPrefix, 'RE:')
}
if (subject.startsWith(rwhSettings.forwardSubjectPrefix)) {
return subject.replace(rwhSettings.forwardSubjectPrefix, 'FW:');
}
return subject;
}

I have submitted the RWH v3.0.0 addon to ATN for review.