Still says TODO: def check_hostname(hostname): """Returns a newline separated string of reasons why the hostname is invalid.""" # TODO: i18n e = [] # Ahem. We can cheat here by inserting newlines where needed. Hopefully # by the time we translate this, GTK+ will have decent layout management. for result in validation.check_hostname(utf8(hostname)): if result == validation.HOSTNAME_LENGTH: e.append("Must be between 1 and 63 characters long.") elif result == validation.HOSTNAME_BADCHAR: e.append("May only contain letters, digits,\nhyphens, and dots.") elif result == validation.HOSTNAME_BADHYPHEN: e.append("May not start or end with a hyphen.") elif result == validation.HOSTNAME_BADDOTS: e.append('May not start or end with a dot,\n' 'or contain the sequence "..".') return "\n".join(e)
** Changed in: ubiquity (Ubuntu) Status: New => Triaged ** Changed in: ubiquity (Ubuntu) Importance: Undecided => Medium ** Tags added: i18n -- You received this bug notification because you are a member of Ubuntu Translations Coordinators, which is subscribed to Ubuntu Translations. https://bugs.launchpad.net/bugs/784825 Title: Warnings about wrong hostnames untranslated in the installer Status in Ubuntu Translations: Triaged Status in “ubiquity” package in Ubuntu: Triaged Bug description: During installation of Natty, the hostname is checked for validity. If it is not valid, a warning appears, which is not translated. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-translations/+bug/784825/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-translations-coordinators Post to : ubuntu-translations-coordinators@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-translations-coordinators More help : https://help.launchpad.net/ListHelp