Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
FHenry committed Nov 22, 2024
1 parent dbba584 commit c8dfacd
Show file tree
Hide file tree
Showing 48 changed files with 52 additions and 50 deletions.
2 changes: 1 addition & 1 deletion htdocs/comm/action/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@
$default = '';
}

$tooltip = $langs->trans("Cache").' '.round($DELAYFORCACHE / 60).'mn';
$tooltip = $langs->trans("Cache").' '.round($DELAYFORCACHE / 60).'min';

$s .= '<div class="nowrap inline-block minheight30"><input type="checkbox" id="check_ext'.$htmlname.'" name="check_ext'.$htmlname.'" value="1" '.$default.'><label for="check_ext'.$htmlname.'" title="'.dol_escape_htmltag($tooltip).'" class="labelcalendar">'.dol_escape_htmltag($val['name']).'</label> &nbsp; </div>';
}
Expand Down
4 changes: 2 additions & 2 deletions htdocs/core/lib/date.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ function dol_time_plus_duree($time, $duration_value, $duration_unit, $ruleforend
if ($duration_unit == 's') {
return $time + (int) ($duration_value);
}
if ($duration_unit == 'i' || $duration_unit == 'mn' || $duration_unit == 'min') {
if ($duration_unit == 'i' || $duration_unit == 'min') {
return $time + (int) (60 * $duration_value);
}
if ($duration_unit == 'h') {
Expand Down Expand Up @@ -342,7 +342,7 @@ function convertDurationtoHour($duration_value, $duration_unit)
if ($duration_unit == 's') {
$result = $duration_value / 3600;
}
if ($duration_unit == 'i' || $duration_unit == 'mn' || $duration_unit == 'min') {
if ($duration_unit == 'i' || $duration_unit == 'min') {
$result = $duration_value / 60;
}
if ($duration_unit == 'h') {
Expand Down
2 changes: 1 addition & 1 deletion htdocs/install/mysql/data/llx_c_units.sql
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ INSERT INTO llx_c_units (code, sortorder, scale, label, short_label, unit_type,
INSERT INTO llx_c_units (code, sortorder, scale, label, short_label, unit_type, active) VALUES ('SET','510', '0','Set','set', 'qty', 1);

INSERT INTO llx_c_units (code, sortorder, scale, label, short_label, unit_type, active) VALUES ('S', '600', '1','second','s', 'time', 1);
INSERT INTO llx_c_units (code, sortorder, scale, label, short_label, unit_type, active) VALUES ('MI','610', '60','minute','mn', 'time', 1);
INSERT INTO llx_c_units (code, sortorder, scale, label, short_label, unit_type, active) VALUES ('MI','610', '60','minute','min', 'time', 1);
INSERT INTO llx_c_units (code, sortorder, scale, label, short_label, unit_type, active) VALUES ('H', '620', '3600','hour','h', 'time', 1);
INSERT INTO llx_c_units (code, sortorder, scale, label, short_label, unit_type, active) VALUES ('D', '630', '86400','day','d', 'time', 1);
INSERT INTO llx_c_units (code, sortorder, scale, label, short_label, unit_type, active) VALUES ('W', '640', '604800','week','w', 'time', 1);
Expand Down
2 changes: 2 additions & 0 deletions htdocs/install/mysql/migration/20.0.0-21.0.0.sql
Original file line number Diff line number Diff line change
Expand Up @@ -382,3 +382,5 @@ INSERT INTO llx_c_type_contact (element, source, code, libelle, active ) values
ALTER TABLE llx_facture_rec ADD COLUMN fk_societe_rib integer DEFAULT NULL;

ALTER TABLE llx_facture ADD COLUMN is_also_delivery_note tinyint DEFAULT 0 NOT NULL;

UPDATE llx_c_units SET short_label='min',code='MIN' WHERE code='MI' AND short_label='mi' AND unit_type='time' AND scale=60;
2 changes: 1 addition & 1 deletion htdocs/langs/am_ET/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Quadri=ኳድሪ
MonthOfDay=የቀኑ ወር
DaysOfWeek=የሳምንቱ ቀናት
HourShort=ኤች
MinuteShort=mn
MinuteShort=min
SecondShort=ሰከንድ
DayShort=d
MonthShort=m
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/ar_DZ/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ Quadri=Quadri
MonthOfDay=Month of the day
DaysOfWeek=Days of week
HourShort=H
MinuteShort=mn
MinuteShort=min
Rate=Rate
CurrencyRate=Currency conversion rate
UseLocalTax=Include tax
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/ar_JO/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ Quadri=Quadri
MonthOfDay=Month of the day
DaysOfWeek=Days of week
HourShort=H
MinuteShort=mn
MinuteShort=min
Rate=Rate
CurrencyRate=Currency conversion rate
UseLocalTax=Include tax
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/ar_SY/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ Quadri=Quadri
MonthOfDay=Month of the day
DaysOfWeek=Days of week
HourShort=H
MinuteShort=mn
MinuteShort=min
Rate=Rate
CurrencyRate=Currency conversion rate
UseLocalTax=Include tax
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/az_AZ/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Quadri=Quadri
MonthOfDay=Günün ayı
DaysOfWeek=Həftənin günləri
HourShort=H
MinuteShort=mn
MinuteShort=min
SecondShort=san
DayShort=d
MonthShort=m
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/bn_BD/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Quadri=কাদরি
MonthOfDay=দিনের মাস
DaysOfWeek=সপ্তাহের দিনগুলি
HourShort=এইচ
MinuteShort=mn
MinuteShort=min
SecondShort=সেকেন্ড
DayShort=d
MonthShort=m
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/bn_IN/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Quadri=কাদরি
MonthOfDay=দিনের মাস
DaysOfWeek=সপ্তাহের দিনগুলি
HourShort=এইচ
MinuteShort=mn
MinuteShort=min
SecondShort=সেকেন্ড
DayShort=d
MonthShort=m
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/cs_CZ/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Quadri=Quadri
MonthOfDay=Měsíce ode dne
DaysOfWeek=Days of week
HourShort=H
MinuteShort=mn
MinuteShort=min
SecondShort=sec
DayShort=d
MonthShort=m
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/cy_GB/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Quadri=Quadri
MonthOfDay=Mis o'r dydd
DaysOfWeek=Dyddiau'r wythnos
HourShort=H
MinuteShort=mn
MinuteShort=min
SecondShort=eiliad
DayShort=d
MonthShort=m
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/de_DE/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Quadri=vierfach
MonthOfDay=Tag des Monats
DaysOfWeek=Wochentage
HourShort=H
MinuteShort=mn
MinuteShort=min
SecondShort=Sek
DayShort=d
MonthShort=m
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/en_US/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ Quadri=Quadri
MonthOfDay=Month of the day
DaysOfWeek=Days of week
HourShort=H
MinuteShort=mn
MinuteShort=min
SecondShort=sec
DayShort=d
MonthShort=m
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/et_EE/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Quadri=Kvartal
MonthOfDay=Kuu päev
DaysOfWeek=Päevi nädalas
HourShort=H
MinuteShort=mn
MinuteShort=min
SecondShort=sec
DayShort=d
MonthShort=m
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/eu_ES/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Quadri=Quadri
MonthOfDay=Month of the day
DaysOfWeek=Days of week
HourShort=H
MinuteShort=mn
MinuteShort=min
SecondShort=sec
DayShort=d
MonthShort=m
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/fa_IR/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Quadri=چهارتایی
MonthOfDay=ماه از روز
DaysOfWeek=Days of week
HourShort=H
MinuteShort=mn
MinuteShort=min
SecondShort=sec
DayShort=ر
MonthShort=m
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/fr_FR/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ Quadri=Trimestre
MonthOfDay=Mois du jour
DaysOfWeek=Jours de la semaine
HourShort=H
MinuteShort=mn
MinuteShort=min
SecondShort=sec
DayShort=j
MonthShort=m
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/hi_IN/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ Quadri=Quadri
MonthOfDay=Month of the day
DaysOfWeek=Days of week
HourShort=H
MinuteShort=mn
MinuteShort=min
Rate=Rate
CurrencyRate=Currency conversion rate
UseLocalTax=Include tax
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/hr_HR/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Quadri=Četvrtgodišnje
MonthOfDay=Jedan mjesec od dana
DaysOfWeek=Dani u tjednu
HourShort=H
MinuteShort=mn
MinuteShort=min
SecondShort=sek
DayShort=d
MonthShort=m
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/is_IS/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Quadri=Quadri
MonthOfDay=Mánuður dagsins
DaysOfWeek=Days of week
HourShort=H
MinuteShort=mn
MinuteShort=min
SecondShort=sec
DayShort=d
MonthShort=m
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/ja_JP/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ Quadri=までに4
MonthOfDay=その日の月
DaysOfWeek=曜日
HourShort=H
MinuteShort=mn
MinuteShort=min
SecondShort=秒
DayShort=日
MonthShort=m
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/ka_GE/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Quadri=Quadri
MonthOfDay=Month of the day
DaysOfWeek=Days of week
HourShort=H
MinuteShort=mn
MinuteShort=min
SecondShort=sec
DayShort=d
MonthShort=m
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/km_KH/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Quadri=ការ៉េ
MonthOfDay=ខែនៃថ្ងៃ
DaysOfWeek=ថ្ងៃនៃសប្តាហ៍
HourShort=ហ
MinuteShort=mn
MinuteShort=min
SecondShort=វិ
DayShort=ឃ
MonthShort=ម
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/kn_IN/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ Quadri=Quadri
MonthOfDay=Month of the day
DaysOfWeek=Days of week
HourShort=H
MinuteShort=mn
MinuteShort=min
SecondShort=sec
Rate=Rate
CurrencyRate=Currency conversion rate
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/ko_KR/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Quadri=쿼드리
MonthOfDay=현재 월
DaysOfWeek=Days of week
HourShort=H
MinuteShort=mn
MinuteShort=min
SecondShort=sec
DayShort=d
MonthShort=m
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/ku_IQ/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Quadri=Quadri
MonthOfDay=Month of the day
DaysOfWeek=Days of week
HourShort=H
MinuteShort=mn
MinuteShort=min
SecondShort=sec
DayShort=d
MonthShort=m
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/lo_LA/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Quadri=Quadri
MonthOfDay=ເດືອນຂອງມື້
DaysOfWeek=ມື້ຂອງອາທິດ
HourShort=ຮ
MinuteShort=mn
MinuteShort=min
SecondShort=ວິ
DayShort=d
MonthShort=m
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/lv_LV/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Quadri=Kvadrāt-
MonthOfDay=Mēneša laikā no dienas
DaysOfWeek=Nedēļas dienas
HourShort=H
MinuteShort=mn
MinuteShort=min
SecondShort=sek
DayShort=d
MonthShort=m
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/mn_MN/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ Quadri=Quadri
MonthOfDay=Month of the day
DaysOfWeek=Days of week
HourShort=H
MinuteShort=mn
MinuteShort=min
Rate=Rate
CurrencyRate=Currency conversion rate
UseLocalTax=Include tax
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/ms_MY/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ Quadri=Quadri
MonthOfDay=Month of the day
DaysOfWeek=Days of week
HourShort=H
MinuteShort=mn
MinuteShort=min
Rate=Rate
CurrencyRate=Currency conversion rate
UseLocalTax=Include tax
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/my_MM/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ Quadri=Quadri
MonthOfDay=Month of the day
DaysOfWeek=Days of week
HourShort=H
MinuteShort=mn
MinuteShort=min
Rate=Rate
CurrencyRate=Currency conversion rate
UseLocalTax=Include tax
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/nb_NO/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Quadri=Kvartal
MonthOfDay=Dag i måneden
DaysOfWeek=Dager i uken
HourShort=T
MinuteShort=mn
MinuteShort=min
SecondShort=sek
DayShort=d
MonthShort=m
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/ne_NP/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ Quadri=Quadri
MonthOfDay=Month of the day
DaysOfWeek=Days of week
HourShort=H
MinuteShort=mn
MinuteShort=min
Rate=Rate
CurrencyRate=Currency conversion rate
UseLocalTax=Include tax
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/nl_NL/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Quadri=Trimester
MonthOfDay=Maand van de dag
DaysOfWeek=Dagen van de week
HourShort=U
MinuteShort=mn
MinuteShort=min
SecondShort=sec
DayShort=d
MonthShort=m
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/pl_PL/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Quadri=Kwadrans
MonthOfDay=Dzień miesiąca
DaysOfWeek=Dni tygodnia
HourShort=H
MinuteShort=mn
MinuteShort=min
SecondShort=sek
DayShort=dz
MonthShort=m
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/pt_PT/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Quadri=Trimestre
MonthOfDay=Dia do mês
DaysOfWeek=Dias da semana
HourShort=H
MinuteShort=mn
MinuteShort=min
SecondShort=segundo
DayShort=d
MonthShort=m
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/sk_SK/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Quadri=Quadri
MonthOfDay=Mesiaca odo dňa
DaysOfWeek=Dni v týždni
HourShort=H
MinuteShort=mn
MinuteShort=min
SecondShort=sek
DayShort=d
MonthShort=m
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/sq_AL/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Quadri=Quadri
MonthOfDay=Muaji i ditës
DaysOfWeek=Ditët e javës
HourShort=H
MinuteShort=mn
MinuteShort=min
SecondShort=sek
DayShort=d
MonthShort=m
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/sr_RS/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Quadri=Quadri
MonthOfDay=Mesec dana
DaysOfWeek=Days of week
HourShort=H
MinuteShort=mn
MinuteShort=min
SecondShort=sec
DayShort=d
MonthShort=m
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/sv_SE/main.lang
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Quadri=Quadri
MonthOfDay=Dagens månad
DaysOfWeek=Veckodagar
HourShort=H
MinuteShort=mn
MinuteShort=min
SecondShort=sek
DayShort=d
MonthShort=m
Expand Down
Loading

0 comments on commit c8dfacd

Please sign in to comment.