Re: Portuguese cal uncapitalized problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 20, 2021 at 01:37:46PM +0100, Daniel Santos wrote:
> Hi everyone.
> I would like for the Portuguese months and days of the week of `cal`, to be
> capitalized.
>  . Can anyone do this?
>  . Should I do this? Where can I find the days of the week and the months
> translation? (it does no seem to be in the
> https://translationproject.org/POT-files/util-linux-2.37-rc2.pot file)

It uses nl_langinfo(ABDAY_*) libc call to get the weekday name. So,
this is not maintained by util-linux.

For more details see 'man nl_langinfo' and ABDAY_{1–7} (LC_TIME)
section.

Frankly, the best would be to resolve it by a small shell script where
you convert second line of the cal(1) output from a-z to A-Z.

 Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com





[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux