Summary: | find-lang не поддерживает локаль "uz@Latn" и устаревшую "sr@Latn" | ||
---|---|---|---|
Product: | Sisyphus | Reporter: | Andrey Cherepanov <cas> |
Component: | sisyphus_check | Assignee: | Dmitry V. Levin <ldv> |
Status: | NEW --- | QA Contact: | qa-sisyphus |
Severity: | enhancement | ||
Priority: | P3 | CC: | at, glebfm, imz, ldv, legion, mike, placeholder |
Version: | unstable | ||
Hardware: | all | ||
OS: | Linux |
Description
Andrey Cherepanov
2014-09-10 11:15:35 MSK
Не факт, что стоит поддерживать диверсии вроде вынесенной в заголовок. (In reply to comment #1) > Не факт, что стоит поддерживать диверсии вроде вынесенной в заголовок. Обычно пишут @latin, не факт, что @Latn в glibc поддерживается. К слову, $ grep -hF '@Latn' /ALT/Sisyphus/{noarch,x86_64}/base/contents_index | sort /usr/share/doc/HTML/sr@Latn kde-common /usr/share/doc/HTML/sr@Latn/common kde-common /usr/share/kde/doc/HTML/sr@Latn kde-common /usr/share/kde/doc/HTML/sr@Latn/common kde-common /usr/share/kde/locale/sr@Latn kde-common /usr/share/kde/locale/sr@Latn krusader /usr/share/kde/locale/sr@Latn/LC_MESSAGES kde-common /usr/share/kde/locale/sr@Latn/LC_MESSAGES krusader /usr/share/kde/locale/sr@Latn/LC_MESSAGES/gwenview.mo gwenview-i18n /usr/share/kde/locale/sr@Latn/LC_MESSAGES/krusader.mo krusader /usr/share/kde/locale/sr@Latn/LC_MESSAGES/ktorrent.mo ktorrent /usr/share/kde/locale/sr@Latn/LC_MESSAGES/kwlan.mo kwlan /usr/share/kde/locale/sr@Latn/LC_MESSAGES/libkexif.mo libkexif /usr/share/kde/locale/sr@Latn/LC_MESSAGES/libkipi.mo libkipi /usr/share/kde/locale/sr@Latn/LC_SCRIPTS kde-common /usr/share/kde4/doc/HTML/sr@Latn kde-common /usr/share/kde4/doc/HTML/sr@Latn/common kde-common /usr/share/kde4/locale/sr@Latn kde-common /usr/share/kde4/locale/sr@Latn/LC_MESSAGES kde-common /usr/share/kde4/locale/sr@Latn/LC_SCRIPTS kde-common /usr/share/locale/sr@Latn glibc-locales /usr/share/locale/sr@Latn/LC_MESSAGES glibc-locales /usr/share/locale/sr@Latn/LC_MESSAGES/firestarter.mo firestarter /usr/share/locale/sr@Latn/LC_MESSAGES/gftp.mo gftp-common /usr/share/locale/sr@Latn/LC_MESSAGES/gossip.mo gossip /usr/share/locale/sr@Latn/LC_MESSAGES/k3b.mo k3b-i18n /usr/share/locale/sr@Latn/LC_MESSAGES/libk3b.mo k3b-i18n /usr/share/locale/sr@Latn/LC_MESSAGES/libk3bdevice.mo k3b-i18n /usr/share/locale/sr@Latn/LC_MESSAGES/planner.mo planner /usr/share/locale/sr@Latn/LC_MESSAGES/pyblio.mo pyblio /usr/share/locale/sr@Latn/LC_MESSAGES/sawfish.mo sawfish /usr/share/locale/sr@Latn/LC_MESSAGES/soundconverter.mo soundconverter /usr/share/locale/sr@Latn/LC_MESSAGES/video.dvdrip.mo dvdrip /usr/share/locale/sr@Latn/LC_MESSAGES/xdg-user-dirs.mo xdg-user-dirs /usr/share/locale/sr@Latn/LC_TIME glibc-locales /usr/share/perl5/Video/DVDRip/splash.sr@Latn.png dvdrip /usr/share/qupzilla/locale/uz@Latn.qm qupzilla Однако /usr/share/locale/sr@Latn/LC_MESSAGE есть, а при сборке warning: Installed (but unpackaged) file(s) found: ... /usr/share/locale/sr@Latn/LC_MESSAGES/libgnomecups.mo (In reply to Andrey Cherepanov from comment #3) > Однако /usr/share/locale/sr@Latn/LC_MESSAGE есть, а при сборке > > warning: Installed (but unpackaged) file(s) found: > ... > /usr/share/locale/sr@Latn/LC_MESSAGES/libgnomecups.mo В gnome перешли на sr@latin -- https://bugzilla.gnome.org/show_bug.cgi?id=481423#c5 . Может быть, пора запретить sr@Latn (с подсказкой про sr@latin) в sisyphus_check? $ fgrep /usr/share/locale/sr@Latn /ALT/Sisyphus/{noarch,x86_64}/base/contents_index /ALT/Sisyphus/noarch/base/contents_index:/usr/share/locale/sr@Latn/LC_MESSAGES/pix.mo pix-data /ALT/Sisyphus/x86_64/base/contents_index:/usr/share/locale/sr@Latn glibc-locales /ALT/Sisyphus/x86_64/base/contents_index:/usr/share/locale/sr@Latn/LC_MESSAGES glibc-locales /ALT/Sisyphus/x86_64/base/contents_index:/usr/share/locale/sr@Latn/LC_MESSAGES/drwright.mo drwright /ALT/Sisyphus/x86_64/base/contents_index:/usr/share/locale/sr@Latn/LC_MESSAGES/firestarter.mo firestarter /ALT/Sisyphus/x86_64/base/contents_index:/usr/share/locale/sr@Latn/LC_MESSAGES/gossip.mo gossip /ALT/Sisyphus/x86_64/base/contents_index:/usr/share/locale/sr@Latn/LC_TIME glibc-locales $ (In reply to Ivan Zakharyaschev from comment #4) > (In reply to Andrey Cherepanov from comment #3) > > Однако /usr/share/locale/sr@Latn/LC_MESSAGE есть, а при сборке > > > > warning: Installed (but unpackaged) file(s) found: > > ... > > /usr/share/locale/sr@Latn/LC_MESSAGES/libgnomecups.mo > > В gnome перешли на sr@latin -- > https://bugzilla.gnome.org/show_bug.cgi?id=481423#c5 . > > Может быть, пора запретить sr@Latn (с подсказкой про sr@latin) в > sisyphus_check? > > $ fgrep /usr/share/locale/sr@Latn > /ALT/Sisyphus/{noarch,x86_64}/base/contents_index > /ALT/Sisyphus/noarch/base/contents_index:/usr/share/locale/sr@Latn/ > LC_MESSAGES/pix.mo pix-data > /ALT/Sisyphus/x86_64/base/contents_index:/usr/share/locale/sr@Latn > glibc-locales > /ALT/Sisyphus/x86_64/base/contents_index:/usr/share/locale/sr@Latn/ > LC_MESSAGES glibc-locales > /ALT/Sisyphus/x86_64/base/contents_index:/usr/share/locale/sr@Latn/ > LC_MESSAGES/drwright.mo drwright > /ALT/Sisyphus/x86_64/base/contents_index:/usr/share/locale/sr@Latn/ > LC_MESSAGES/firestarter.mo firestarter > /ALT/Sisyphus/x86_64/base/contents_index:/usr/share/locale/sr@Latn/ > LC_MESSAGES/gossip.mo gossip > /ALT/Sisyphus/x86_64/base/contents_index:/usr/share/locale/sr@Latn/LC_TIME > glibc-locales > $ Я бы сказал, что правильным является тот вариант, который в glibc, в данном случае sr@Latn. (In reply to Dmitry V. Levin from comment #6) > (In reply to Ivan Zakharyaschev from comment #4) > > (In reply to Andrey Cherepanov from comment #3) > > > Однако /usr/share/locale/sr@Latn/LC_MESSAGE есть, а при сборке > > > > > > warning: Installed (but unpackaged) file(s) found: > > > ... > > > /usr/share/locale/sr@Latn/LC_MESSAGES/libgnomecups.mo > > > > В gnome перешли на sr@latin -- > > https://bugzilla.gnome.org/show_bug.cgi?id=481423#c5 . > > > > Может быть, пора запретить sr@Latn (с подсказкой про sr@latin) в > > sisyphus_check? > > > > $ fgrep /usr/share/locale/sr@Latn > > /ALT/Sisyphus/{noarch,x86_64}/base/contents_index > > /ALT/Sisyphus/noarch/base/contents_index:/usr/share/locale/sr@Latn/ > > LC_MESSAGES/pix.mo pix-data > > /ALT/Sisyphus/x86_64/base/contents_index:/usr/share/locale/sr@Latn > > glibc-locales > > /ALT/Sisyphus/x86_64/base/contents_index:/usr/share/locale/sr@Latn/ > > LC_MESSAGES glibc-locales > > /ALT/Sisyphus/x86_64/base/contents_index:/usr/share/locale/sr@Latn/ > > LC_MESSAGES/drwright.mo drwright > > /ALT/Sisyphus/x86_64/base/contents_index:/usr/share/locale/sr@Latn/ > > LC_MESSAGES/firestarter.mo firestarter > > /ALT/Sisyphus/x86_64/base/contents_index:/usr/share/locale/sr@Latn/ > > LC_MESSAGES/gossip.mo gossip > > /ALT/Sisyphus/x86_64/base/contents_index:/usr/share/locale/sr@Latn/LC_TIME > > glibc-locales > > $ > > Я бы сказал, что правильным является тот вариант, который в glibc, в данном > случае sr@Latn. Так sr@latin в glibc тоже есть. И заполнен пакетами гораздо больше (аналогичный grep по contents_index). $ rpm -qp /ALT/Sisyphus/x86_64/RPMS.classic/glibc-locales-2.30-alt2.x86_64.rpm -l | fgrep sr@ /usr/share/locale/sr@Latn /usr/share/locale/sr@Latn/LC_MESSAGES /usr/share/locale/sr@Latn/LC_TIME /usr/share/locale/sr@ije /usr/share/locale/sr@ije/LC_MESSAGES /usr/share/locale/sr@ije/LC_TIME /usr/share/locale/sr@latin /usr/share/locale/sr@latin/LC_MESSAGES /usr/share/locale/sr@latin/LC_TIME $ (In reply to Ivan Zakharyaschev from comment #7) > И заполнен пакетами гораздо больше > (аналогичный grep по contents_index). $ fgrep /usr/share/locale/sr@latin /ALT/Sisyphus/{noarch,x86_64}/base/contents_index | wc -l 702 (In reply to Ivan Zakharyaschev from comment #7) > (In reply to Dmitry V. Levin from comment #6) > > Я бы сказал, что правильным является тот вариант, который в glibc, в данном > > случае sr@Latn. > > Так sr@latin в glibc тоже есть. И заполнен пакетами гораздо больше > (аналогичный grep по contents_index). > > $ rpm -qp > /ALT/Sisyphus/x86_64/RPMS.classic/glibc-locales-2.30-alt2.x86_64.rpm -l | > fgrep sr@ > /usr/share/locale/sr@Latn > /usr/share/locale/sr@Latn/LC_MESSAGES > /usr/share/locale/sr@Latn/LC_TIME > /usr/share/locale/sr@ije > /usr/share/locale/sr@ije/LC_MESSAGES > /usr/share/locale/sr@ije/LC_TIME > /usr/share/locale/sr@latin > /usr/share/locale/sr@latin/LC_MESSAGES > /usr/share/locale/sr@latin/LC_TIME > $ Тогда я предлагаю в glibc ничего на эту тему не менять. |