imge cropping added

This commit is contained in:
Syping 2018-07-20 15:58:51 +02:00
parent 7b68bb10b5
commit 414867f13e
18 changed files with 1152 additions and 226 deletions

View file

@ -264,8 +264,8 @@ Pictures and Savegames</source>
</message>
<message>
<location filename="../ImportDialog.ui" line="150"/>
<location filename="../ImportDialog.cpp" line="84"/>
<location filename="../ImportDialog.cpp" line="447"/>
<location filename="../ImportDialog.cpp" line="85"/>
<location filename="../ImportDialog.cpp" line="491"/>
<source>Background Colour: &lt;span style=&quot;color: %1&quot;&gt;%1&lt;/span&gt;</source>
<translation>Цвет фона: &lt;span style=&quot;color: %1&quot;&gt;%1&lt;/span&gt;</translation>
</message>
@ -291,7 +291,7 @@ Pictures and Savegames</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ImportDialog.cpp" line="512"/>
<location filename="../ImportDialog.cpp" line="556"/>
<source>Background Image: %1</source>
<translation>Фоновая картинка: %1</translation>
</message>
@ -317,70 +317,90 @@ Pictures and Savegames</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ImportDialog.ui" line="334"/>
<location filename="../ImportDialog.ui" line="337"/>
<source>Import picture</source>
<translation>Импортировать картинку</translation>
</message>
<message>
<location filename="../ImportDialog.ui" line="337"/>
<location filename="../ImportDialog.ui" line="340"/>
<source>&amp;OK</source>
<translation>&amp;ОК</translation>
</message>
<message>
<location filename="../ImportDialog.ui" line="350"/>
<location filename="../ImportDialog.ui" line="353"/>
<source>Discard picture</source>
<translation>Отклонить картинку</translation>
</message>
<message>
<location filename="../ImportDialog.ui" line="353"/>
<location filename="../ImportDialog.ui" line="356"/>
<source>&amp;Cancel</source>
<translatorcomment>Я не уверен насчет горячих клавиш...</translatorcomment>
<translation>От&amp;мена</translation>
</message>
<message>
<location filename="../ImportDialog.ui" line="203"/>
<location filename="../ImportDialog.cpp" line="85"/>
<location filename="../ImportDialog.cpp" line="527"/>
<location filename="../ImportDialog.cpp" line="86"/>
<location filename="../ImportDialog.cpp" line="571"/>
<source>Background Image:</source>
<translation>Фоновая картинка:</translation>
</message>
<message>
<location filename="../ImportDialog.cpp" line="110"/>
<location filename="../ImportDialog.cpp" line="111"/>
<source>&amp;Import new Picture...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ImportDialog.cpp" line="183"/>
<location filename="../ImportDialog.cpp" line="112"/>
<source>&amp;Crop Picture...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ImportDialog.cpp" line="185"/>
<location filename="../ProfileInterface.cpp" line="668"/>
<source>Custom Avatar</source>
<comment>Custom Avatar Description in SC, don&apos;t use Special Character!</comment>
<translation>Свой Аватар</translation>
</message>
<message>
<location filename="../ImportDialog.cpp" line="210"/>
<location filename="../ImportDialog.cpp" line="212"/>
<location filename="../ProfileInterface.cpp" line="687"/>
<source>Custom Picture</source>
<comment>Custom Picture Description in SC, don&apos;t use Special Character!</comment>
<translation>Своя Картинка</translation>
</message>
<message>
<location filename="../ImportDialog.cpp" line="394"/>
<location filename="../ImportDialog.cpp" line="265"/>
<source>Crop Picture...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ImportDialog.cpp" line="287"/>
<source>&amp;Crop</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ImportDialog.cpp" line="288"/>
<source>Crop Picture</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ImportDialog.cpp" line="438"/>
<source>Are you sure to use a square image outside of the Avatar Zone?
When you want to use it as Avatar the image will be detached!</source>
<translation>Ты точно хочешь использовать квадратное изображение вне зоны аватарки? Если это аватар, то изображение будет обрезано!</translation>
</message>
<message>
<location filename="../ImportDialog.cpp" line="394"/>
<location filename="../ImportDialog.cpp" line="438"/>
<source>Snapmatic Avatar Zone</source>
<translation>Зона Snapmatic Аватарки</translation>
</message>
<message>
<location filename="../ImportDialog.cpp" line="443"/>
<location filename="../ImportDialog.cpp" line="487"/>
<source>Select Colour...</source>
<translation>Выбрать цвет...</translation>
</message>
<message>
<location filename="../ImportDialog.cpp" line="512"/>
<location filename="../ImportDialog.cpp" line="556"/>
<source>File</source>
<comment>Background Image: File</comment>
<translation>Файл</translation>
@ -1140,8 +1160,8 @@ Press 1 for Default View</source>
</message>
<message>
<location filename="../ImageEditorDialog.cpp" line="109"/>
<location filename="../ImportDialog.cpp" line="272"/>
<location filename="../ImportDialog.cpp" line="466"/>
<location filename="../ImportDialog.cpp" line="316"/>
<location filename="../ImportDialog.cpp" line="510"/>
<location filename="../ProfileInterface.cpp" line="482"/>
<location filename="../ProfileInterface.cpp" line="548"/>
<location filename="../ProfileInterface.cpp" line="857"/>
@ -1152,12 +1172,12 @@ Press 1 for Default View</source>
<location filename="../ImageEditorDialog.cpp" line="110"/>
<location filename="../ImageEditorDialog.cpp" line="141"/>
<location filename="../ImageEditorDialog.cpp" line="150"/>
<location filename="../ImportDialog.cpp" line="273"/>
<location filename="../ImportDialog.cpp" line="304"/>
<location filename="../ImportDialog.cpp" line="313"/>
<location filename="../ImportDialog.cpp" line="467"/>
<location filename="../ImportDialog.cpp" line="498"/>
<location filename="../ImportDialog.cpp" line="507"/>
<location filename="../ImportDialog.cpp" line="317"/>
<location filename="../ImportDialog.cpp" line="348"/>
<location filename="../ImportDialog.cpp" line="357"/>
<location filename="../ImportDialog.cpp" line="511"/>
<location filename="../ImportDialog.cpp" line="542"/>
<location filename="../ImportDialog.cpp" line="551"/>
<location filename="../ProfileInterface.cpp" line="483"/>
<location filename="../ProfileInterface.cpp" line="527"/>
<location filename="../ProfileInterface.cpp" line="582"/>
@ -1189,8 +1209,8 @@ Press 1 for Default View</source>
</message>
<message>
<location filename="../ImageEditorDialog.cpp" line="121"/>
<location filename="../ImportDialog.cpp" line="284"/>
<location filename="../ImportDialog.cpp" line="478"/>
<location filename="../ImportDialog.cpp" line="328"/>
<location filename="../ImportDialog.cpp" line="522"/>
<location filename="../ProfileInterface.cpp" line="503"/>
<location filename="../UserInterface.cpp" line="463"/>
<source>All files (**)</source>
@ -1242,24 +1262,24 @@ Press 1 for Default View</source>
</message>
<message>
<location filename="../ImageEditorDialog.cpp" line="120"/>
<location filename="../ImportDialog.cpp" line="283"/>
<location filename="../ImportDialog.cpp" line="477"/>
<location filename="../ImportDialog.cpp" line="327"/>
<location filename="../ImportDialog.cpp" line="521"/>
<location filename="../ProfileInterface.cpp" line="502"/>
<source>All image files (%1)</source>
<translation>Все файлы изображений (%1)</translation>
</message>
<message>
<location filename="../ImageEditorDialog.cpp" line="141"/>
<location filename="../ImportDialog.cpp" line="304"/>
<location filename="../ImportDialog.cpp" line="498"/>
<location filename="../ImportDialog.cpp" line="348"/>
<location filename="../ImportDialog.cpp" line="542"/>
<location filename="../ProfileInterface.cpp" line="725"/>
<source>Can&apos;t import %1 because file can&apos;t be open</source>
<translation>Не удалось открыть %1, файл не может быть открыт</translation>
</message>
<message>
<location filename="../ImageEditorDialog.cpp" line="150"/>
<location filename="../ImportDialog.cpp" line="313"/>
<location filename="../ImportDialog.cpp" line="507"/>
<location filename="../ImportDialog.cpp" line="357"/>
<location filename="../ImportDialog.cpp" line="551"/>
<location filename="../ProfileInterface.cpp" line="735"/>
<source>Can&apos;t import %1 because file can&apos;t be parsed properly</source>
<translation>Не получилось импортировать %1, файл не может быть правильно обработан</translation>