Thread

Commits

  1. Reword user-facing message for "power of two"

  1. Standardize spelling of "power of two"

    Kyotaro Horiguchi <horikyota.ntt@gmail.com> — 2023-08-29T08:56:15Z

    Hello.
    
    pg_resetwal and initdb has an error message like this:
    
    msgid "argument of --wal-segsize must be a power of 2 between 1 and 1024"
    
    In other parts in the tree, however, we spell it as "power of two". I
    think it would make sense to standardize the spelling for
    consistency. See the attached.
    
    regards.
    
    -- 
    Kyotaro Horiguchi
    NTT Open Source Software Center
    
  2. Re: Standardize spelling of "power of two"

    Daniel Gustafsson <daniel@yesql.se> — 2023-08-29T09:26:13Z

    > On 29 Aug 2023, at 10:56, Kyotaro Horiguchi <horikyota.ntt@gmail.com> wrote:
    
    > pg_resetwal and initdb has an error message like this:
    > 
    > msgid "argument of --wal-segsize must be a power of 2 between 1 and 1024"
    > 
    > In other parts in the tree, however, we spell it as "power of two". I
    > think it would make sense to standardize the spelling for
    > consistency. See the attached.
    
    Agreed.  While we have numerous "power of 2" these were the only ones in
    translated user-facing messages, so I've pushed this to master (it didn't seem
    worth disrupting translations for 16 as we are so close to wrapping it, if
    others disagree I can backpatch).
    
    --
    Daniel Gustafsson
    
    
    
    
    
  3. Re: Standardize spelling of "power of two"

    Alvaro Herrera <alvherre@alvh.no-ip.org> — 2023-08-29T11:11:30Z

    On 2023-Aug-29, Daniel Gustafsson wrote:
    
    > Agreed.  While we have numerous "power of 2" these were the only ones
    > in translated user-facing messages, so I've pushed this to master (it
    > didn't seem worth disrupting translations for 16 as we are so close to
    > wrapping it, if others disagree I can backpatch).
    
    I'd rather backpatch it.  There's only 5 translations that are 100% for
    initdb.po, and they have two weeks to make the change from "2" to "two".
    I don't think this is a problem.
    
    -- 
    Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/
    
    
    
    
  4. Re: Standardize spelling of "power of two"

    Daniel Gustafsson <daniel@yesql.se> — 2023-08-29T12:39:42Z

    > On 29 Aug 2023, at 13:11, Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
    > 
    > On 2023-Aug-29, Daniel Gustafsson wrote:
    > 
    >> Agreed.  While we have numerous "power of 2" these were the only ones
    >> in translated user-facing messages, so I've pushed this to master (it
    >> didn't seem worth disrupting translations for 16 as we are so close to
    >> wrapping it, if others disagree I can backpatch).
    > 
    > I'd rather backpatch it.  There's only 5 translations that are 100% for
    > initdb.po, and they have two weeks to make the change from "2" to "two".
    > I don't think this is a problem.
    
    Fair enough, backpatched to v16.
    
    --
    Daniel Gustafsson
    
    
    
    
    
  5. Re: Standardize spelling of "power of two"

    Kyotaro Horiguchi <horikyota.ntt@gmail.com> — 2023-08-30T00:13:11Z

    At Tue, 29 Aug 2023 14:39:42 +0200, Daniel Gustafsson <daniel@yesql.se> wrote in 
    > > On 29 Aug 2023, at 13:11, Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
    > > 
    > > On 2023-Aug-29, Daniel Gustafsson wrote:
    > > 
    > >> Agreed.  While we have numerous "power of 2" these were the only ones
    > >> in translated user-facing messages, so I've pushed this to master (it
    > >> didn't seem worth disrupting translations for 16 as we are so close to
    > >> wrapping it, if others disagree I can backpatch).
    > > 
    > > I'd rather backpatch it.  There's only 5 translations that are 100% for
    > > initdb.po, and they have two weeks to make the change from "2" to "two".
    > > I don't think this is a problem.
    > 
    > Fair enough, backpatched to v16.
    
    Thank you for committing this.
    
    regards.
    
    -- 
    Kyotaro Horiguchi
    NTT Open Source Software Center