Skip to content

Commit 1cd7340

Browse files
authored
Merge pull request #3 from xmha97/master
حذف کردن دکمه‌ی تولبار
2 parents eba2446 + 4caeede commit 1cd7340

File tree

6 files changed

+4
-531
lines changed

6 files changed

+4
-531
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Mahour persian Dates For Thunderbird
22
===================
33

4-
This add-on adds one new column called `"تاریخ"` in message list containing
4+
This add-on adds one new column called `"Date (Persian)"` in message list containing
55
Iranian(Persian/Jalali/Khorshidi) Date.
66

77
This add-on is reimplementation of [Iranian date for thunderbird](https://addons.thunderbird.net/en-US/thunderbird/addon/iranian-date-for-thunderbird/?src=ss) ([GitHub Page](https://github.com/pouriap/Thunderbird-IranianDate)) for thunderbird 68+. The API-Extension source is based on [Full address column](https://addons.thunderbird.net/en-US/thunderbird/addon/full-address-column/?src=ss)([GitHub Page](https://github.com/lkosson/full-address-column)) by Łukasz Kosson.

src/content/customcol.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const jalaliDateColumnHandler = {
3535
}) + " ،"
3636
: "";
3737

38-
//fix for bug that doesn't prepend zero to farsei
38+
//Fix for a bug that doesn't prepend zero to Farsi
3939
if (time.length != 7 && timeStyle != "hidden") {
4040
var zero = numbersStyle === "arabext" ? "۰" : "0";
4141
time = zero + time;
@@ -139,7 +139,7 @@ const columnOverlay = {
139139
treeCol.setAttribute("flex", "2");
140140
treeCol.setAttribute("closemenu", "none");
141141
treeCol.setAttribute("label", columnLabel);
142-
treeCol.setAttribute("tooltiptext", "تاریخ خورشیدی");
142+
treeCol.setAttribute("tooltiptext", "Sort by Persian date");
143143

144144
const threadCols = win.document.getElementById("threadCols");
145145
threadCols.appendChild(treeCol);
@@ -170,7 +170,7 @@ const columnOverlay = {
170170
},
171171

172172
addColumns(win) {
173-
this.addColumn(win, "jalaliDateColumn", "تاریخ");
173+
this.addColumn(win, "jalaliDateColumn", "Date (Persian)");
174174
},
175175

176176
destroyColumn(columnId) {

src/manifest.json

-7
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,6 @@
2424
"background": {
2525
"scripts": ["background/background.js"]
2626
},
27-
"browser_action": {
28-
"default_title": "ماهور",
29-
"default_popup": "popup/popup.html",
30-
"default_icon": {
31-
"48": "assets/icons/icon48.png"
32-
}
33-
},
3427
"options_ui": {
3528
"page": "options/options.html",
3629
"open_in_tab": false

src/popup/popup.css

-331
This file was deleted.

0 commit comments

Comments
 (0)