diff --git a/config/mingw/Makefile b/config/mingw/Makefile index 0c63abf50..18d94f8ee 100644 --- a/config/mingw/Makefile +++ b/config/mingw/Makefile @@ -469,7 +469,7 @@ ifdef QT LRELEASE = $(QT_DIR)/bin/lrelease QT_FILES_TARGETS = qrc_QtGnuplotResource.cpp ui_QtGnuplotSettings.h moc_QtGnuplotWindow.cpp moc_QtGnuplotApplication.cpp QT_FILES_TARGETS += moc_QtGnuplotWidget.cpp moc_QtGnuplotScene.cpp moc_QtGnuplotEvent.cpp - QT_TRANSLATION = qtgnuplot_fr.qm qtgnuplot_ja.qm + QT_TRANSLATION = qtgnuplot_fr.qm qtgnuplot_ru.qm qtgnuplot_ja.qm QT_TARGET = gnuplot_qt.exe endif @@ -763,6 +763,9 @@ moc_QtGnuplotEvent.cpp: $(S)/qtterminal/QtGnuplotEvent.h qtgnuplot_fr.qm: $(S)/qtterminal/po/qtgnuplot_fr.ts $(LRELEASE) -qm $@ $< +qtgnuplot_ru.qm: $(S)/qtterminal/po/qtgnuplot_ru.ts + $(LRELEASE) -qm $@ $< + qtgnuplot_ja.qm: $(S)/qtterminal/po/qtgnuplot_ja.ts $(LRELEASE) -qm $@ $< diff --git a/src/Makefile.am b/src/Makefile.am index fe7b92268..13349dbe7 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -143,7 +143,7 @@ if HAVE_LRELEASE $(LRELEASE) $< -qm $@ # List of compiles translation files -TRANSLATIONS = qtgnuplot_fr.qm qtgnuplot_ja.qm +TRANSLATIONS = qtgnuplot_fr.qm qtgnuplot_ru.qm qtgnuplot_ja.qm # Install translation files qtgnuplotdir = $(pkgdatadir)/$(VERSION_MAJOR)/qt diff --git a/src/qtterminal/QtGnuplot.pro b/src/qtterminal/QtGnuplot.pro index 5e242a14d..da91346f8 100644 --- a/src/qtterminal/QtGnuplot.pro +++ b/src/qtterminal/QtGnuplot.pro @@ -5,4 +5,5 @@ SOURCES = QtGnuplotWidget.cpp QtGnuplotWindow.cpp FORMS = QtGnuplotSettings.ui TRANSLATIONS = po/qtgnuplot_fr.ts \ - po/qtgnuplot_ja.ts \ No newline at end of file + po/qtgnuplot_ru.ts \ + po/qtgnuplot_ja.ts diff --git a/src/qtterminal/po/qtgnuplot_ru.ts b/src/qtterminal/po/qtgnuplot_ru.ts new file mode 100644 index 000000000..c06bf3f7f --- /dev/null +++ b/src/qtterminal/po/qtgnuplot_ru.ts @@ -0,0 +1,157 @@ + + + + + QtGnuplotWindow + + + + Export to PDF + Экспортировать в PDF + + + + PDF files (*.pdf) + PDF файлы (*.pdf) + + + + Export to Image + Экспортировать в изображение + + + + Image files (*.png *.bmp) + Файлы изображений (*.png *.bmp) + + + + + Export to SVG + Экспортировать в SVG + + + + SVG files (*.svg) + SVG файлы (*.svg) + + + + Copy to clipboard + Скопировать в буфер обмена + + + + Print + Печать + + + + Export + Экспортировать + + + + Export to EPS + Экспортировать в EPS + + + + Export to image + Экспортировать в изображение + + + + Settings + Настройки + + + + Replot + Перестроить график + + + + Show grid + Показать сетку + + + + Previous zoom + Уменьшить + + + + Next zoom + Увеличить + + + + Autoscale + Автомасштабировать + + + + Gnuplot window + Окно gnuplot + + + + settingsDialog + + + Terminal configuration + Настройки терминала + + + + Select background color + Выберите цвет фона + + + + Sample + Образец + + + + Antialias + Сглаживание изображения + + + + Replot on resize + Перестраивать график при изменении масштаба + + + + Rounded line ends + Закруглённые концы линий + + + + Mouse label + Координаты курсора + + + + Status bar + В строке состояния + + + + Tool bar + В панели инструментов + + + + Above plot + Над графиком + + + + None + Отсутствуют + + +