Thread (17 messages) 17 messages, 4 authors, 2024-02-13

Re: [PATCH] column: disallow negative padding

From: Kristoffer Haugsbakk <hidden>
Date: 2024-02-11 17:10:49

On Sat, Feb 10, 2024, at 10:48, Chris Torek wrote:
On Sat, Feb 10, 2024 at 1:46 AM Kristoffer Haugsbakk
[off-list ref] wrote:
quoted
I forgot tests.
You presumably also wanted the `_` here for gettext-ing:
quoted
+               die("%s: argument must be a non-negative integer", "padding");
Chris
Yeah, thanks. You probably saved me a v3. :)

Although I failed to notice that the string I stole was just a plain
string, not a translation string. And apparently there are no generic
“non-negative” translation strings. So I’ll just make a new one.

Cheers

-- 
Kristoffer Haugsbakk
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help