[Bug 16953] Re: Aptitude: should accept both "Si" and "Sí" (when asking for confirmation)
Upstream bug was fixed in aptitude 0.7.6-1 on 2016-02-21 Ubuntu changelog includes: - Bug fixes: * Properly set a default for $XDG_CACHE_HOME if not set. (Closes: #807545) * [cmdline] "w" at prompt now actually works (Closes: #555014) * Refuse to remove aptitude within aptitude (Closes: #319782, #568548) * [cmdline] Address prompt deficiencies related with translation and input methods (Closes: #475802) Closing by marking "Fix Released" ** Changed in: aptitude (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/16953 Title: Aptitude: should accept both "Si" and "Sí" (when asking for confirmation) To manage notifications about this bug go to: https://bugs.launchpad.net/aptitude/+bug/16953/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 16953] Re: Aptitude: should accept both "Si" and "Sí" (when asking for confirmation)
** Changed in: aptitude Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/16953 Title: Aptitude: should accept both "Si" and "Sí" (when asking for confirmation) To manage notifications about this bug go to: https://bugs.launchpad.net/aptitude/+bug/16953/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 16953] Re: Aptitude: should accept both "Si" and "Sí" (when asking for confirmation)
** Changed in: aptitude Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/16953 Title: Aptitude: should accept both "Si" and "Sí" (when asking for confirmation) To manage notifications about this bug go to: https://bugs.launchpad.net/aptitude/+bug/16953/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 16953] Re: Aptitude: should accept both "Si" and "Sí" (when asking for confirmation)
** Changed in: aptitude Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/16953 Title: Aptitude: should accept both "Si" and "Sí" (when asking for confirmation) To manage notifications about this bug go to: https://bugs.launchpad.net/aptitude/+bug/16953/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 16953] Re: Aptitude: should accept both "Si" and "Sí" (when asking for confirmation)
** Changed in: aptitude (Ubuntu) Assignee: Abhishek kumar singh (abhishekkumarsingh-cse) => (unassigned) ** Changed in: aptitude (Ubuntu) Status: In Progress => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/16953 Title: Aptitude: should accept both "Si" and "Sí" (when asking for confirmation) To manage notifications about this bug go to: https://bugs.launchpad.net/aptitude/+bug/16953/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 16953] Re: Aptitude: should accept both "Si" and "Sí" (when asking for confirmation)
The attachment "0001-I18n-deficiency-in-cmdline-untrusted-prompt.patch" of this bug report has been identified as being a patch. The ubuntu- reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report. [This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.] ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/16953 Title: Aptitude: should accept both "Si" and "Sí" (when asking for confirmation) To manage notifications about this bug go to: https://bugs.launchpad.net/aptitude/+bug/16953/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 16953] Re: Aptitude: should accept both "Si" and "Sí" (when asking for confirmation)
** Changed in: aptitude Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/16953 Title: Aptitude: should accept both "Si" and "Sí" (when asking for confirmation) To manage notifications about this bug go to: https://bugs.launchpad.net/aptitude/+bug/16953/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 16953] Re: Aptitude: should accept both "Si" and "Sí" (when asking for confirmation)
** Bug watch added: Debian Bug tracker #475802 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=475802 ** Also affects: aptitude via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=475802 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/16953 Title: Aptitude: should accept both "Si" and "Sí" (when asking for confirmation) To manage notifications about this bug go to: https://bugs.launchpad.net/aptitude/+bug/16953/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 16953] Re: Aptitude: should accept both "Si" and "Sí" (when asking for confirmation)
... or see apt-get's "YnPrompt" for an alternate (and very succinct) solution using nl_langinfo(YESEXPR) FYI the english version of this looks is "^[yY]", so matching any string beginning with 'y'. This is probably the preferred way to go since it would match apt-gets behaviour. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/16953 Title: Aptitude: should accept both "Si" and "Sí" (when asking for confirmation) To manage notifications about this bug go to: https://bugs.launchpad.net/server-papercuts/+bug/16953/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 16953] Re: Aptitude: should accept both "Si" and "Sí" (when asking for confirmation)
Removing accents from strings before or while comparing them There is libunac [1] which provides a function to remove accents from a string. There is an algorithm discussed here [2] which could be implemented with libunistring: Now, the best algorithm is hinted at the approved answer: Use NKD (decomposition) to decompose accented letters into the base letter and a seperate accent, and then remove all accents. [accent characters are in the non-spacing mark category "Mn"] [1] http://www.nongnu.org/unac/unac-man3.en.html [2] http://stackoverflow.com/questions/144761/how-to-remove-accents-and-tilde-in-a-c-stdstring -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/16953 Title: Aptitude: should accept both "Si" and "Sí" (when asking for confirmation) To manage notifications about this bug go to: https://bugs.launchpad.net/server-papercuts/+bug/16953/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 16953] Re: Aptitude: should accept both "Si" and "Sí" (when asking for confirmation)
** Changed in: aptitude (Ubuntu) Assignee: (unassigned) => Abhishek kumar singh (abhishekkumarsingh-cse) ** Changed in: aptitude (Ubuntu) Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/16953 Title: Aptitude: should accept both "Si" and "Sí" (when asking for confirmation) To manage notifications about this bug go to: https://bugs.launchpad.net/server-papercuts/+bug/16953/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 16953] Re: Aptitude: should accept both " Si" and "Sí" (when asking for confirmation)
Too much work for a papercut ** Changed in: server-papercuts Status: Triaged => Won't Fix ** Changed in: server-papercuts Assignee: Nicolas Valcárcel (nvalcarcel) => (unassigned) -- Aptitude: should accept both "Si" and "Sí" (when asking for confirmation) https://bugs.launchpad.net/bugs/16953 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 16953] Re: Aptitude: should accept both " Si" and "Sí" (when asking for confirmation)
Code has changed and now problem is around like 570 of the same file, it seems that some translations have been disables aswell, this set of translations include Yes for Sí. The only viable way i can see of fixing this is to write a function that read the input and change the accent with his non-accented equivalence for the code to use it -- Aptitude: should accept both "Si" and "Sí" (when asking for confirmation) https://bugs.launchpad.net/bugs/16953 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 16953] Re: Aptitude: should accept both " Si" and "Sí" (when asking for confirmation)
** Changed in: server-papercuts Milestone: maverick-alpha-2 => maverick-alpha-3 -- Aptitude: should accept both "Si" and "Sí" (when asking for confirmation) https://bugs.launchpad.net/bugs/16953 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 16953] Re: Aptitude: should accept both " Si" and "Sí" (when asking for confirmation)
Still haven't got time to get to this, postponing to A3 -- Aptitude: should accept both "Si" and "Sí" (when asking for confirmation) https://bugs.launchpad.net/bugs/16953 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 16953] Re: Aptitude: should accept both " Si" and "Sí" (when asking for confirmation)
** Changed in: server-papercuts Assignee: (unassigned) => Nicolas Valcárcel (nvalcarcel) -- Aptitude: should accept both "Si" and "Sí" (when asking for confirmation) https://bugs.launchpad.net/bugs/16953 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 16953] Re: Aptitude: should accept both " Si" and "Sí" (when asking for confirmation)
** Changed in: server-papercuts Importance: Undecided => Low ** Changed in: server-papercuts Status: New => Triaged ** Changed in: server-papercuts Milestone: None => maverick-alpha-2 -- Aptitude: should accept both "Si" and "Sí" (when asking for confirmation) https://bugs.launchpad.net/bugs/16953 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 16953] Re: Aptitude: should accept both " Si" and "Sí" (when asking for confirmation)
Issue happends around line 721 in src/cmdline/cmdline_prompt.cc, from the comment in that section: // These strings are used to compare in a translation-invariant // way, so that "yes" and "no" are always valid inputs; if the // user can't enter the translated string for some reason, // he/she can always enter the fallback strings. A function can be added to take words with accents and convert it to non accent ones, i.e change é for e, í for i and so on -- Aptitude: should accept both "Si" and "Sí" (when asking for confirmation) https://bugs.launchpad.net/bugs/16953 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 16953] Re: Aptitude: should accept both " Si" and "Sí" (when asking for confirmation)
Reopening for consideration in the maverick papercuts cycle ** Changed in: server-papercuts Status: Won't Fix => New -- Aptitude: should accept both "Si" and "Sí" (when asking for confirmation) https://bugs.launchpad.net/bugs/16953 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 16953] Re: Aptitude: should accept both " Si" and "Sí" (when asking for confirmation)
Too late to add new targets for server-papercuts, sorry :) ** Changed in: server-papercuts Status: New => Won't Fix -- Aptitude: should accept both "Si" and "Sí" (when asking for confirmation) https://bugs.launchpad.net/bugs/16953 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 16953] Re: Aptitude: should accept both " Si" and "Sí" (when asking for confirmation)
** Also affects: server-papercuts Importance: Undecided Status: New -- Aptitude: should accept both "Si" and "Sí" (when asking for confirmation) https://bugs.launchpad.net/bugs/16953 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 16953] Re: Aptitude: should accept both " Si" and "Sí" (when asking for confirmation)
@Santiago yeahp that's what I ment (my bad). You are right, I haven't consider that option, why not use just 'S' or 's' so as to avoid confusion? -- Aptitude: should accept both "Si" and "Sí" (when asking for confirmation) https://bugs.launchpad.net/bugs/16953 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 16953] Re: Aptitude: should accept both " Si" and "Sí" (when asking for confirmation)
@Federico, I guess you mean the other way: 'Si' (conditional) and 'Sí' (affirmative). 'Si' is linguistically incorrect but highly convenient. Accepting both 'Si' and 'Sí' would make aptitude behave correctly from a linguistic point of view, while making possible to use aptitude in situations where an accent can't be typed. Think about a situation where you need aptitude and you're stuck with a bad configuration without accents, or using an american keyboard. -- Aptitude: should accept both "Si" and "Sí" (when asking for confirmation) https://bugs.launchpad.net/bugs/16953 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 16953] Re: Aptitude: should accept both " Si" and "Sí" (when asking for confirmation)
Hi there, just one comment, aptitude shouldn't accept 'Sí' for this is a conditional statement ('if' in english), only 'Si' ('yes' in english). -- Aptitude: should accept both "Si" and "Sí" (when asking for confirmation) https://bugs.launchpad.net/bugs/16953 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs