mirror of
https://abf.rosa.ru/djam/wine2.git
synced 2025-02-24 17:12:56 +00:00
Beautify Russian names for desktop files
This commit is contained in:
parent
983ecb2199
commit
177aab0a53
1 changed files with 9 additions and 9 deletions
18
wine.spec
18
wine.spec
|
@ -348,18 +348,18 @@ Type=Directory
|
|||
EOF
|
||||
|
||||
mkdir -p %{buildroot}%{_datadir}/applications/
|
||||
for i in winecfg:Configurator:Настройка\ Wine \
|
||||
notepad:Notepad:Wine\ -\ блокнот \
|
||||
winefile:File\ Manager:Wine\ -\ файловый\ менеджер\
|
||||
regedit:Registry\ Editor:Wine\ -\ редактор\ реестра\
|
||||
winemine:Minesweeper:Wine\ -\ сапер\
|
||||
wineboot:Reboot:Wine\ -\ перезагрузка \
|
||||
"wineconsole cmd":Command\ Line:Wine\ -\ командная\ строка\
|
||||
"wine uninstaller:Wine Software Uninstaller:Wine - удаление программ";
|
||||
for i in winecfg:Configurator:Настройка\ Wine\
|
||||
notepad:Notepad:Блокнот\ Wine\
|
||||
winefile:File\ Manager:Файловый\ менеджер\ Wine\
|
||||
regedit:Registry\ Editor:Редактор\ реестра\ Wine\
|
||||
winemine:Minesweeper:Сапер\ Wine\
|
||||
wineboot:Reboot:Перезагрузка\ Wine \
|
||||
"wineconsole cmd":Command\ Line:Командная\ строка\ Wine\
|
||||
"wine uninstaller:Wine Software Uninstaller:Удаление программ Wine";
|
||||
do cat > %{buildroot}%{_datadir}/applications/rosa-%{name}-`echo $i|cut -d: -f1`.desktop << EOF
|
||||
[Desktop Entry]
|
||||
Name=`echo $i|cut -d: -f2`
|
||||
Name[ru]=`echo $i|cut -d: -f3`
|
||||
Name[ru]=`echo $i|cut -d: -f3|sed s/ Wine//`
|
||||
Comment=`echo $i|cut -d: -f2`
|
||||
Comment[ru]=`echo $i|cut -d: -f3`
|
||||
Exec=`echo $i|cut -d: -f1`
|
||||
|
|
Loading…
Add table
Reference in a new issue