From a7b33c71faf0df06b7744105b89d73ee6a3f296d Mon Sep 17 00:00:00 2001 From: "O. Khryshchuk" Date: Wed, 22 Apr 2026 14:00:28 +0200 Subject: [PATCH 1/8] Added basic Preferences dialog view and functionary. --- src/CMakeLists.txt | 5 + src/dialogs/MainWindow.cpp | 3 + .../Preferences/BehaviorCategoryItem.cpp | 15 ++ .../Preferences/BehaviorCategoryItem.h | 17 ++ .../Preferences/PreferencesCategoryItem.cpp | 1 + .../Preferences/PreferencesCategoryItem.h | 17 ++ .../Preferences/PreferencesCategoryItemT.hpp | 24 +++ .../PreferencesCategoryListModel.cpp | 65 ++++++ .../PreferencesCategoryListModel.h | 34 ++++ src/dialogs/PreferencesDialog2.cpp | 192 ++++++++++++++++++ src/dialogs/PreferencesDialog2.h | 55 +++++ src/icons/audio-waveform.svg | 1 + src/resources.qrc | 1 + 13 files changed, 430 insertions(+) create mode 100644 src/dialogs/Preferences/BehaviorCategoryItem.cpp create mode 100644 src/dialogs/Preferences/BehaviorCategoryItem.h create mode 100644 src/dialogs/Preferences/PreferencesCategoryItem.cpp create mode 100644 src/dialogs/Preferences/PreferencesCategoryItem.h create mode 100644 src/dialogs/Preferences/PreferencesCategoryItemT.hpp create mode 100644 src/dialogs/Preferences/PreferencesCategoryListModel.cpp create mode 100644 src/dialogs/Preferences/PreferencesCategoryListModel.h create mode 100644 src/dialogs/PreferencesDialog2.cpp create mode 100644 src/dialogs/PreferencesDialog2.h create mode 100644 src/icons/audio-waveform.svg diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2bc1f9fa4..9c9d0a439 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -181,6 +181,11 @@ qt_add_executable(NotepadNext widgets/StatusLabel.h Sorter.h Sorter.cpp ScintillaSorter.h ScintillaSorter.cpp + dialogs/PreferencesDialog2.h dialogs/PreferencesDialog2.cpp + dialogs/Preferences/PreferencesCategoryListModel.h dialogs/Preferences/PreferencesCategoryListModel.cpp + dialogs/Preferences/PreferencesCategoryItem.h dialogs/Preferences/PreferencesCategoryItem.cpp + dialogs/Preferences/BehaviorCategoryItem.h dialogs/Preferences/BehaviorCategoryItem.cpp + dialogs/Preferences/PreferencesCategoryItemT.hpp ) set_target_properties(NotepadNext PROPERTIES diff --git a/src/dialogs/MainWindow.cpp b/src/dialogs/MainWindow.cpp index 8f4930e41..250397946 100644 --- a/src/dialogs/MainWindow.cpp +++ b/src/dialogs/MainWindow.cpp @@ -72,6 +72,7 @@ #include "MacroRunDialog.h" #include "MacroSaveDialog.h" #include "PreferencesDialog.h" +#include "PreferencesDialog2.h" #include "ColumnEditorDialog.h" #include "QuickFindWidget.h" @@ -727,6 +728,8 @@ MainWindow::MainWindow(NotepadNextApplication *app) : pd->activateWindow(); }); + // (new PreferencesDialog2(app->getSettings(), this))->show(); + // The macro manager has already loaded any saved macros, so it might have some already ui->actionRunMacroMultipleTimes->setEnabled(macroManager.availableMacros().size() > 0); ui->actionEditMacros->setEnabled(macroManager.availableMacros().size() > 0); diff --git a/src/dialogs/Preferences/BehaviorCategoryItem.cpp b/src/dialogs/Preferences/BehaviorCategoryItem.cpp new file mode 100644 index 000000000..71c50f73b --- /dev/null +++ b/src/dialogs/Preferences/BehaviorCategoryItem.cpp @@ -0,0 +1,15 @@ +#include +#include + +#include "BehaviorCategoryItem.h" + +QWidget *BehaviorCategoryItem::view() const +{ + const auto widget = new QWidget; + const auto layout = new QVBoxLayout(widget); + + for (int i = 0; i < 100; ++i) + layout->addWidget(new QLabel(QString("LABEL %1").arg(i))); + + return widget; +} diff --git a/src/dialogs/Preferences/BehaviorCategoryItem.h b/src/dialogs/Preferences/BehaviorCategoryItem.h new file mode 100644 index 000000000..4ed33a385 --- /dev/null +++ b/src/dialogs/Preferences/BehaviorCategoryItem.h @@ -0,0 +1,17 @@ +#ifndef BEHAVIORCATEGORYITEM_H +#define BEHAVIORCATEGORYITEM_H + +#include "PreferencesCategoryItem.h" + +class BehaviorCategoryItem : public PreferencesCategoryItem +{ +public: + BehaviorCategoryItem() = default; + virtual ~BehaviorCategoryItem() = default; + + virtual QString title() const override { return QObject::tr("Behavior"); } + virtual QString icon() const override { return "://icons/audio-waveform.svg"; } + virtual QWidget *view() const override; +}; + +#endif // BEHAVIORCATEGORYITEM_H diff --git a/src/dialogs/Preferences/PreferencesCategoryItem.cpp b/src/dialogs/Preferences/PreferencesCategoryItem.cpp new file mode 100644 index 000000000..750e7946b --- /dev/null +++ b/src/dialogs/Preferences/PreferencesCategoryItem.cpp @@ -0,0 +1 @@ +#include "PreferencesCategoryItem.h" diff --git a/src/dialogs/Preferences/PreferencesCategoryItem.h b/src/dialogs/Preferences/PreferencesCategoryItem.h new file mode 100644 index 000000000..140badb44 --- /dev/null +++ b/src/dialogs/Preferences/PreferencesCategoryItem.h @@ -0,0 +1,17 @@ +#ifndef PREFERENCESCATEGORYITEM_H +#define PREFERENCESCATEGORYITEM_H + +#include + +class PreferencesCategoryItem +{ +public: + PreferencesCategoryItem() = default; + virtual ~PreferencesCategoryItem() = default; + + virtual QString title() const = 0; + virtual QString icon() const = 0; + virtual QWidget *view() const = 0; +}; + +#endif // PREFERENCESCATEGORYITEM_H diff --git a/src/dialogs/Preferences/PreferencesCategoryItemT.hpp b/src/dialogs/Preferences/PreferencesCategoryItemT.hpp new file mode 100644 index 000000000..4e78ffcdf --- /dev/null +++ b/src/dialogs/Preferences/PreferencesCategoryItemT.hpp @@ -0,0 +1,24 @@ +#ifndef PREFERENCESCATEGORYITEMT_H +#define PREFERENCESCATEGORYITEMT_H + +#include "PreferencesCategoryItem.h" + +template +class PreferencesCategoryItemT : public PreferencesCategoryItem +{ +public: + PreferencesCategoryItemT(const QString &title, const QString &icon) + : PreferencesCategoryItem(), mTitle(title), mIcon(icon) + { } + virtual ~PreferencesCategoryItemT() = default; + + inline virtual QString title() const override { return mTitle; } + inline virtual QString icon() const override { return mIcon; } + inline virtual T *view() const override { return new T; } + +private: + QString mTitle; + QString mIcon; +}; + +#endif // PREFERENCESCATEGORYITEMT_H diff --git a/src/dialogs/Preferences/PreferencesCategoryListModel.cpp b/src/dialogs/Preferences/PreferencesCategoryListModel.cpp new file mode 100644 index 000000000..70699eebf --- /dev/null +++ b/src/dialogs/Preferences/PreferencesCategoryListModel.cpp @@ -0,0 +1,65 @@ +#include "PreferencesCategoryListModel.h" + +namespace { + using ItemPtr = std::unique_ptr; + + constexpr unsigned int RowHeight = 32; +} + +PreferencesCategoryListModel::PreferencesCategoryListModel(QObject *parent) + : QAbstractListModel(parent) +{ + mItems.reserve(5); +} + +QVariant PreferencesCategoryListModel::data(const QModelIndex &index, int role) const +{ + if (!index.isValid() || index.row() >= mItems.size()) + return {}; + + const auto &item = mItems.at(index.row()); + + switch (role) { + case Qt::DisplayRole: + return item->title(); + + case Qt::DecorationRole: + return QIcon(item->icon()); + + case Qt::SizeHintRole: + return QSize(0, RowHeight); + + case Qt::TextAlignmentRole: + return Qt::AlignVCenter; + } + + return {}; +} + +void PreferencesCategoryListModel::addCategory(PreferencesCategoryItem *category, int row) +{ + if (row < 0 || row > mItems.size()) + row = mItems.size(); + + beginInsertRows(index(row), row, row + 1); + mItems.insert(mItems.cbegin() + row, std::move(ItemPtr(category))); + endInsertRows(); +} + +void PreferencesCategoryListModel::removeCategory(int row) +{ + if (row < 0 || row >= mItems.size()) + return; + + beginRemoveRows(index(row), row, row + 1); + mItems.erase(mItems.cbegin() + row); + endRemoveRows(); +} + +PreferencesCategoryItem *PreferencesCategoryListModel::category(int row) const +{ + if (row < 0 || row >= mItems.size()) + return nullptr; + + return mItems.at(row).get(); +} diff --git a/src/dialogs/Preferences/PreferencesCategoryListModel.h b/src/dialogs/Preferences/PreferencesCategoryListModel.h new file mode 100644 index 000000000..ee7c35a82 --- /dev/null +++ b/src/dialogs/Preferences/PreferencesCategoryListModel.h @@ -0,0 +1,34 @@ +#ifndef PREFERENCESCATEGORYLISTMODEL_H +#define PREFERENCESCATEGORYLISTMODEL_H + +#include +#include + +#include "PreferencesCategoryItem.h" + +class PreferencesCategoryListModel : public QAbstractListModel +{ +public: + explicit PreferencesCategoryListModel(QObject *parent = nullptr); + virtual ~PreferencesCategoryListModel() = default; + + inline virtual int rowCount(const QModelIndex &parent = QModelIndex()) const override { + return mItems.size(); + } + + virtual QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override; + + /** + * @param item Specific item. + * @param pos Item position. -1 will append to the end. + * @note takes ownership of the item. + */ + void addCategory(PreferencesCategoryItem *category, int row = -1); + void removeCategory(int row); + PreferencesCategoryItem* category(int row) const; + +private: + std::vector> mItems; +}; + +#endif // PREFERENCESCATEGORYLISTMODEL_H diff --git a/src/dialogs/PreferencesDialog2.cpp b/src/dialogs/PreferencesDialog2.cpp new file mode 100644 index 000000000..319bcd926 --- /dev/null +++ b/src/dialogs/PreferencesDialog2.cpp @@ -0,0 +1,192 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "Preferences/PreferencesCategoryListModel.h" +#include "Preferences/PreferencesCategoryItemT.hpp" +#include "Preferences/BehaviorCategoryItem.h" +#include "PreferencesDialog2.h" + +namespace { + using ListModel = PreferencesCategoryListModel; + + inline QFont ContentTitleFont() noexcept + { + auto font = QApplication::font("QLabel"); + font.setPointSize(16); + font.setBold(true); + return font; + } +} + +struct PreferencesDialog2::PreferencesDialog2Private +{ +public: + inline bool hasUnsavedChanges() const { + return false/**settings.actual != *settings.copy*/; + } + inline void restoreSettings() { + // *settings.actual = *settings.copy; + } + +public: /* Logic */ + struct { + /// @brief Actual settings populated in-app. + ApplicationSettings *actual = nullptr; + /// @brief Settings copy on latest show event. + ApplicationSettings *copy = nullptr; + } settings; + +public: /* View */ + QGridLayout *mainLayout = nullptr; + + struct { + QListView *listView = nullptr; + ListModel *model = nullptr; + } category; + + struct { + QWidget *widget = nullptr; + QVBoxLayout *layout = nullptr; + + QLabel *title = nullptr; + QScrollArea *viewport = nullptr; + } content; + + QDialogButtonBox *controlsBox = nullptr; +}; + +PreferencesDialog2::PreferencesDialog2(ApplicationSettings *settings, QWidget *parent) + : QDialog(parent, Qt::Tool), + p(new PreferencesDialog2Private) +{ + p->settings.copy = new ApplicationSettings(this); + p->settings.actual = settings; + + // Category + p->category.listView = new QListView; + p->category.listView->setFixedWidth(180); + p->category.listView->setIconSize({ 20, 20 }); + + p->category.model = new ListModel(p->category.listView); + p->category.model->addCategory(new BehaviorCategoryItem); + p->category.model->addCategory(new BehaviorCategoryItem); + p->category.model->addCategory(new PreferencesCategoryItemT("Test", "://icons/findReplace.png")); + + p->category.listView->setModel(p->category.model); + + // Content + p->content.title = new QLabel(tr("Default title")); + p->content.title->setFont(ContentTitleFont()); + + p->content.viewport = new QScrollArea; + + p->content.widget = new QWidget; + p->content.widget->setSizePolicy( + QSizePolicy::Expanding, + QSizePolicy::Expanding + ); + + p->content.layout = new QVBoxLayout(p->content.widget); + p->content.layout->setContentsMargins(0, 0, 0, 0); + p->content.layout->addWidget(p->content.title); + p->content.layout->addWidget(p->content.viewport); + + // Controls + p->controlsBox = new QDialogButtonBox(Qt::Horizontal); + p->controlsBox->setStandardButtons( + QDialogButtonBox::RestoreDefaults + | QDialogButtonBox::Ok + | QDialogButtonBox::Cancel + ); + + // Main assembly + p->mainLayout = new QGridLayout(this); + p->mainLayout->addWidget(p->category.listView, 0, 0, 2, 1); + p->mainLayout->addWidget(p->content.widget, 0, 1); + p->mainLayout->addWidget(p->controlsBox, 1, 1); + + // SS-stuf + connect(p->category.listView->selectionModel(), &QItemSelectionModel::currentRowChanged, + this, &PreferencesDialog2::onCategoryChanged); + + connect(p->controlsBox, &QDialogButtonBox::clicked, + [this](QAbstractButton *button) { + switch (p->controlsBox->buttonRole(button)) + { + case QDialogButtonBox::ResetRole: onResetClicked(); break; + case QDialogButtonBox::AcceptRole: onOkClicked(); break; + case QDialogButtonBox::RejectRole: onCancelClicked(); break; + default: break; + } + } + ); + + // Force switch to first category + QMetaObject::invokeMethod(this, [this](){ + p->category.listView->setCurrentIndex(p->category.model->index(0)); + }, Qt::QueuedConnection); +} + +PreferencesDialog2::~PreferencesDialog2() +{ + delete p; +} + +void PreferencesDialog2::onCategoryChanged(const QModelIndex &index) +{ + if (!index.isValid()) return; + + const auto item = p->category.model->category(index.row()); + if (!item) return; + + p->content.title->setText(item->title()); + p->content.viewport->setWidget(item->view()); +} + +void PreferencesDialog2::onOkClicked() +{ + accept(); +} + +void PreferencesDialog2::onCancelClicked() +{ + if (p->hasUnsavedChanges()) { + const auto reply = QMessageBox::question( + this, + tr("Unsaved Changes"), + tr("You have unsaved changes.\n" + "Do you want to save them before closing?"), + QMessageBox::Save + | QMessageBox::Discard + | QMessageBox::Cancel + ); + + switch (reply) + { + case QMessageBox::Cancel: + return; + case QMessageBox::Discard: + p->restoreSettings(); + [[fallthrough]]; + default: + break; + } + } + + accept(); +} + +void PreferencesDialog2::onResetClicked() +{ + p->restoreSettings(); +} diff --git a/src/dialogs/PreferencesDialog2.h b/src/dialogs/PreferencesDialog2.h new file mode 100644 index 000000000..9084ac004 --- /dev/null +++ b/src/dialogs/PreferencesDialog2.h @@ -0,0 +1,55 @@ +#ifndef PREFERENCESDIALOG2_H +#define PREFERENCESDIALOG2_H + +#include + +#include +#include + +namespace dev { + class SettingsManager + { + public: + SettingsManager(ApplicationSettings* actual) + : mActual(actual) + { + + } + + void setPreviewMode(bool on) + { + if (on) + { + + } + } + + bool hasChanges() const; + + private: + ApplicationSettings* mActual = nullptr; + ApplicationSettings* mStaged = nullptr; + + }; +} + +class PreferencesDialog2 : public QDialog +{ + Q_OBJECT +public: + PreferencesDialog2(ApplicationSettings *settings, QWidget *parent = nullptr); + virtual ~PreferencesDialog2(); + +private slots: + void onCategoryChanged(const QModelIndex &index); + + void onOkClicked(); + void onCancelClicked(); + void onResetClicked(); + +private: + struct PreferencesDialog2Private; + PreferencesDialog2Private *p; +}; + +#endif // PREFERENCESDIALOG2_H diff --git a/src/icons/audio-waveform.svg b/src/icons/audio-waveform.svg new file mode 100644 index 000000000..17d3bb76b --- /dev/null +++ b/src/icons/audio-waveform.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/resources.qrc b/src/resources.qrc index d373be086..72df95868 100644 --- a/src/resources.qrc +++ b/src/resources.qrc @@ -42,5 +42,6 @@ icons/application_osx_terminal.png icons/folder_go.png icons/wrapindicator.png + icons/audio-waveform.svg From 730d690da089292f44d29b47b84dffe79236ba45 Mon Sep 17 00:00:00 2001 From: "O. Khryshchuk" Date: Fri, 24 Apr 2026 14:41:57 +0200 Subject: [PATCH 2/8] - AppearanceCategoryItem added; - BehaviorCategoryItem updated; - PreferencesDialog replaced by PreferencesDialog2. --- src/ApplicationSettings.cpp | 40 +- src/ApplicationSettings.h | 46 ++- src/CMakeLists.txt | 22 +- src/dialogs/MainWindow.cpp | 15 +- .../Preferences/AppearanceCategoryItem.cpp | 129 +++++++ .../Preferences/AppearanceCategoryItem.h | 17 + .../Preferences/BehaviorCategoryItem.cpp | 285 +++++++++++++- .../Preferences/BehaviorCategoryItem.h | 2 +- .../Preferences/PreferencesCategoryItem.cpp | 1 - .../Preferences/PreferencesCategoryItem.h | 5 +- ...ryItemT.hpp => PreferencesCategoryItemT.h} | 4 +- .../PreferencesCategoryListModel.cpp | 3 +- .../Preferences/PreferencesViewUtils.h | 132 +++++++ src/dialogs/PreferencesDialog.cpp | 359 ++++++++++-------- src/dialogs/PreferencesDialog.h | 54 +-- src/dialogs/PreferencesDialog.ui | 342 ----------------- src/dialogs/PreferencesDialog2.cpp | 192 ---------- src/dialogs/PreferencesDialog2.h | 55 --- src/icons/paintbrush.svg | 1 + src/resources.qrc | 1 + 20 files changed, 876 insertions(+), 829 deletions(-) create mode 100644 src/dialogs/Preferences/AppearanceCategoryItem.cpp create mode 100644 src/dialogs/Preferences/AppearanceCategoryItem.h delete mode 100644 src/dialogs/Preferences/PreferencesCategoryItem.cpp rename src/dialogs/Preferences/{PreferencesCategoryItemT.hpp => PreferencesCategoryItemT.h} (83%) create mode 100644 src/dialogs/Preferences/PreferencesViewUtils.h delete mode 100644 src/dialogs/PreferencesDialog.ui delete mode 100644 src/dialogs/PreferencesDialog2.cpp delete mode 100644 src/dialogs/PreferencesDialog2.h create mode 100644 src/icons/paintbrush.svg diff --git a/src/ApplicationSettings.cpp b/src/ApplicationSettings.cpp index 17def0ca6..0fcdfe222 100644 --- a/src/ApplicationSettings.cpp +++ b/src/ApplicationSettings.cpp @@ -18,6 +18,7 @@ #include "ApplicationSettings.h" +#include #include #include @@ -36,8 +37,45 @@ ApplicationSetting name{#group "/" #name, default};\ ApplicationSettings::ApplicationSettings(QObject *parent) - : QSettings{parent} + : QSettings(parent) +{ } + +ApplicationSettings::ApplicationSettings(QTemporaryFile *tempFile, QObject *parent) + : QSettings(tempFile->fileName(), QSettings::NativeFormat, parent) +{ + tempFile->setParent(this); +} + +void ApplicationSettings::fillFrom(ApplicationSettings *other) +{ + if (!other) return; + + const auto meta = metaObject(); + + for (auto i = meta->propertyOffset(); i < meta->propertyCount(); ++i) + { + const auto property = meta->property(i); + + if (property.isWritable() && property.isReadable()) + property.write(this, property.read(other)); + } +} + +bool ApplicationSettings::isEquals(ApplicationSettings *other) const { + if (!other) return false; + + const auto meta = metaObject(); + + for (auto i = meta->propertyOffset(); i < meta->propertyCount(); ++i) + { + const auto property = meta->property(i); + + if (property.read(this) != property.read(other)) + return false; + } + + return true; } CREATE_SETTING(Gui, ShowMenuBar, showMenuBar, bool, true) diff --git a/src/ApplicationSettings.h b/src/ApplicationSettings.h index cd4089801..7dfe75303 100644 --- a/src/ApplicationSettings.h +++ b/src/ApplicationSettings.h @@ -26,6 +26,7 @@ #include #include +class QTemporaryFile; template class ApplicationSetting @@ -53,39 +54,54 @@ class ApplicationSetting }; -#define DEFINE_SETTING(name, lname, type)\ -public:\ - type lname() const;\ -public slots:\ - void set##name(type lname);\ -Q_SIGNAL\ - void lname##Changed(type lname);\ - +#define DEFINE_SETTING(name, lname, type) \ + Q_PROPERTY(type lname READ lname WRITE set##name NOTIFY lname##Changed FINAL) \ + public: \ + type lname() const; \ + public slots: \ + void set##name(type lname); \ + Q_SIGNAL \ + void lname##Changed(type lname); class ApplicationSettings : public QSettings { Q_OBJECT - public: - explicit ApplicationSettings(QObject *parent = nullptr); - - enum DefaultDirectoryBehaviorEnum { + enum DefaultDirectoryBehaviorEnum + { FollowCurrentDocument, RememberLastUsed, HardCoded }; Q_ENUM(DefaultDirectoryBehaviorEnum) +public: + explicit ApplicationSettings(QObject *parent = nullptr); + + /** + * @brief Create temporary instance with default settings. + * @param tempFile Temporary file instance to be used. + * @warning Ensure tempFile->open() was called before passing it. + * @note The instance takes ownership of tempFile. + */ + ApplicationSettings(QTemporaryFile *tempFile, QObject *parent = nullptr); + + inline void copyTo(ApplicationSettings *other) const { + other->fillFrom(const_cast(this)); + } + void fillFrom(ApplicationSettings *other); + bool isEquals(ApplicationSettings *other) const; + template - T get(const char *key, const T &defaultValue) const + inline T get(const char *key, const T &defaultValue) const { return value(QLatin1String(key), defaultValue).template value(); } template - T get(const ApplicationSetting &setting) const + inline T get(const ApplicationSetting &setting) const { return get(setting.key(), setting.getDefault()); } template - void set(const ApplicationSetting &setting, const T &value) + inline void set(const ApplicationSetting &setting, const T &value) { setValue(QLatin1String(setting.key()), value); } DEFINE_SETTING(ShowMenuBar, showMenuBar, bool) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 9c9d0a439..020a17e32 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -125,6 +125,17 @@ qt_add_executable(NotepadNext decorators/SurroundSelection.h decorators/URLFinder.cpp decorators/URLFinder.h + dialogs/Preferences/PreferencesCategoryListModel.cpp + dialogs/Preferences/PreferencesCategoryListModel.h + dialogs/Preferences/BehaviorCategoryItem.cpp + dialogs/Preferences/BehaviorCategoryItem.h + dialogs/Preferences/PreferencesViewUtils.h + dialogs/Preferences/PreferencesCategoryItem.h + dialogs/Preferences/PreferencesCategoryItemT.h + dialogs/Preferences/AppearanceCategoryItem.cpp + dialogs/Preferences/AppearanceCategoryItem.h + dialogs/PreferencesDialog.cpp + dialogs/PreferencesDialog.h dialogs/ColumnEditorDialog.cpp dialogs/ColumnEditorDialog.h dialogs/ColumnEditorDialog.ui @@ -143,9 +154,9 @@ qt_add_executable(NotepadNext dialogs/MainWindow.cpp dialogs/MainWindow.h dialogs/MainWindow.ui - dialogs/PreferencesDialog.cpp - dialogs/PreferencesDialog.h - dialogs/PreferencesDialog.ui + + + docks/DebugLogDock.cpp docks/DebugLogDock.h docks/DebugLogDock.ui @@ -181,11 +192,6 @@ qt_add_executable(NotepadNext widgets/StatusLabel.h Sorter.h Sorter.cpp ScintillaSorter.h ScintillaSorter.cpp - dialogs/PreferencesDialog2.h dialogs/PreferencesDialog2.cpp - dialogs/Preferences/PreferencesCategoryListModel.h dialogs/Preferences/PreferencesCategoryListModel.cpp - dialogs/Preferences/PreferencesCategoryItem.h dialogs/Preferences/PreferencesCategoryItem.cpp - dialogs/Preferences/BehaviorCategoryItem.h dialogs/Preferences/BehaviorCategoryItem.cpp - dialogs/Preferences/PreferencesCategoryItemT.hpp ) set_target_properties(NotepadNext PROPERTIES diff --git a/src/dialogs/MainWindow.cpp b/src/dialogs/MainWindow.cpp index 250397946..447f58db2 100644 --- a/src/dialogs/MainWindow.cpp +++ b/src/dialogs/MainWindow.cpp @@ -72,7 +72,6 @@ #include "MacroRunDialog.h" #include "MacroSaveDialog.h" #include "PreferencesDialog.h" -#include "PreferencesDialog2.h" #include "ColumnEditorDialog.h" #include "QuickFindWidget.h" @@ -717,19 +716,27 @@ MainWindow::MainWindow(NotepadNextApplication *app) : languageActionGroup->setExclusive(true); connect(ui->actionPreferences, &QAction::triggered, this, [=] { - PreferencesDialog *pd = findChild(QString(), Qt::FindDirectChildrenOnly); + auto pd = findChild(QString(), Qt::FindDirectChildrenOnly); if (pd == Q_NULLPTR) { pd = new PreferencesDialog(app->getSettings(), this); } + pd->resize(700, 400); + pd->setGeometry( + QStyle::alignedRect( + Qt::LeftToRight, + Qt::AlignCenter, + pd->size(), + geometry() + ) + ); + pd->show(); pd->raise(); pd->activateWindow(); }); - // (new PreferencesDialog2(app->getSettings(), this))->show(); - // The macro manager has already loaded any saved macros, so it might have some already ui->actionRunMacroMultipleTimes->setEnabled(macroManager.availableMacros().size() > 0); ui->actionEditMacros->setEnabled(macroManager.availableMacros().size() > 0); diff --git a/src/dialogs/Preferences/AppearanceCategoryItem.cpp b/src/dialogs/Preferences/AppearanceCategoryItem.cpp new file mode 100644 index 000000000..f9ce2ddff --- /dev/null +++ b/src/dialogs/Preferences/AppearanceCategoryItem.cpp @@ -0,0 +1,129 @@ +#include +#include +#include +#include +#include +#include + +#include "AppearanceCategoryItem.h" +#include "PreferencesViewUtils.h" +#include "ApplicationSettings.h" + +using namespace Preferences; + +namespace +{ + inline QGroupBox *WindowAppearanceGroup(ApplicationSettings *settings) + { + const auto group = new QGroupBox(QObject::tr("Window")); + + const auto layout = new QVBoxLayout(group); + layout->addWidget(CreateCheckBox( + QObject::tr("Show menu bar"), + settings, + POPULATE_PROPERTY_FUNCTIONS(showMenuBar, ShowMenuBar) + )); + layout->addWidget(CreateCheckBox( + QObject::tr("Show toolbar"), + settings, + POPULATE_PROPERTY_FUNCTIONS(showToolBar, ShowToolBar) + )); + layout->addWidget(CreateCheckBox( + QObject::tr("Show status bar"), + settings, + POPULATE_PROPERTY_FUNCTIONS(showStatusBar, ShowStatusBar) + )); + layout->setContentsMargins(MARGINS_6); + layout->setSpacing(SPACING_6); + + return group; + } + + inline QGroupBox *FontAppearanceGroup(ApplicationSettings *settings) + { + const auto group = new QGroupBox(QObject::tr("Font")); + + const auto familyCombo = new QFontComboBox; + familyCombo->setCurrentFont(QFont(settings->fontName())); + + const auto sizeCombo = new QComboBox; + sizeCombo->addItems({ + "4", "6", "8", "9", "10", + "11", "12", "14", "16", "18", + "20", "22", "24", "26", "28", + "36", "48", "72" + }); + sizeCombo->setCurrentText(QString("%1").arg(settings->fontSize())); + sizeCombo->setValidator(new QIntValidator(4, 200, sizeCombo)); + sizeCombo->setEditable(true); + + const auto wheelSuppressor = new WheelEventSuppressFilter(group); + wheelSuppressor->setupFor(familyCombo); + wheelSuppressor->setupFor(sizeCombo); + + const auto layout = new QHBoxLayout(group); + layout->addWidget(new QLabel(QObject::tr("Family:"))); + layout->addWidget(familyCombo, 1); + layout->addSpacing(3); + layout->addWidget(new QLabel(QObject::tr("Size:"))); + layout->addWidget(sizeCombo); + layout->setContentsMargins(MARGINS_6); + layout->setSpacing(3); + + QObject::connect(familyCombo, &QFontComboBox::currentFontChanged, + settings, [settings](const QFont &font) { + settings->setFontName(font.family()); + }); + QObject::connect(settings, &ApplicationSettings::fontNameChanged, + familyCombo, [familyCombo](const QString &fontName){ + familyCombo->setCurrentFont(QFont(fontName)); + }); + + QObject::connect(sizeCombo, &QComboBox::currentTextChanged, + settings, [settings](const QString &value) { + settings->setFontSize(value.toInt()); + }); + QObject::connect(settings, &ApplicationSettings::fontSizeChanged, + sizeCombo, [sizeCombo](int size) { + sizeCombo->setCurrentText(QString("%1").arg(size)); + }); + + return group; + } + + inline QGroupBox *EditorAppearanceGroup(ApplicationSettings *settings) + { + const auto group = new QGroupBox(QObject::tr("Editor")); + + const auto layout = new QVBoxLayout(group); + layout->addWidget(FontAppearanceGroup(settings)); + layout->addWidget(CreateCheckBox( + QObject::tr("Highlight URLs"), + settings, + POPULATE_PROPERTY_FUNCTIONS(urlHighlighting, URLHighlighting) + )); + layout->addWidget(CreateCheckBox( + QObject::tr("Show Line Numbers"), + settings, + POPULATE_PROPERTY_FUNCTIONS(showLineNumbers, ShowLineNumbers) + )); + layout->setContentsMargins(MARGINS_6); + layout->setSpacing(SPACING_6); + + return group; + } +} + +QWidget *AppearanceCategoryItem::contentView(ApplicationSettings *settings) const +{ + const auto widget = new QWidget; + const auto layout = new QVBoxLayout(widget); + + layout->addWidget(WindowAppearanceGroup(settings)); + layout->addWidget(EditorAppearanceGroup(settings)); + layout->addStretch(1); + layout->setContentsMargins(MARGINS_6); + layout->setSpacing(SPACING_6); + + return widget; +} diff --git a/src/dialogs/Preferences/AppearanceCategoryItem.h b/src/dialogs/Preferences/AppearanceCategoryItem.h new file mode 100644 index 000000000..974e459c3 --- /dev/null +++ b/src/dialogs/Preferences/AppearanceCategoryItem.h @@ -0,0 +1,17 @@ +#ifndef APPEARANCECATEGORYITEM_H +#define APPEARANCECATEGORYITEM_H + +#include "PreferencesCategoryItem.h" + +class AppearanceCategoryItem : public PreferencesCategoryItem +{ +public: + AppearanceCategoryItem() = default; + virtual ~AppearanceCategoryItem() = default; + + virtual QString title() const override { return QObject::tr("Appearance"); } + virtual QString icon() const override { return "://icons/paintbrush.svg"; } + virtual QWidget *contentView(ApplicationSettings *settings) const override; +}; + +#endif // APPEARANCECATEGORYITEM_H diff --git a/src/dialogs/Preferences/BehaviorCategoryItem.cpp b/src/dialogs/Preferences/BehaviorCategoryItem.cpp index 71c50f73b..63d4ba29f 100644 --- a/src/dialogs/Preferences/BehaviorCategoryItem.cpp +++ b/src/dialogs/Preferences/BehaviorCategoryItem.cpp @@ -1,15 +1,294 @@ +#include +#include +#include +#include #include +#include +#include +#include +#include +#include #include +#include "NotepadNextApplication.h" +#include "PreferencesViewUtils.h" #include "BehaviorCategoryItem.h" +#include "TranslationManager.h" +#include "ScintillaNext.h" -QWidget *BehaviorCategoryItem::view() const +using namespace Preferences; + +namespace +{ + const QLatin1StringView PathStyleValid("QLineEdit { border: 1px solid #2ecc71; }"); + const QLatin1StringView PathStyleInvalid("QLineEdit { border: 1px solid #e74c3c; }"); + + inline QGroupBox *DefaultFolderView(ApplicationSettings *settings) + { + using BehaviourEnum = ApplicationSettings::DefaultDirectoryBehaviorEnum; + + const auto group = new QGroupBox(QObject::tr("Default directory")); + + const auto layout = new QVBoxLayout(group); + + const auto currentRadio = new QRadioButton(QObject::tr("Current document directory")); + const auto lastUsedRadio = new QRadioButton(QObject::tr("Last used directory")); + const auto selectedRadio = new QRadioButton(QObject::tr("Selected directory:")); + + const auto buttonGroup = new QButtonGroup(group); + buttonGroup->addButton(currentRadio, ApplicationSettings::FollowCurrentDocument); + buttonGroup->addButton(lastUsedRadio, ApplicationSettings::RememberLastUsed); + buttonGroup->addButton(selectedRadio, ApplicationSettings::HardCoded); + + const auto selectedPathEdit = new QLineEdit; + selectedPathEdit->setClearButtonEnabled(true); + selectedPathEdit->setPlaceholderText(QObject::tr("Selected directory path here...")); +#if QT_CONFIG(completer) + selectedPathEdit->setCompleter( + FilesystemCompliter( + selectedPathEdit, + Qt::CaseInsensitive, + QCompleter::PopupCompletion + ) + ); +#endif + + const auto pathBrowseButton = new QPushButton; + pathBrowseButton->setIcon(qApp->style()->standardIcon(QStyle::SP_DirIcon)); + pathBrowseButton->setToolTip(QObject::tr("Open directory select dialog")); + + const auto setPathInputEnabled = [selectedPathEdit, pathBrowseButton](bool state) { + selectedPathEdit->setEnabled(state); + pathBrowseButton->setEnabled(state); + }; + + {// Load actual path + const auto selectedPath = QDir::toNativeSeparators(settings->defaultDirectory()); + if (!selectedPath.isEmpty()) + selectedPathEdit->setText(selectedPath); + else + selectedPathEdit->setText(QStandardPaths::writableLocation(QStandardPaths::HomeLocation)); + } + + const auto selectedLayout = new QHBoxLayout; + selectedLayout->addWidget(selectedRadio); + selectedLayout->addWidget(selectedPathEdit, 1); + selectedLayout->addWidget(pathBrowseButton); + selectedLayout->setContentsMargins(MARGINS_0); + selectedLayout->setSpacing(SPACING_3); + + layout->addWidget(currentRadio); + layout->addWidget(lastUsedRadio); + layout->addLayout(selectedLayout); + layout->setContentsMargins(MARGINS_6); + layout->setSpacing(SPACING_6); + + QObject::connect(selectedPathEdit, &QLineEdit::textChanged, + settings, [selectedPathEdit, settings](const QString &text) { + QFileInfo checkDir(text); + QString toolTip; + QString style; + + if (!text.isEmpty()) + { + bool checks = checkDir.exists() + && checkDir.isDir() + && checkDir.isWritable(); + if (checks) + { + style = PathStyleValid; + settings->setDefaultDirectory(text); + } + else + { + QStringList whys; + + if (!checkDir.exists()) + whys += QObject::tr("Not exists"); + if (!checkDir.isDir()) + whys += QObject::tr("Not a directory"); + if (!checkDir.isWritable()) + whys += QObject::tr("No write access"); + + toolTip = whys.join(" | "); + + style = PathStyleInvalid; + } + } + else + toolTip = QObject::tr("Please, use absolute path"); + + selectedPathEdit->setStyleSheet(style); + selectedPathEdit->setToolTip(toolTip); + }); + QObject::connect(pathBrowseButton, &QPushButton::clicked, + group, [group, selectedPathEdit]() { + const auto selected = QFileDialog::getExistingDirectory( + group, + QObject::tr("Select default directory"), + selectedPathEdit->text(), + QFileDialog::ShowDirsOnly + | QFileDialog::DontResolveSymlinks + ); + if (!selected.isEmpty()) + selectedPathEdit->setText(selected); + }); + + QObject::connect(buttonGroup, &QButtonGroup::idClicked, + settings, [settings, setPathInputEnabled](int id) { + setPathInputEnabled(id == BehaviourEnum::HardCoded); + settings->setDefaultDirectoryBehavior((BehaviourEnum)id); + }); + QObject::connect(settings, &ApplicationSettings::defaultDirectoryBehaviorChanged, + buttonGroup, [buttonGroup, setPathInputEnabled](BehaviourEnum value) { + const auto button = buttonGroup->button(value); + const QSignalBlocker block(buttonGroup); // Prevent ss-loop + if (button) button->click(); + setPathInputEnabled(value == BehaviourEnum::HardCoded); + }); + + // Load current selection + const auto checkableRadio = buttonGroup->button(settings->defaultDirectoryBehavior()); + if (checkableRadio) checkableRadio->click(); + + return group; + } + + inline QGroupBox *PreviousSessionView(ApplicationSettings *settings) + { + const auto group = new QGroupBox(QObject::tr("Restore previous session")); + group->setCheckable(true); + group->setChecked(settings->restorePreviousSession()); + + const auto layout = new QVBoxLayout(group); + layout->addWidget(CreateCheckBox( + QObject::tr("Unsaved changes"), + settings, + POPULATE_PROPERTY_FUNCTIONS(restoreUnsavedFiles, RestoreUnsavedFiles) + )); + layout->addWidget(CreateCheckBox( + QObject::tr("Temporary files"), + settings, + POPULATE_PROPERTY_FUNCTIONS(restoreTempFiles, RestoreTempFiles) + )); + layout->setContentsMargins(MARGINS_6); + layout->setSpacing(SPACING_6); + + QObject::connect(settings, &ApplicationSettings::restorePreviousSessionChanged, + group, &QGroupBox::setChecked); + QObject::connect(group, &QGroupBox::toggled, + settings, &ApplicationSettings::setRestorePreviousSession); + + return group; + } + + inline QGridLayout *AppLanguageView(ApplicationSettings *settings) + { + const auto app = qobject_cast(qApp); + + const auto languageCombo = new QComboBox; + languageCombo->addItem(QObject::tr(""), QStringLiteral("")); + for (const auto &languageData : app->getTranslationManager()->availableTranslations()) + { + QLocale locale(languageData); + const auto languageTitle = TranslationManager::FormatLocaleTerritoryAndLanguage(locale); + languageCombo->addItem(languageTitle, languageData); + } + + const auto wheelSuppressor = new WheelEventSuppressFilter(languageCombo); + wheelSuppressor->setupFor(languageCombo); + + const auto restartNotification = new RestartRequiredLabel; + restartNotification->setVisible(false); + + const auto layout = new QGridLayout; + layout->addWidget(new QLabel(QObject::tr("Language:")), 0, 0); + layout->addWidget(languageCombo, 0, 1); + layout->addWidget(restartNotification, 1, 0, 1, 2); + layout->setColumnStretch(1, 1); + layout->setContentsMargins(MARGINS_0); + layout->setSpacing(SPACING_3); + + const auto setComboByData = [languageCombo](const QString &data) { + const auto index = languageCombo->findData(data); + languageCombo->setCurrentIndex(index >= 0 ? index : 0); + }; + + setComboByData(settings->translation()); + + QObject::connect(languageCombo, QOverload::of(&QComboBox::currentIndexChanged), + settings, [settings, languageCombo, restartNotification](int index) { + settings->setTranslation(languageCombo->itemData(index).toString()); + restartNotification->setVisible(true); + }); + QObject::connect(settings, &ApplicationSettings::translationChanged, + languageCombo, setComboByData); + + return layout; + } + + inline QHBoxLayout *EOLTypeView(ApplicationSettings *settings) + { + const auto eolCombo = new QComboBox; + eolCombo->addItem(QObject::tr("System Default"), QString("")); + eolCombo->addItem(QObject::tr("Windows (CR LF)"), ScintillaNext::eolModeToString(SC_EOL_CRLF)); + eolCombo->addItem(QObject::tr("Unix (LF)"), ScintillaNext::eolModeToString(SC_EOL_LF)); + eolCombo->addItem(QObject::tr("Macintosh (CR)"), ScintillaNext::eolModeToString(SC_EOL_CR)); + + const auto wheelSuppressor = new WheelEventSuppressFilter(eolCombo); + wheelSuppressor->setupFor(eolCombo); + + const auto layout = new QHBoxLayout; + layout->addWidget(new QLabel(QObject::tr("Default line endings:"))); + layout->addWidget(eolCombo, 1); + layout->setContentsMargins(MARGINS_0); + layout->setSpacing(SPACING_3); + + const auto setComboByData = [eolCombo](const QString &data) { + const auto index = eolCombo->findData(data); + eolCombo->setCurrentIndex(index >= 0 ? index : 0); + }; + + setComboByData(settings->defaultEOLMode()); + + QObject::connect(eolCombo, QOverload::of(&QComboBox::currentIndexChanged), + settings, [settings, eolCombo](int index) { + settings->setDefaultEOLMode(eolCombo->itemData(index).toString()); + }); + QObject::connect(settings, &ApplicationSettings::defaultEOLModeChanged, + eolCombo, setComboByData); + + return layout; + } +} + +QWidget *BehaviorCategoryItem::contentView(ApplicationSettings *settings) const { const auto widget = new QWidget; const auto layout = new QVBoxLayout(widget); - for (int i = 0; i < 100; ++i) - layout->addWidget(new QLabel(QString("LABEL %1").arg(i))); + layout->addLayout(AppLanguageView(settings)); + layout->addWidget(PreviousSessionView(settings)); + layout->addWidget(DefaultFolderView(settings)); + layout->addLayout(EOLTypeView(settings)); + layout->addWidget(CreateCheckBox( + QObject::tr("Recenter find/replace dialog when opened"), + settings, + POPULATE_PROPERTY_FUNCTIONS(centerSearchDialog, CenterSearchDialog) + )); + layout->addWidget(CreateCheckBox( + QObject::tr("Combine search results"), + settings, + POPULATE_PROPERTY_FUNCTIONS(combineSearchResults, CombineSearchResults) + )); + layout->addWidget(CreateCheckBox( + QObject::tr("Exit on last tab closed"), + settings, + POPULATE_PROPERTY_FUNCTIONS(exitOnLastTabClosed, ExitOnLastTabClosed) + )); + layout->addStretch(1); + layout->setContentsMargins(MARGINS_6); + layout->setSpacing(SPACING_6); return widget; } diff --git a/src/dialogs/Preferences/BehaviorCategoryItem.h b/src/dialogs/Preferences/BehaviorCategoryItem.h index 4ed33a385..2f764d246 100644 --- a/src/dialogs/Preferences/BehaviorCategoryItem.h +++ b/src/dialogs/Preferences/BehaviorCategoryItem.h @@ -11,7 +11,7 @@ class BehaviorCategoryItem : public PreferencesCategoryItem virtual QString title() const override { return QObject::tr("Behavior"); } virtual QString icon() const override { return "://icons/audio-waveform.svg"; } - virtual QWidget *view() const override; + virtual QWidget *contentView(ApplicationSettings *settings) const override; }; #endif // BEHAVIORCATEGORYITEM_H diff --git a/src/dialogs/Preferences/PreferencesCategoryItem.cpp b/src/dialogs/Preferences/PreferencesCategoryItem.cpp deleted file mode 100644 index 750e7946b..000000000 --- a/src/dialogs/Preferences/PreferencesCategoryItem.cpp +++ /dev/null @@ -1 +0,0 @@ -#include "PreferencesCategoryItem.h" diff --git a/src/dialogs/Preferences/PreferencesCategoryItem.h b/src/dialogs/Preferences/PreferencesCategoryItem.h index 140badb44..69bcb839d 100644 --- a/src/dialogs/Preferences/PreferencesCategoryItem.h +++ b/src/dialogs/Preferences/PreferencesCategoryItem.h @@ -3,6 +3,8 @@ #include +class ApplicationSettings; + class PreferencesCategoryItem { public: @@ -11,7 +13,8 @@ class PreferencesCategoryItem virtual QString title() const = 0; virtual QString icon() const = 0; - virtual QWidget *view() const = 0; + /// @warning Caller becomes owner. + virtual QWidget *contentView(ApplicationSettings *settings) const = 0; }; #endif // PREFERENCESCATEGORYITEM_H diff --git a/src/dialogs/Preferences/PreferencesCategoryItemT.hpp b/src/dialogs/Preferences/PreferencesCategoryItemT.h similarity index 83% rename from src/dialogs/Preferences/PreferencesCategoryItemT.hpp rename to src/dialogs/Preferences/PreferencesCategoryItemT.h index 4e78ffcdf..684cc00b8 100644 --- a/src/dialogs/Preferences/PreferencesCategoryItemT.hpp +++ b/src/dialogs/Preferences/PreferencesCategoryItemT.h @@ -14,7 +14,9 @@ class PreferencesCategoryItemT : public PreferencesCategoryItem inline virtual QString title() const override { return mTitle; } inline virtual QString icon() const override { return mIcon; } - inline virtual T *view() const override { return new T; } + inline virtual T *contentView(ApplicationSettings *settings) const override { + return new T(settings); + } private: QString mTitle; diff --git a/src/dialogs/Preferences/PreferencesCategoryListModel.cpp b/src/dialogs/Preferences/PreferencesCategoryListModel.cpp index 70699eebf..ec94e06f4 100644 --- a/src/dialogs/Preferences/PreferencesCategoryListModel.cpp +++ b/src/dialogs/Preferences/PreferencesCategoryListModel.cpp @@ -1,6 +1,7 @@ #include "PreferencesCategoryListModel.h" -namespace { +namespace +{ using ItemPtr = std::unique_ptr; constexpr unsigned int RowHeight = 32; diff --git a/src/dialogs/Preferences/PreferencesViewUtils.h b/src/dialogs/Preferences/PreferencesViewUtils.h new file mode 100644 index 000000000..d2dc6d663 --- /dev/null +++ b/src/dialogs/Preferences/PreferencesViewUtils.h @@ -0,0 +1,132 @@ +#ifndef PREFERENCESVIEWUTILS_H +#define PREFERENCESVIEWUTILS_H + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include + +#define POPULATE_PROPERTY_FUNCTIONS(name, Name) \ + &ApplicationSettings::name, \ + &ApplicationSettings::set##Name, \ + &ApplicationSettings::name##Changed + +namespace Preferences +{ + inline const QMargins MARGINS_0; + inline const QMargins MARGINS_6(6, 6, 6, 6); + + inline const int SPACING_0(0); + inline const int SPACING_3(3); + inline const int SPACING_6(6); + + class WheelEventSuppressFilter : public QObject + { + public: + explicit WheelEventSuppressFilter(QObject *parent = nullptr) + : QObject(parent) { } + + inline void setupFor(QWidget *widget) + { + widget->installEventFilter(this); + widget->setFocusPolicy(Qt::ClickFocus); + } + + inline virtual bool eventFilter(QObject *obj, QEvent *event) override + { + if (event->type() == QEvent::Wheel) + { + const auto widget = qobject_cast(obj); + if (widget && !widget->hasFocus()) + { + event->ignore(); + return true; + } + } + + return QObject::eventFilter(obj, event); + } + }; + + class RestartRequiredLabel : public QWidget + { + public: + RestartRequiredLabel(QWidget *parent = nullptr) + : QWidget() + { + const auto icon = new QLabel; + icon->setPixmap( + qApp->style()->standardIcon( + QStyle::SP_MessageBoxInformation + ).pixmap(14, 14) + ); + + mLabel = new QLabel(QObject::tr("Restart required to apply changes.")); + mLabel->setWordWrap(true); + + auto infoFont = mLabel->font(); + infoFont.setPointSize(infoFont.pointSize() - 1); + infoFont.setItalic(true); + mLabel->setFont(infoFont); + + const auto layout = new QHBoxLayout(this); + layout->addWidget(icon, 0, Qt::AlignTop); + layout->addWidget(mLabel, 1); + layout->setContentsMargins(9, 0, 3, 0); + layout->setSpacing(SPACING_3); + } + + inline const QLabel *label() const { + return mLabel; + } + + private: + QLabel *mLabel = nullptr; + }; + +#if QT_CONFIG(completer) + inline QCompleter *FilesystemCompliter(QObject *parent, + Qt::CaseSensitivity caseSensivity = Qt::CaseInsensitive, + QCompleter::CompletionMode completionMode = QCompleter::InlineCompletion, + const QDir::Filters &filters = QDir::AllDirs | QDir::NoDotAndDotDot) + { + const auto fsModel = new QFileSystemModel(parent); + fsModel->setRootPath(""); + fsModel->setFilter(filters); + + const auto completer = new QCompleter(fsModel, parent); + completer->setCompletionMode(completionMode); + completer->setCaseSensitivity(caseSensivity); + + return completer; + } +#endif + + template + inline QCheckBox *CreateCheckBox(const QString &title, + ApplicationSettings *settings, + G getter, S setter, N notifier, + const QString &toolTip = QString()) + { + const auto checkBox = new QCheckBox(title); + + if (!toolTip.isEmpty()) + checkBox->setToolTip(toolTip); + + checkBox->setChecked(std::bind(getter, settings)()); + + QObject::connect(settings, notifier, checkBox, &QCheckBox::setChecked); + QObject::connect(checkBox, &QCheckBox::toggled, settings, setter); + + return checkBox; + } +} + +#endif // PREFERENCESVIEWUTILS_H diff --git a/src/dialogs/PreferencesDialog.cpp b/src/dialogs/PreferencesDialog.cpp index 54296f482..d0468242e 100644 --- a/src/dialogs/PreferencesDialog.cpp +++ b/src/dialogs/PreferencesDialog.cpp @@ -1,200 +1,233 @@ -/* - * This file is part of Notepad Next. - * Copyright 2019 Justin Dailey - * - * Notepad Next is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Notepad Next is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Notepad Next. If not, see . - */ - - -#include "PreferencesDialog.h" -#include "NotepadNextApplication.h" -#include "TranslationManager.h" -#include "ui_PreferencesDialog.h" -#include "ScintillaNext.h" - -#include -#include +#include #include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "Preferences/PreferencesCategoryListModel.h" +#include "Preferences/AppearanceCategoryItem.h" +#include "Preferences/BehaviorCategoryItem.h" +#include "Preferences/PreferencesViewUtils.h" +#include "PreferencesDialog.h" +using namespace Preferences; -PreferencesDialog::PreferencesDialog(ApplicationSettings *settings, QWidget *parent) : - QDialog(parent, Qt::Tool), - ui(new Ui::PreferencesDialog), - settings(settings) +namespace { - ui->setupUi(this); - - QIcon icon = style()->standardIcon(QStyle::SP_MessageBoxInformation); - QPixmap pixmap = icon.pixmap(QSize(16, 16)); - ui->labelAppRestartIcon->setPixmap(pixmap); - ui->labelAppRestartIcon->hide(); - ui->labelAppRestart->hide(); - - MapSettingToCheckBox(ui->checkBoxMenuBar, &ApplicationSettings::showMenuBar, &ApplicationSettings::setShowMenuBar, &ApplicationSettings::showMenuBarChanged); - MapSettingToCheckBox(ui->checkBoxToolBar, &ApplicationSettings::showToolBar, &ApplicationSettings::setShowToolBar, &ApplicationSettings::showToolBarChanged); - MapSettingToCheckBox(ui->checkBoxStatusBar, &ApplicationSettings::showStatusBar, &ApplicationSettings::setShowStatusBar, &ApplicationSettings::showStatusBarChanged); - MapSettingToCheckBox(ui->checkBoxRecenterSearchDialog, &ApplicationSettings::centerSearchDialog, &ApplicationSettings::setCenterSearchDialog, &ApplicationSettings::centerSearchDialogChanged); - - MapSettingToGroupBox(ui->gbxRestorePreviousSession, &ApplicationSettings::restorePreviousSession, &ApplicationSettings::setRestorePreviousSession, &ApplicationSettings::restorePreviousSessionChanged); - connect(ui->gbxRestorePreviousSession, &QGroupBox::toggled, this, [=](bool checked) { - if (!checked) { - ui->checkBoxUnsavedFiles->setChecked(false); - ui->checkBoxRestoreTempFiles->setChecked(false); - } - else { - QMessageBox::warning(this, tr("Warning"), tr("This feature is experimental and it should not be considered safe for critically important work. It may lead to possible data loss. Use at your own risk.")); - } - }); - - MapSettingToCheckBox(ui->checkBoxUnsavedFiles, &ApplicationSettings::restoreUnsavedFiles, &ApplicationSettings::setRestoreUnsavedFiles, &ApplicationSettings::restoreUnsavedFilesChanged); - MapSettingToCheckBox(ui->checkBoxRestoreTempFiles, &ApplicationSettings::restoreTempFiles, &ApplicationSettings::setRestoreTempFiles, &ApplicationSettings::restoreTempFilesChanged); - - MapSettingToCheckBox(ui->checkBoxCombineSearchResults, &ApplicationSettings::combineSearchResults, &ApplicationSettings::setCombineSearchResults, &ApplicationSettings::combineSearchResultsChanged); - - populateTranslationComboBox(); - connect(ui->comboBoxTranslation, QOverload::of(&QComboBox::currentIndexChanged), this, [=](int index) { - settings->setTranslation(ui->comboBoxTranslation->itemData(index).toString()); - showApplicationRestartRequired(); - }); - - MapSettingToCheckBox(ui->checkBoxExitOnLastTabClosed, &ApplicationSettings::exitOnLastTabClosed, &ApplicationSettings::setExitOnLastTabClosed, &ApplicationSettings::exitOnLastTabClosedChanged); + using ListModel = PreferencesCategoryListModel; - ui->fcbDefaultFont->setCurrentFont(QFont(settings->fontName())); - connect(ui->fcbDefaultFont, &QFontComboBox::currentFontChanged, this, [=](const QFont &f) { - settings->setFontName(f.family()); - }); - connect(settings, &ApplicationSettings::fontNameChanged, this, [=](QString fontName){ - ui->fcbDefaultFont->setCurrentFont(QFont(fontName)); - }); - - ui->spbDefaultFontSize->setValue(settings->fontSize()); - connect(ui->spbDefaultFontSize, QOverload::of(&QSpinBox::valueChanged), settings, &ApplicationSettings::setFontSize); - connect(settings, &ApplicationSettings::fontSizeChanged, ui->spbDefaultFontSize, &QSpinBox::setValue); - - ui->comboBoxLineEndings->addItem(tr("System Default"), QString("")); - ui->comboBoxLineEndings->addItem(tr("Windows (CR LF)"), ScintillaNext::eolModeToString(SC_EOL_CRLF)); - ui->comboBoxLineEndings->addItem(tr("Linux (LF)"), ScintillaNext::eolModeToString(SC_EOL_LF)); - ui->comboBoxLineEndings->addItem(tr("Macintosh (CR)"), ScintillaNext::eolModeToString(SC_EOL_CR)); + inline QFont ContentTitleFont() noexcept + { + auto font = QApplication::font("QLabel"); + font.setPointSize(16); + font.setBold(true); + return font; + } +} - // Select the current one - int index = ui->comboBoxLineEndings->findData(settings->defaultEOLMode()); - ui->comboBoxLineEndings->setCurrentIndex(index == -1 ? 0 : index); +struct PreferencesDialog::PreferencesDialogPrivate +{ +public: + inline bool hasUnsavedChanges() const { + return (settings.backup) ? !settings.actual->isEquals(settings.backup) : false; + } + inline void makeSettingsBackup() { + if (settings.backup) settings.backup->fillFrom(settings.actual); + } + inline void makeSettingsRestore() { + if (settings.backup) settings.actual->fillFrom(settings.backup); + } + inline void makeSettingsReset() const + { + const auto tempSettings = createTemporarySettings(nullptr); + if (tempSettings) + { + settings.actual->fillFrom(tempSettings); + delete tempSettings; + } + } - connect(ui->comboBoxLineEndings, QOverload::of(&QComboBox::currentIndexChanged), this, [=](int index) { - settings->setDefaultEOLMode(ui->comboBoxLineEndings->itemData(index).toString()); - }); - connect(settings, &ApplicationSettings::defaultEOLModeChanged, this, [=](QString defaultEOLMode) { - int index = ui->comboBoxLineEndings->findData(defaultEOLMode); - ui->comboBoxLineEndings->setCurrentIndex(index == -1 ? 0 : index); - }); + inline ApplicationSettings *createTemporarySettings(QObject *parent) const + { + const auto tempFile = new QTemporaryFile; + + if (!tempFile->open()) + { + qWarning() << "Unable to create temporary file:" + << tempFile->errorString(); + delete tempFile; + return nullptr; + } - MapSettingToCheckBox(ui->checkBoxHighlightURLs, &ApplicationSettings::urlHighlighting, &ApplicationSettings::setURLHighlighting, &ApplicationSettings::urlHighlightingChanged); - MapSettingToCheckBox(ui->checkBoxShowLineNumbers, &ApplicationSettings::showLineNumbers, &ApplicationSettings::setShowLineNumbers, &ApplicationSettings::showLineNumbersChanged); + return new ApplicationSettings(tempFile, parent); + } +public: /* Logic */ + struct { + /// @brief Actual settings populated in-app. + ApplicationSettings *actual = nullptr; + /// @brief Settings backup on latest show event. + ApplicationSettings *backup = nullptr; + } settings; - QButtonGroup *buttonGroup = new QButtonGroup(this); - buttonGroup->addButton(ui->radioFollowCurrentDirectory, ApplicationSettings::FollowCurrentDocument); - buttonGroup->addButton(ui->radioLastUsedDirectory, ApplicationSettings::RememberLastUsed); - buttonGroup->addButton(ui->radioHardCoded, ApplicationSettings::HardCoded); +public: /* View */ + QGridLayout *mainLayout = nullptr; - connect(buttonGroup, &QButtonGroup::idClicked, this, [=](int id) { - ApplicationSettings::DefaultDirectoryBehaviorEnum e = static_cast(id); - settings->setDefaultDirectoryBehavior(e); - }); + struct { + QListView *listView = nullptr; + ListModel *model = nullptr; + } category; - connect(ui->radioHardCoded, &QRadioButton::toggled, this, [=](bool checked){ - ui->btnSelectHardCodedPath->setEnabled(checked); - ui->txtHardCodedPath->setEnabled(checked); - }); + struct { + QWidget *widget = nullptr; + QVBoxLayout *layout = nullptr; - connect(ui->btnSelectHardCodedPath, &QToolButton::clicked, this, [=]() { - QString dir = QFileDialog::getExistingDirectory(this, tr("Default Directory")); - if (dir.isEmpty()) return; // user cancelled + QLabel *title = nullptr; + QScrollArea *viewport = nullptr; + } content; - settings->setDefaultDirectory(QDir::fromNativeSeparators(dir)); - ui->txtHardCodedPath->setText(QDir::toNativeSeparators(dir)); - }); + QDialogButtonBox *controlsBox = nullptr; +}; - connect(ui->txtHardCodedPath, &QLineEdit::editingFinished, this, [=]() { - QString dir = ui->txtHardCodedPath->text(); - settings->setDefaultDirectory(QDir::fromNativeSeparators(dir)); - ui->txtHardCodedPath->setText(QDir::toNativeSeparators(dir)); +PreferencesDialog::PreferencesDialog(ApplicationSettings *settings, QWidget *parent) + : QDialog(parent, Qt::Tool), + p(new PreferencesDialogPrivate) +{ + setWindowTitle(tr("Preferences")); + + p->settings.actual = settings; + p->settings.backup = p->createTemporarySettings(this); + + // Category + p->category.listView = new QListView; + p->category.listView->setFixedWidth(180); + p->category.listView->setIconSize({ 20, 20 }); + + p->category.model = new ListModel(p->category.listView); + p->category.model->addCategory(new BehaviorCategoryItem); + p->category.model->addCategory(new AppearanceCategoryItem); + + p->category.listView->setModel(p->category.model); + + // Content + p->content.title = new QLabel(tr("Default title")); + p->content.title->setFont(ContentTitleFont()); + + p->content.viewport = new QScrollArea; + + p->content.widget = new QWidget; + p->content.widget->setSizePolicy( + QSizePolicy::Expanding, + QSizePolicy::Expanding + ); + + p->content.layout = new QVBoxLayout(p->content.widget); + p->content.layout->setContentsMargins(0, 0, 0, 0); + p->content.layout->addWidget(p->content.title); + p->content.layout->addWidget(p->content.viewport); + + // Controls + p->controlsBox = new QDialogButtonBox(Qt::Horizontal); + p->controlsBox->setStandardButtons( + QDialogButtonBox::RestoreDefaults + | QDialogButtonBox::Ok + | QDialogButtonBox::Cancel + ); + + // Main assembly + p->mainLayout = new QGridLayout(this); + p->mainLayout->addWidget(p->category.listView, 0, 0, 2, 1); + p->mainLayout->addWidget(p->content.widget, 0, 1); + p->mainLayout->addWidget(p->controlsBox, 1, 1); + + // SS-stuf + connect(p->category.listView->selectionModel(), &QItemSelectionModel::currentRowChanged, + this, &PreferencesDialog::onCategoryChanged); + + connect(p->controlsBox, &QDialogButtonBox::clicked, + this, [this](QAbstractButton *button) { + switch (p->controlsBox->buttonRole(button)) + { + case QDialogButtonBox::ResetRole: onResetClicked(); break; + case QDialogButtonBox::AcceptRole: onOkClicked(); break; + case QDialogButtonBox::RejectRole: onCancelClicked(); break; + default: break; + } }); - if (auto b = buttonGroup->button(settings->defaultDirectoryBehavior())) { - b->setChecked(true); - } - - if (settings->defaultDirectoryBehavior() == ApplicationSettings::HardCoded) { - ui->txtHardCodedPath->setText((QDir::toNativeSeparators(settings->defaultDirectory()))); - } - else { - ui->txtHardCodedPath->setText(QString()); - } + // Force switch to first category + QMetaObject::invokeMethod(this, [this](){ + p->category.listView->setCurrentIndex(p->category.model->index(0)); + }, Qt::QueuedConnection); } PreferencesDialog::~PreferencesDialog() { - delete ui; + delete p; } -void PreferencesDialog::showApplicationRestartRequired() const +void PreferencesDialog::showEvent(QShowEvent *event) { - ui->labelAppRestartIcon->show(); - ui->labelAppRestart->show(); + p->makeSettingsBackup(); + QDialog::showEvent(event); } -template -void PreferencesDialog::MapSettingToCheckBox(QCheckBox *checkBox, Func1 getter, Func2 setter, Func3 notifier) const +void PreferencesDialog::onCategoryChanged(const QModelIndex &index) { - // Get the value and set the checkbox state - checkBox->setChecked(std::bind(getter, settings)()); + if (!index.isValid()) return; + + const auto item = p->category.model->category(index.row()); + if (!item) return; - // Set up two way connection - connect(settings, notifier, checkBox, &QCheckBox::setChecked); - connect(checkBox, &QCheckBox::toggled, settings, setter); + p->content.title->setText(item->title()); + p->content.viewport->setWidget(item->contentView(p->settings.actual)); + p->content.viewport->widget()->setSizePolicy( + QSizePolicy::Expanding, QSizePolicy::Expanding + ); + p->content.viewport->setWidgetResizable(true); } -template -void PreferencesDialog::MapSettingToGroupBox(QGroupBox *groupBox, Func1 getter, Func2 setter, Func3 notifier) const +void PreferencesDialog::onOkClicked() { - // Get the value and set the checkbox state - groupBox->setChecked(std::bind(getter, settings)()); - - // Set up two way connection - connect(settings, notifier, groupBox, &QGroupBox::setChecked); - connect(groupBox, &QGroupBox::toggled, settings, setter); + accept(); } -void PreferencesDialog::populateTranslationComboBox() +void PreferencesDialog::onCancelClicked() { - NotepadNextApplication *app = qobject_cast(qApp); - - // Add the system default at the top - ui->comboBoxTranslation->addItem(tr(""), QStringLiteral("")); - - // TODO: sort this list and keep the system default at the top - for (const auto &localeName : app->getTranslationManager()->availableTranslations()) - { - QLocale locale(localeName); - const QString localeDisplay = TranslationManager::FormatLocaleTerritoryAndLanguage(locale); - ui->comboBoxTranslation->addItem(localeDisplay, localeName); + if (p->hasUnsavedChanges()) { + const auto reply = QMessageBox::question( + this, + tr("Unsaved Changes"), + tr("You have unsaved changes.\n" + "Do you want to save them before closing?"), + QMessageBox::Save + | QMessageBox::Discard + | QMessageBox::Cancel + ); + + switch (reply) + { + case QMessageBox::Cancel: + return; + case QMessageBox::Discard: + p->makeSettingsRestore(); + [[fallthrough]]; + default: + break; + } } - // Select the current one - int index = ui->comboBoxTranslation->findData(settings->translation()); - if (index != -1) { - ui->comboBoxTranslation->setCurrentIndex(index); - } + accept(); +} + +void PreferencesDialog::onResetClicked() +{ + p->makeSettingsReset(); } diff --git a/src/dialogs/PreferencesDialog.h b/src/dialogs/PreferencesDialog.h index 985a9b8b4..4090ea340 100644 --- a/src/dialogs/PreferencesDialog.h +++ b/src/dialogs/PreferencesDialog.h @@ -1,58 +1,30 @@ -/* - * This file is part of Notepad Next. - * Copyright 2019 Justin Dailey - * - * Notepad Next is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Notepad Next is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Notepad Next. If not, see . - */ - - #ifndef PREFERENCESDIALOG_H #define PREFERENCESDIALOG_H -#include "ApplicationSettings.h" - #include -#include -#include - -namespace Ui { -class PreferencesDialog; -} -class Settings; +class ApplicationSettings; class PreferencesDialog : public QDialog { Q_OBJECT - public: - PreferencesDialog(ApplicationSettings *settings, QWidget *parent = 0); - ~PreferencesDialog(); - - void showApplicationRestartRequired() const; + PreferencesDialog(ApplicationSettings *settings, QWidget *parent = nullptr); + virtual ~PreferencesDialog(); -private: - Ui::PreferencesDialog *ui; - ApplicationSettings *settings; +protected: + virtual void showEvent(QShowEvent *event) override; - template - void MapSettingToCheckBox(QCheckBox *checkBox, Func1 getter, Func2 setter, Func3 notifier) const; +private slots: + void onCategoryChanged(const QModelIndex &index); - template - void MapSettingToGroupBox(QGroupBox *groupBox, Func1 getter, Func2 setter, Func3 notifier) const; + void onOkClicked(); + void onCancelClicked(); + void onResetClicked(); - void populateTranslationComboBox(); +private: + struct PreferencesDialogPrivate; + PreferencesDialogPrivate *p; }; #endif // PREFERENCESDIALOG_H diff --git a/src/dialogs/PreferencesDialog.ui b/src/dialogs/PreferencesDialog.ui deleted file mode 100644 index 2d98c2230..000000000 --- a/src/dialogs/PreferencesDialog.ui +++ /dev/null @@ -1,342 +0,0 @@ - - - PreferencesDialog - - - - 0 - 0 - 803 - 597 - - - - Preferences - - - - - - true - - - - - 0 - -99 - 769 - 644 - - - - - - - - - Show menu bar - - - - - - - Show toolbar - - - - - - - Show status bar - - - - - - - Restore previous session - - - true - - - false - - - - - - Unsaved changes - - - - - - - Temporary files - - - - - - - - - - - - Recenter find/replace dialog when opened - - - - - - - Combine search results - - - - - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - - - - - - - - Translation: - - - - - - - - - Exit on last tab closed - - - - - - - - - Default Font - - - - - - Font - - - - - - - - - - Font Size - - - - - - - pt - - - 2 - - - 48 - - - - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - - - - Default Line Endings - - - - - - - - - - - - Highlight URLs - - - - - - - Show Line Numbers - - - - - - - Default Directory - - - - - - Follow Current Document - - - - - - - Last Used Directory - - - - - - - - - - - - - - - - - - - ... - - - - - - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - - - - - - TextLabel - - - - - - - - true - - - - An application restart is required to apply certain settings. - - - - - - - Qt::Horizontal - - - QDialogButtonBox::Ok - - - - - - - - - - - buttonBox - accepted() - PreferencesDialog - accept() - - - 792 - 586 - - - 157 - 274 - - - - - buttonBox - rejected() - PreferencesDialog - reject() - - - 792 - 586 - - - 286 - 274 - - - - - diff --git a/src/dialogs/PreferencesDialog2.cpp b/src/dialogs/PreferencesDialog2.cpp deleted file mode 100644 index 319bcd926..000000000 --- a/src/dialogs/PreferencesDialog2.cpp +++ /dev/null @@ -1,192 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "Preferences/PreferencesCategoryListModel.h" -#include "Preferences/PreferencesCategoryItemT.hpp" -#include "Preferences/BehaviorCategoryItem.h" -#include "PreferencesDialog2.h" - -namespace { - using ListModel = PreferencesCategoryListModel; - - inline QFont ContentTitleFont() noexcept - { - auto font = QApplication::font("QLabel"); - font.setPointSize(16); - font.setBold(true); - return font; - } -} - -struct PreferencesDialog2::PreferencesDialog2Private -{ -public: - inline bool hasUnsavedChanges() const { - return false/**settings.actual != *settings.copy*/; - } - inline void restoreSettings() { - // *settings.actual = *settings.copy; - } - -public: /* Logic */ - struct { - /// @brief Actual settings populated in-app. - ApplicationSettings *actual = nullptr; - /// @brief Settings copy on latest show event. - ApplicationSettings *copy = nullptr; - } settings; - -public: /* View */ - QGridLayout *mainLayout = nullptr; - - struct { - QListView *listView = nullptr; - ListModel *model = nullptr; - } category; - - struct { - QWidget *widget = nullptr; - QVBoxLayout *layout = nullptr; - - QLabel *title = nullptr; - QScrollArea *viewport = nullptr; - } content; - - QDialogButtonBox *controlsBox = nullptr; -}; - -PreferencesDialog2::PreferencesDialog2(ApplicationSettings *settings, QWidget *parent) - : QDialog(parent, Qt::Tool), - p(new PreferencesDialog2Private) -{ - p->settings.copy = new ApplicationSettings(this); - p->settings.actual = settings; - - // Category - p->category.listView = new QListView; - p->category.listView->setFixedWidth(180); - p->category.listView->setIconSize({ 20, 20 }); - - p->category.model = new ListModel(p->category.listView); - p->category.model->addCategory(new BehaviorCategoryItem); - p->category.model->addCategory(new BehaviorCategoryItem); - p->category.model->addCategory(new PreferencesCategoryItemT("Test", "://icons/findReplace.png")); - - p->category.listView->setModel(p->category.model); - - // Content - p->content.title = new QLabel(tr("Default title")); - p->content.title->setFont(ContentTitleFont()); - - p->content.viewport = new QScrollArea; - - p->content.widget = new QWidget; - p->content.widget->setSizePolicy( - QSizePolicy::Expanding, - QSizePolicy::Expanding - ); - - p->content.layout = new QVBoxLayout(p->content.widget); - p->content.layout->setContentsMargins(0, 0, 0, 0); - p->content.layout->addWidget(p->content.title); - p->content.layout->addWidget(p->content.viewport); - - // Controls - p->controlsBox = new QDialogButtonBox(Qt::Horizontal); - p->controlsBox->setStandardButtons( - QDialogButtonBox::RestoreDefaults - | QDialogButtonBox::Ok - | QDialogButtonBox::Cancel - ); - - // Main assembly - p->mainLayout = new QGridLayout(this); - p->mainLayout->addWidget(p->category.listView, 0, 0, 2, 1); - p->mainLayout->addWidget(p->content.widget, 0, 1); - p->mainLayout->addWidget(p->controlsBox, 1, 1); - - // SS-stuf - connect(p->category.listView->selectionModel(), &QItemSelectionModel::currentRowChanged, - this, &PreferencesDialog2::onCategoryChanged); - - connect(p->controlsBox, &QDialogButtonBox::clicked, - [this](QAbstractButton *button) { - switch (p->controlsBox->buttonRole(button)) - { - case QDialogButtonBox::ResetRole: onResetClicked(); break; - case QDialogButtonBox::AcceptRole: onOkClicked(); break; - case QDialogButtonBox::RejectRole: onCancelClicked(); break; - default: break; - } - } - ); - - // Force switch to first category - QMetaObject::invokeMethod(this, [this](){ - p->category.listView->setCurrentIndex(p->category.model->index(0)); - }, Qt::QueuedConnection); -} - -PreferencesDialog2::~PreferencesDialog2() -{ - delete p; -} - -void PreferencesDialog2::onCategoryChanged(const QModelIndex &index) -{ - if (!index.isValid()) return; - - const auto item = p->category.model->category(index.row()); - if (!item) return; - - p->content.title->setText(item->title()); - p->content.viewport->setWidget(item->view()); -} - -void PreferencesDialog2::onOkClicked() -{ - accept(); -} - -void PreferencesDialog2::onCancelClicked() -{ - if (p->hasUnsavedChanges()) { - const auto reply = QMessageBox::question( - this, - tr("Unsaved Changes"), - tr("You have unsaved changes.\n" - "Do you want to save them before closing?"), - QMessageBox::Save - | QMessageBox::Discard - | QMessageBox::Cancel - ); - - switch (reply) - { - case QMessageBox::Cancel: - return; - case QMessageBox::Discard: - p->restoreSettings(); - [[fallthrough]]; - default: - break; - } - } - - accept(); -} - -void PreferencesDialog2::onResetClicked() -{ - p->restoreSettings(); -} diff --git a/src/dialogs/PreferencesDialog2.h b/src/dialogs/PreferencesDialog2.h deleted file mode 100644 index 9084ac004..000000000 --- a/src/dialogs/PreferencesDialog2.h +++ /dev/null @@ -1,55 +0,0 @@ -#ifndef PREFERENCESDIALOG2_H -#define PREFERENCESDIALOG2_H - -#include - -#include -#include - -namespace dev { - class SettingsManager - { - public: - SettingsManager(ApplicationSettings* actual) - : mActual(actual) - { - - } - - void setPreviewMode(bool on) - { - if (on) - { - - } - } - - bool hasChanges() const; - - private: - ApplicationSettings* mActual = nullptr; - ApplicationSettings* mStaged = nullptr; - - }; -} - -class PreferencesDialog2 : public QDialog -{ - Q_OBJECT -public: - PreferencesDialog2(ApplicationSettings *settings, QWidget *parent = nullptr); - virtual ~PreferencesDialog2(); - -private slots: - void onCategoryChanged(const QModelIndex &index); - - void onOkClicked(); - void onCancelClicked(); - void onResetClicked(); - -private: - struct PreferencesDialog2Private; - PreferencesDialog2Private *p; -}; - -#endif // PREFERENCESDIALOG2_H diff --git a/src/icons/paintbrush.svg b/src/icons/paintbrush.svg new file mode 100644 index 000000000..078adf1da --- /dev/null +++ b/src/icons/paintbrush.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/resources.qrc b/src/resources.qrc index 72df95868..1b1192573 100644 --- a/src/resources.qrc +++ b/src/resources.qrc @@ -43,5 +43,6 @@ icons/folder_go.png icons/wrapindicator.png icons/audio-waveform.svg + icons/paintbrush.svg From dcb9c1a2d3632b6bf155a0c036598ae75f48dcae Mon Sep 17 00:00:00 2001 From: "O. Khryshchuk" Date: Fri, 24 Apr 2026 22:48:26 +0200 Subject: [PATCH 3/8] - small refactor before pull-request. --- .../Preferences/AppearanceCategoryItem.cpp | 27 ++++++++-------- .../Preferences/BehaviorCategoryItem.cpp | 31 ++++++++++--------- .../PreferencesCategoryListModel.h | 2 +- .../Preferences/PreferencesViewUtils.h | 2 +- src/dialogs/PreferencesDialog.cpp | 29 ++++++++--------- 5 files changed, 45 insertions(+), 46 deletions(-) diff --git a/src/dialogs/Preferences/AppearanceCategoryItem.cpp b/src/dialogs/Preferences/AppearanceCategoryItem.cpp index f9ce2ddff..b1cc85330 100644 --- a/src/dialogs/Preferences/AppearanceCategoryItem.cpp +++ b/src/dialogs/Preferences/AppearanceCategoryItem.cpp @@ -13,7 +13,7 @@ using namespace Preferences; namespace { - inline QGroupBox *WindowAppearanceGroup(ApplicationSettings *settings) + inline QGroupBox *WindowAppearanceView(ApplicationSettings *settings) { const auto group = new QGroupBox(QObject::tr("Window")); @@ -21,17 +21,17 @@ namespace layout->addWidget(CreateCheckBox( QObject::tr("Show menu bar"), settings, - POPULATE_PROPERTY_FUNCTIONS(showMenuBar, ShowMenuBar) + PREFERENCES_BIND_PROPERTY(showMenuBar, ShowMenuBar) )); layout->addWidget(CreateCheckBox( QObject::tr("Show toolbar"), settings, - POPULATE_PROPERTY_FUNCTIONS(showToolBar, ShowToolBar) + PREFERENCES_BIND_PROPERTY(showToolBar, ShowToolBar) )); layout->addWidget(CreateCheckBox( QObject::tr("Show status bar"), settings, - POPULATE_PROPERTY_FUNCTIONS(showStatusBar, ShowStatusBar) + PREFERENCES_BIND_PROPERTY(showStatusBar, ShowStatusBar) )); layout->setContentsMargins(MARGINS_6); layout->setSpacing(SPACING_6); @@ -39,12 +39,11 @@ namespace return group; } - inline QGroupBox *FontAppearanceGroup(ApplicationSettings *settings) + inline QGroupBox *FontAppearanceView(ApplicationSettings *settings) { const auto group = new QGroupBox(QObject::tr("Font")); const auto familyCombo = new QFontComboBox; - familyCombo->setCurrentFont(QFont(settings->fontName())); const auto sizeCombo = new QComboBox; sizeCombo->addItems({ @@ -53,7 +52,6 @@ namespace "20", "22", "24", "26", "28", "36", "48", "72" }); - sizeCombo->setCurrentText(QString("%1").arg(settings->fontSize())); sizeCombo->setValidator(new QIntValidator(4, 200, sizeCombo)); sizeCombo->setEditable(true); @@ -70,6 +68,9 @@ namespace layout->setContentsMargins(MARGINS_6); layout->setSpacing(3); + familyCombo->setCurrentFont(QFont(settings->fontName())); + sizeCombo->setCurrentText(QString("%1").arg(settings->fontSize())); + QObject::connect(familyCombo, &QFontComboBox::currentFontChanged, settings, [settings](const QFont &font) { settings->setFontName(font.family()); @@ -91,21 +92,21 @@ namespace return group; } - inline QGroupBox *EditorAppearanceGroup(ApplicationSettings *settings) + inline QGroupBox *EditorAppearanceView(ApplicationSettings *settings) { const auto group = new QGroupBox(QObject::tr("Editor")); const auto layout = new QVBoxLayout(group); - layout->addWidget(FontAppearanceGroup(settings)); + layout->addWidget(FontAppearanceView(settings)); layout->addWidget(CreateCheckBox( QObject::tr("Highlight URLs"), settings, - POPULATE_PROPERTY_FUNCTIONS(urlHighlighting, URLHighlighting) + PREFERENCES_BIND_PROPERTY(urlHighlighting, URLHighlighting) )); layout->addWidget(CreateCheckBox( QObject::tr("Show Line Numbers"), settings, - POPULATE_PROPERTY_FUNCTIONS(showLineNumbers, ShowLineNumbers) + PREFERENCES_BIND_PROPERTY(showLineNumbers, ShowLineNumbers) )); layout->setContentsMargins(MARGINS_6); layout->setSpacing(SPACING_6); @@ -119,8 +120,8 @@ QWidget *AppearanceCategoryItem::contentView(ApplicationSettings *settings) cons const auto widget = new QWidget; const auto layout = new QVBoxLayout(widget); - layout->addWidget(WindowAppearanceGroup(settings)); - layout->addWidget(EditorAppearanceGroup(settings)); + layout->addWidget(WindowAppearanceView(settings)); + layout->addWidget(EditorAppearanceView(settings)); layout->addStretch(1); layout->setContentsMargins(MARGINS_6); layout->setSpacing(SPACING_6); diff --git a/src/dialogs/Preferences/BehaviorCategoryItem.cpp b/src/dialogs/Preferences/BehaviorCategoryItem.cpp index 63d4ba29f..834c6ce45 100644 --- a/src/dialogs/Preferences/BehaviorCategoryItem.cpp +++ b/src/dialogs/Preferences/BehaviorCategoryItem.cpp @@ -62,14 +62,6 @@ namespace pathBrowseButton->setEnabled(state); }; - {// Load actual path - const auto selectedPath = QDir::toNativeSeparators(settings->defaultDirectory()); - if (!selectedPath.isEmpty()) - selectedPathEdit->setText(selectedPath); - else - selectedPathEdit->setText(QStandardPaths::writableLocation(QStandardPaths::HomeLocation)); - } - const auto selectedLayout = new QHBoxLayout; selectedLayout->addWidget(selectedRadio); selectedLayout->addWidget(selectedPathEdit, 1); @@ -83,6 +75,14 @@ namespace layout->setContentsMargins(MARGINS_6); layout->setSpacing(SPACING_6); + {// Load actual path + const auto selectedPath = QDir::toNativeSeparators(settings->defaultDirectory()); + if (!selectedPath.isEmpty()) + selectedPathEdit->setText(selectedPath); + else + selectedPathEdit->setText(QStandardPaths::writableLocation(QStandardPaths::HomeLocation)); + } + QObject::connect(selectedPathEdit, &QLineEdit::textChanged, settings, [selectedPathEdit, settings](const QString &text) { QFileInfo checkDir(text); @@ -147,7 +147,7 @@ namespace setPathInputEnabled(value == BehaviourEnum::HardCoded); }); - // Load current selection + // Load current selection AFTER QObject::connect's const auto checkableRadio = buttonGroup->button(settings->defaultDirectoryBehavior()); if (checkableRadio) checkableRadio->click(); @@ -158,22 +158,23 @@ namespace { const auto group = new QGroupBox(QObject::tr("Restore previous session")); group->setCheckable(true); - group->setChecked(settings->restorePreviousSession()); const auto layout = new QVBoxLayout(group); layout->addWidget(CreateCheckBox( QObject::tr("Unsaved changes"), settings, - POPULATE_PROPERTY_FUNCTIONS(restoreUnsavedFiles, RestoreUnsavedFiles) + PREFERENCES_BIND_PROPERTY(restoreUnsavedFiles, RestoreUnsavedFiles) )); layout->addWidget(CreateCheckBox( QObject::tr("Temporary files"), settings, - POPULATE_PROPERTY_FUNCTIONS(restoreTempFiles, RestoreTempFiles) + PREFERENCES_BIND_PROPERTY(restoreTempFiles, RestoreTempFiles) )); layout->setContentsMargins(MARGINS_6); layout->setSpacing(SPACING_6); + group->setChecked(settings->restorePreviousSession()); + QObject::connect(settings, &ApplicationSettings::restorePreviousSessionChanged, group, &QGroupBox::setChecked); QObject::connect(group, &QGroupBox::toggled, @@ -274,17 +275,17 @@ QWidget *BehaviorCategoryItem::contentView(ApplicationSettings *settings) const layout->addWidget(CreateCheckBox( QObject::tr("Recenter find/replace dialog when opened"), settings, - POPULATE_PROPERTY_FUNCTIONS(centerSearchDialog, CenterSearchDialog) + PREFERENCES_BIND_PROPERTY(centerSearchDialog, CenterSearchDialog) )); layout->addWidget(CreateCheckBox( QObject::tr("Combine search results"), settings, - POPULATE_PROPERTY_FUNCTIONS(combineSearchResults, CombineSearchResults) + PREFERENCES_BIND_PROPERTY(combineSearchResults, CombineSearchResults) )); layout->addWidget(CreateCheckBox( QObject::tr("Exit on last tab closed"), settings, - POPULATE_PROPERTY_FUNCTIONS(exitOnLastTabClosed, ExitOnLastTabClosed) + PREFERENCES_BIND_PROPERTY(exitOnLastTabClosed, ExitOnLastTabClosed) )); layout->addStretch(1); layout->setContentsMargins(MARGINS_6); diff --git a/src/dialogs/Preferences/PreferencesCategoryListModel.h b/src/dialogs/Preferences/PreferencesCategoryListModel.h index ee7c35a82..aab51889f 100644 --- a/src/dialogs/Preferences/PreferencesCategoryListModel.h +++ b/src/dialogs/Preferences/PreferencesCategoryListModel.h @@ -25,7 +25,7 @@ class PreferencesCategoryListModel : public QAbstractListModel */ void addCategory(PreferencesCategoryItem *category, int row = -1); void removeCategory(int row); - PreferencesCategoryItem* category(int row) const; + PreferencesCategoryItem *category(int row) const; private: std::vector> mItems; diff --git a/src/dialogs/Preferences/PreferencesViewUtils.h b/src/dialogs/Preferences/PreferencesViewUtils.h index d2dc6d663..7304eab16 100644 --- a/src/dialogs/Preferences/PreferencesViewUtils.h +++ b/src/dialogs/Preferences/PreferencesViewUtils.h @@ -13,7 +13,7 @@ #include -#define POPULATE_PROPERTY_FUNCTIONS(name, Name) \ +#define PREFERENCES_BIND_PROPERTY(name, Name) \ &ApplicationSettings::name, \ &ApplicationSettings::set##Name, \ &ApplicationSettings::name##Changed diff --git a/src/dialogs/PreferencesDialog.cpp b/src/dialogs/PreferencesDialog.cpp index d0468242e..84dfd1cf3 100644 --- a/src/dialogs/PreferencesDialog.cpp +++ b/src/dialogs/PreferencesDialog.cpp @@ -1,4 +1,6 @@ #include +#include +#include #include #include #include @@ -14,10 +16,9 @@ #include "Preferences/PreferencesCategoryListModel.h" #include "Preferences/AppearanceCategoryItem.h" #include "Preferences/BehaviorCategoryItem.h" -#include "Preferences/PreferencesViewUtils.h" #include "PreferencesDialog.h" -using namespace Preferences; +#include "ApplicationSettings.h" namespace { @@ -46,27 +47,22 @@ struct PreferencesDialog::PreferencesDialogPrivate } inline void makeSettingsReset() const { - const auto tempSettings = createTemporarySettings(nullptr); - if (tempSettings) - { - settings.actual->fillFrom(tempSettings); - delete tempSettings; - } + std::unique_ptr tempSettings(createTemporarySettings(nullptr)); + if (tempSettings) settings.actual->fillFrom(tempSettings.get()); } inline ApplicationSettings *createTemporarySettings(QObject *parent) const { - const auto tempFile = new QTemporaryFile; + auto tempFile = std::make_unique(); if (!tempFile->open()) { qWarning() << "Unable to create temporary file:" << tempFile->errorString(); - delete tempFile; return nullptr; } - return new ApplicationSettings(tempFile, parent); + return new ApplicationSettings(tempFile.release(), parent); } public: /* Logic */ @@ -147,7 +143,6 @@ PreferencesDialog::PreferencesDialog(ApplicationSettings *settings, QWidget *par p->mainLayout->addWidget(p->content.widget, 0, 1); p->mainLayout->addWidget(p->controlsBox, 1, 1); - // SS-stuf connect(p->category.listView->selectionModel(), &QItemSelectionModel::currentRowChanged, this, &PreferencesDialog::onCategoryChanged); @@ -155,10 +150,10 @@ PreferencesDialog::PreferencesDialog(ApplicationSettings *settings, QWidget *par this, [this](QAbstractButton *button) { switch (p->controlsBox->buttonRole(button)) { - case QDialogButtonBox::ResetRole: onResetClicked(); break; - case QDialogButtonBox::AcceptRole: onOkClicked(); break; - case QDialogButtonBox::RejectRole: onCancelClicked(); break; - default: break; + case QDialogButtonBox::ResetRole: onResetClicked(); break; + case QDialogButtonBox::AcceptRole: onOkClicked(); break; + case QDialogButtonBox::RejectRole: onCancelClicked(); break; + default: break; } }); @@ -196,6 +191,7 @@ void PreferencesDialog::onCategoryChanged(const QModelIndex &index) void PreferencesDialog::onOkClicked() { + p->settings.actual->sync(); accept(); } @@ -220,6 +216,7 @@ void PreferencesDialog::onCancelClicked() p->makeSettingsRestore(); [[fallthrough]]; default: + p->settings.actual->sync(); break; } } From 5c8201c3f843db2d8ca763d7fb5dec10cdb7b647 Mon Sep 17 00:00:00 2001 From: "O. Khryshchuk" Date: Mon, 4 May 2026 14:21:43 +0200 Subject: [PATCH 4/8] - added PreferencesDialog::closeEvent processing; - icons sizes adjustments. --- .../Preferences/AppearanceCategoryItem.cpp | 1 + .../Preferences/AppearanceCategoryItem.h | 2 +- .../Preferences/BehaviorCategoryItem.cpp | 4 +- .../Preferences/BehaviorCategoryItem.h | 2 +- .../Preferences/PreferencesCategoryItem.h | 2 +- .../Preferences/PreferencesCategoryItemT.h | 2 +- .../PreferencesCategoryListModel.cpp | 22 ++++--- .../Preferences/PreferencesViewUtils.h | 10 ++-- src/dialogs/PreferencesDialog.cpp | 59 +++++++++++-------- src/dialogs/PreferencesDialog.h | 1 + 10 files changed, 57 insertions(+), 48 deletions(-) diff --git a/src/dialogs/Preferences/AppearanceCategoryItem.cpp b/src/dialogs/Preferences/AppearanceCategoryItem.cpp index b1cc85330..14e57c23f 100644 --- a/src/dialogs/Preferences/AppearanceCategoryItem.cpp +++ b/src/dialogs/Preferences/AppearanceCategoryItem.cpp @@ -44,6 +44,7 @@ namespace const auto group = new QGroupBox(QObject::tr("Font")); const auto familyCombo = new QFontComboBox; + familyCombo->setMinimumWidth(120); const auto sizeCombo = new QComboBox; sizeCombo->addItems({ diff --git a/src/dialogs/Preferences/AppearanceCategoryItem.h b/src/dialogs/Preferences/AppearanceCategoryItem.h index 974e459c3..10dde6436 100644 --- a/src/dialogs/Preferences/AppearanceCategoryItem.h +++ b/src/dialogs/Preferences/AppearanceCategoryItem.h @@ -10,7 +10,7 @@ class AppearanceCategoryItem : public PreferencesCategoryItem virtual ~AppearanceCategoryItem() = default; virtual QString title() const override { return QObject::tr("Appearance"); } - virtual QString icon() const override { return "://icons/paintbrush.svg"; } + virtual QString iconPath() const override { return "://icons/paintbrush.svg"; } virtual QWidget *contentView(ApplicationSettings *settings) const override; }; diff --git a/src/dialogs/Preferences/BehaviorCategoryItem.cpp b/src/dialogs/Preferences/BehaviorCategoryItem.cpp index 834c6ce45..6428b438e 100644 --- a/src/dialogs/Preferences/BehaviorCategoryItem.cpp +++ b/src/dialogs/Preferences/BehaviorCategoryItem.cpp @@ -200,7 +200,6 @@ namespace wheelSuppressor->setupFor(languageCombo); const auto restartNotification = new RestartRequiredLabel; - restartNotification->setVisible(false); const auto layout = new QGridLayout; layout->addWidget(new QLabel(QObject::tr("Language:")), 0, 0); @@ -218,9 +217,8 @@ namespace setComboByData(settings->translation()); QObject::connect(languageCombo, QOverload::of(&QComboBox::currentIndexChanged), - settings, [settings, languageCombo, restartNotification](int index) { + settings, [settings, languageCombo](int index) { settings->setTranslation(languageCombo->itemData(index).toString()); - restartNotification->setVisible(true); }); QObject::connect(settings, &ApplicationSettings::translationChanged, languageCombo, setComboByData); diff --git a/src/dialogs/Preferences/BehaviorCategoryItem.h b/src/dialogs/Preferences/BehaviorCategoryItem.h index 2f764d246..3e9f6c10c 100644 --- a/src/dialogs/Preferences/BehaviorCategoryItem.h +++ b/src/dialogs/Preferences/BehaviorCategoryItem.h @@ -10,7 +10,7 @@ class BehaviorCategoryItem : public PreferencesCategoryItem virtual ~BehaviorCategoryItem() = default; virtual QString title() const override { return QObject::tr("Behavior"); } - virtual QString icon() const override { return "://icons/audio-waveform.svg"; } + virtual QString iconPath() const override { return "://icons/audio-waveform.svg"; } virtual QWidget *contentView(ApplicationSettings *settings) const override; }; diff --git a/src/dialogs/Preferences/PreferencesCategoryItem.h b/src/dialogs/Preferences/PreferencesCategoryItem.h index 69bcb839d..61bc5d777 100644 --- a/src/dialogs/Preferences/PreferencesCategoryItem.h +++ b/src/dialogs/Preferences/PreferencesCategoryItem.h @@ -12,7 +12,7 @@ class PreferencesCategoryItem virtual ~PreferencesCategoryItem() = default; virtual QString title() const = 0; - virtual QString icon() const = 0; + virtual QString iconPath() const = 0; /// @warning Caller becomes owner. virtual QWidget *contentView(ApplicationSettings *settings) const = 0; }; diff --git a/src/dialogs/Preferences/PreferencesCategoryItemT.h b/src/dialogs/Preferences/PreferencesCategoryItemT.h index 684cc00b8..60fc3a52e 100644 --- a/src/dialogs/Preferences/PreferencesCategoryItemT.h +++ b/src/dialogs/Preferences/PreferencesCategoryItemT.h @@ -13,7 +13,7 @@ class PreferencesCategoryItemT : public PreferencesCategoryItem virtual ~PreferencesCategoryItemT() = default; inline virtual QString title() const override { return mTitle; } - inline virtual QString icon() const override { return mIcon; } + inline virtual QString iconPath() const override { return mIcon; } inline virtual T *contentView(ApplicationSettings *settings) const override { return new T(settings); } diff --git a/src/dialogs/Preferences/PreferencesCategoryListModel.cpp b/src/dialogs/Preferences/PreferencesCategoryListModel.cpp index ec94e06f4..e63f87164 100644 --- a/src/dialogs/Preferences/PreferencesCategoryListModel.cpp +++ b/src/dialogs/Preferences/PreferencesCategoryListModel.cpp @@ -20,18 +20,16 @@ QVariant PreferencesCategoryListModel::data(const QModelIndex &index, int role) const auto &item = mItems.at(index.row()); - switch (role) { - case Qt::DisplayRole: - return item->title(); - - case Qt::DecorationRole: - return QIcon(item->icon()); - - case Qt::SizeHintRole: - return QSize(0, RowHeight); - - case Qt::TextAlignmentRole: - return Qt::AlignVCenter; + switch (role) + { + case Qt::DisplayRole: + return item->title(); + case Qt::DecorationRole: + return QIcon(item->iconPath()); + case Qt::SizeHintRole: + return QSize(0, RowHeight); + case Qt::TextAlignmentRole: + return Qt::AlignVCenter; } return {}; diff --git a/src/dialogs/Preferences/PreferencesViewUtils.h b/src/dialogs/Preferences/PreferencesViewUtils.h index 7304eab16..5810593bc 100644 --- a/src/dialogs/Preferences/PreferencesViewUtils.h +++ b/src/dialogs/Preferences/PreferencesViewUtils.h @@ -59,16 +59,18 @@ namespace Preferences { public: RestartRequiredLabel(QWidget *parent = nullptr) - : QWidget() + : QWidget(parent) { + const auto iconSize = qApp->style()->pixelMetric(QStyle::PM_SmallIconSize); + const auto icon = new QLabel; icon->setPixmap( qApp->style()->standardIcon( QStyle::SP_MessageBoxInformation - ).pixmap(14, 14) + ).pixmap(iconSize, iconSize) ); - mLabel = new QLabel(QObject::tr("Restart required to apply changes.")); + mLabel = new QLabel(QObject::tr("Application restart required to apply changes.")); mLabel->setWordWrap(true); auto infoFont = mLabel->font(); @@ -79,7 +81,7 @@ namespace Preferences const auto layout = new QHBoxLayout(this); layout->addWidget(icon, 0, Qt::AlignTop); layout->addWidget(mLabel, 1); - layout->setContentsMargins(9, 0, 3, 0); + layout->setContentsMargins(9, 0, 3, 6); layout->setSpacing(SPACING_3); } diff --git a/src/dialogs/PreferencesDialog.cpp b/src/dialogs/PreferencesDialog.cpp index 84dfd1cf3..43f01537b 100644 --- a/src/dialogs/PreferencesDialog.cpp +++ b/src/dialogs/PreferencesDialog.cpp @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include @@ -104,7 +105,6 @@ PreferencesDialog::PreferencesDialog(ApplicationSettings *settings, QWidget *par // Category p->category.listView = new QListView; p->category.listView->setFixedWidth(180); - p->category.listView->setIconSize({ 20, 20 }); p->category.model = new ListModel(p->category.listView); p->category.model->addCategory(new BehaviorCategoryItem); @@ -174,30 +174,10 @@ void PreferencesDialog::showEvent(QShowEvent *event) QDialog::showEvent(event); } -void PreferencesDialog::onCategoryChanged(const QModelIndex &index) +void PreferencesDialog::closeEvent(QCloseEvent *event) { - if (!index.isValid()) return; - - const auto item = p->category.model->category(index.row()); - if (!item) return; - - p->content.title->setText(item->title()); - p->content.viewport->setWidget(item->contentView(p->settings.actual)); - p->content.viewport->widget()->setSizePolicy( - QSizePolicy::Expanding, QSizePolicy::Expanding - ); - p->content.viewport->setWidgetResizable(true); -} - -void PreferencesDialog::onOkClicked() -{ - p->settings.actual->sync(); - accept(); -} - -void PreferencesDialog::onCancelClicked() -{ - if (p->hasUnsavedChanges()) { + if (p->hasUnsavedChanges()) + { const auto reply = QMessageBox::question( this, tr("Unsaved Changes"), @@ -211,19 +191,48 @@ void PreferencesDialog::onCancelClicked() switch (reply) { case QMessageBox::Cancel: + event->ignore(); return; case QMessageBox::Discard: p->makeSettingsRestore(); [[fallthrough]]; - default: + case QMessageBox::Save: p->settings.actual->sync(); break; + default: + break; } } + QDialog::closeEvent(event); +} + +void PreferencesDialog::onCategoryChanged(const QModelIndex &index) +{ + if (!index.isValid()) return; + + const auto item = p->category.model->category(index.row()); + if (!item) return; + + p->content.title->setText(item->title()); + p->content.viewport->setWidget(item->contentView(p->settings.actual)); + p->content.viewport->widget()->setSizePolicy( + QSizePolicy::Expanding, QSizePolicy::Expanding + ); + p->content.viewport->setWidgetResizable(true); +} + +void PreferencesDialog::onOkClicked() +{ + p->settings.actual->sync(); accept(); } +void PreferencesDialog::onCancelClicked() +{ + close(); +} + void PreferencesDialog::onResetClicked() { p->makeSettingsReset(); diff --git a/src/dialogs/PreferencesDialog.h b/src/dialogs/PreferencesDialog.h index 4090ea340..09b0c9926 100644 --- a/src/dialogs/PreferencesDialog.h +++ b/src/dialogs/PreferencesDialog.h @@ -14,6 +14,7 @@ class PreferencesDialog : public QDialog protected: virtual void showEvent(QShowEvent *event) override; + virtual void closeEvent(QCloseEvent *event) override; private slots: void onCategoryChanged(const QModelIndex &index); From 251a90ec1c795542f6067348ed4799037121d10a Mon Sep 17 00:00:00 2001 From: "O. Khryshchuk" Date: Tue, 5 May 2026 01:14:29 +0200 Subject: [PATCH 5/8] - fixed PreferencesDialog::closeEvent call at application closing resulting crash; - updated russian and ukrainian translations for preferences dialog. --- i18n/NotepadNext_ru.ts | 3542 ++++++++++------- i18n/NotepadNext_uk.ts | 3533 +++++++++------- .../Preferences/AppearanceCategoryItem.cpp | 4 +- .../Preferences/BehaviorCategoryItem.cpp | 4 +- src/dialogs/PreferencesDialog.cpp | 6 +- 5 files changed, 4296 insertions(+), 2793 deletions(-) diff --git a/i18n/NotepadNext_ru.ts b/i18n/NotepadNext_ru.ts index ac3a5d9dc..3965e8203 100644 --- a/i18n/NotepadNext_ru.ts +++ b/i18n/NotepadNext_ru.ts @@ -1,2299 +1,3055 @@ - - + + + AuthenticateDialog + + + Dialog + + + + + Please provide the user name and password for the download location. + + + + + &User name: + + + + + &Password: + + + + ColumnEditorDialog - - Column Mode - Режим столбцов + + Column Mode + Режим столбцов - - Text - Текст + + Text + Текст - - Numbers - Числа + + Numbers + Числа - - Start: - Начало: + + Start: + Начало: - - Step: - Шаг: + + Step: + Шаг: - - + + DebugLogDock - - Debug Log - Журнал отладки + + Debug Log + Журнал отладки + + + + Downloader + + + + Updater + + + + + + + Downloading updates + + + + + Time remaining: 0 minutes + + + + + Open + + + + + + Stop + + + + + + Time remaining + + + + + unknown + + + + + Error + + + + + Cannot find downloaded update! + + + + + Close + Закрыть + + + + Download complete! + + + + + The installer will open separately + + + + + Click "OK" to begin installing the update + + + + + In order to install the update, you may need to quit the application. + + + + + In order to install the update, you may need to quit the application. This is a mandatory update, exiting now will close the application. + - - + + + Click the "Open" button to apply the update + + + + + Are you sure you want to cancel the download? + + + + + Are you sure you want to cancel the download? This is a mandatory update, exiting now will close the application + + + + + + %1 bytes + + + + + + %1 KB + + + + + + %1 MB + + + + + of + + + + + Downloading Updates + + + + + Time Remaining + + + + + Unknown + + + + + about %1 hours + + + + + about one hour + + + + + %1 minutes + + + + + 1 minute + + + + + %1 seconds + + + + + 1 second + + + + EditorInfoStatusBar - - Length: %L1 Lines: %L2 - Длина: %L1 Строк: %L2 + + Length: %L1 Lines: %L2 + Длина: %L1 Строк: %L2 - - Sel: N/A - Выб: Н/Д + + Sel: N/A + Выб: Н/Д - - Sel: %L1 | %L2 - Выб: %L1 | %L2 + + Sel: %L1 | %L2 + Выб: %L1 | %L2 - - Ln: %L1 Col: %L2 - Стр: %L1 Стл: %L2 + + Ln: %L1 Col: %L2 + Стр: %L1 Стл: %L2 - - Macintosh (CR) - Macintosh (CR) + + Macintosh (CR) + Macintosh (CR) - - Windows (CR LF) - Windows (CR LF) + + Windows (CR LF) + Windows (CR LF) - - Unix (LF) - Unix (LF) + + Unix (LF) + Unix (LF) - - ANSI - ANSI + + ANSI + ANSI - - UTF-8 - UTF-8 + + UTF-8 + UTF-8 - - UTF-8 BOM - UTF-8 BOM + + UTF-8 BOM + UTF-8 BOM - - UTF-16LE BOM - UTF-16LE BOM + + UTF-16LE BOM + UTF-16LE BOM - - UTF-16BE BOM - UTF-16BE BOM + + UTF-16BE BOM + UTF-16BE BOM - - OVR - This is a short abbreviation to indicate characters will be replaced when typing - OVR + + OVR + This is a short abbreviation to indicate characters will be replaced when typing + OVR - - INS - This is a short abbreviation to indicate characters will be inserted when typing - INS + + INS + This is a short abbreviation to indicate characters will be inserted when typing + INS - - + + EditorInspectorDock - - Editor Inspector - Инспектор редактора + + Editor Inspector + Инспектор редактора - - Position Information - Информация о положении + + Position Information + Информация о положении - - Current Position - Текущее положение + + Current Position + Текущее положение - - Current Position (x, y) - Текущее положение (x, y) + + Current Position (x, y) + Текущее положение (x, y) - - Column - Столбец + + Column + Столбец - - Current Style - Текущий стиль + + Current Style + Текущий стиль - - Current Line - Текущая строка + + Current Line + Текущая строка - - Line Length - Длина строки + + Line Length + Длина строки - - Line End Position - Положение конца строки + + Line End Position + Положение конца строки - - Line Indentation - Отступ строки + + Line Indentation + Отступ строки - - Line Indent Position - Положение отступа строки + + Line Indent Position + Положение отступа строки - - Selection Information - Информация о выделении + + Selection Information + Информация о выделении - - Mode - Режим + + Mode + Режим - - Is Rectangle - Прямоугольник + + Is Rectangle + Прямоугольник - - Selection Empty - Выделение пусто + + Selection Empty + Выделение пусто - - Main Selection - Основное выделение + + Main Selection + Основное выделение - - # of Selections - # выделений + + # of Selections + # выделений - - Multiple Selections - Множественные выделения + + Multiple Selections + Множественные выделения - - Document Information - Информация о документе + + Document Information + Информация о документе - - Length - Длина + + Length + Длина - - Line Count - Количество строк + + Line Count + Количество строк - - View Information - Сведения об области просмотра + + View Information + Сведения об области просмотра - - Lines on Screen - Строк на экране + + Lines on Screen + Строк на экране - - First Visible Line - Первая видимая строка + + First Visible Line + Первая видимая строка - - X Offset - Смещение по X + + X Offset + Смещение по X - - Fold Information - Информация о сворачивании + + Fold Information + Информация о сворачивании - - Visible From Doc Line - Отображаемая от строки документа + + Visible From Doc Line + Отображаемая от строки документа - - Doc Line From Visible - Строка документа от отображаемой + + Doc Line From Visible + Строка документа от отображаемой - - Fold Level - Уровень вложенности + + Fold Level + Уровень вложенности - - Is Fold Header - Заголовок вложения + + Is Fold Header + Заголовок вложения - - Fold Parent - Родитель вложения + + Fold Parent + Родитель вложения - - Last Child - Последний дочерний + + Last Child + Последний дочерний - - Contracted Fold Next - Следующее свернутое вложение + + Contracted Fold Next + Следующее свернутое вложение - - Caret - Каретка + + Caret + Каретка - - Anchor - Якорь + + Anchor + Якорь - - Caret Virtual Space - Виртуальное пространство каретки + + Caret Virtual Space + Виртуальное пространство каретки - - Anchor Virtual Space - Виртуальное пространство якоря + + Anchor Virtual Space + Виртуальное пространство якоря - - + + FileList - - File List - Список файлов + + File List + Список файлов - - ... - ... + + ... + ... - - Sort by File Name - Sort by File Name + + Sort by File Name + Sort by File Name - - + + FindReplaceDialog - - - - Find - Поиск + + + + Find + Поиск - - Search Mode - Режим поиска + + Search Mode + Режим поиска - - &Normal - &Нормальный + + &Normal + &Нормальный - - E&xtended (\n, \r, \t, \0, \x...) - Р&асширенный (\n, \r, \t, \0, \x...) + + E&xtended (\n, \r, \t, \0, \x...) + Р&асширенный (\n, \r, \t, \0, \x...) - - Re&gular expression - &Регулярное выражение + + Re&gular expression + &Регулярное выражение - - &. matches newline - &. - новая строка + + &. matches newline + &. - новая строка - - Transparenc&y - Про&зрачность + + Transparenc&y + Про&зрачность - - On losing focus - При потере фокуса + + On losing focus + При потере фокуса - - Always - Всегда + + Always + Всегда - - Coun&t - &Подсчитать + + Coun&t + &Подсчитать - - &Replace - &Заменить + + &Replace + &Заменить - - Replace &All - Заменить &все + + Replace &All + Заменить &все - - Replace All in &Opened Documents - Заменить все во всех о&ткрытых документах + + Replace All in &Opened Documents + Заменить все во всех о&ткрытых документах - - Find All in All &Opened Documents - Найти все во всех откр&ытых документах + + Find All in All &Opened Documents + Найти все во всех откр&ытых документах - - Find All in Current Document - Найти все в текущем документе + + Find All in Current Document + Найти все в текущем документе - - Close - Закрыть + + Close + Закрыть - - &Find: - &Найти: + + &Find: + &Найти: - - Replace: - Заменить: + + Replace: + Заменить: - - Backward direction - Обратное направление поиска + + Backward direction + Обратное направление поиска - - Match &whole word only - Только целые &слова + + Match &whole word only + Только целые &слова - - Match &case - Учитывать &регистр + + Match &case + Учитывать &регистр - - Wra&p Around - За&циклить поиск + + Wra&p Around + За&циклить поиск - - Replace - Замена + + Replace + Замена - - - Replaced %Ln matches - - Заменено %Ln соответствие - Заменено %Ln соответствия - Заменено %Ln соответствий - Replaced %Ln matches - + + + Replaced %Ln matches + + Заменено %Ln соответствие + Заменено %Ln соответствия + Заменено %Ln соответствий + - - The end of the document has been reached. Found 1st occurrence from the top. - Достигнут конец документа. Обнаружено первое соответствие сверху. + + The end of the document has been reached. Found 1st occurrence from the top. + Достигнут конец документа. Обнаружено первое соответствие сверху. - - No matches found. - Не найдено соответствий. + + No matches found. + Не найдено соответствий. - - 1 occurrence was replaced - 1 совпадение заменено + + 1 occurrence was replaced + 1 совпадение заменено - - No more occurrences were found - Больше совпадений не обнаружено + + No more occurrences were found + Больше совпадений не обнаружено - - Found %Ln matches - - Найдено %Ln соответствие - Найдено %Ln соответствия - Найдено %Ln соответствий - Found %Ln matches - - - - + + Found %Ln matches + + Найдено %Ln соответствие + Найдено %Ln соответствия + Найдено %Ln соответствий + + + + FolderAsWorkspaceDock - - Folder as Workspace - Папка как Проект + + Folder as Workspace + Папка как Проект - - + + HexViewerDock - - Hex Viewer - Просмотр Hex + Hex Viewer + Просмотр Hex - - + + LanguageInspectorDock - - Language Inspector - Инспектор языка + + Language Inspector + Инспектор языка - - Language: - Язык: + + Language: + Язык: - - Lexer: - Лексер: + + Lexer: + Лексер: - - Properties: - Свойства: + + Properties: + Свойства: - - Property - Свойство + + Property + Свойство - - Type - Тип + + Type + Тип - - - Description - Описание + + + Description + Описание - - Value - Значение + + Value + Значение - - Keywords: - Ключевые слова: + + Keywords: + Ключевые слова: - - ID - ID + + ID + ID - - Styles: - Стили: + + Styles: + Стили: - - TextLabel - TextLabel + + TextLabel + TextLabel - - Position %1 Style %2 - Положение %1 Стиль %2 + + Position %1 Style %2 + Положение %1 Стиль %2 - - + + LuaConsoleDock - - Lua Console - Консоль Lua + + Lua Console + Консоль Lua - - + + MacroEditorDialog - - Macro Editor - Редактор макросов + + Macro Editor + Редактор макросов - - Name - Имя + + Name + Имя - - Shortcut - Комбинация клавиш + + Shortcut + Комбинация клавиш - - Steps: - Шаги: + + Steps: + Шаги: - - Insert Macro Step - Вставить шаг макроса + + Insert Macro Step + Вставить шаг макроса - - Delete Selected Macro Step - Удалить выбранный шаг макроса + + Delete Selected Macro Step + Удалить выбранный шаг макроса - - Move Selected Macro Step Up - Переместить выбранный шаг макроса вверх + + Move Selected Macro Step Up + Переместить выбранный шаг макроса вверх - - Move Selected Macro Step Down - Переместить выбранный шаг макроса вниз + + Move Selected Macro Step Down + Переместить выбранный шаг макроса вниз - - Copy Selected Macro - Копировать выбранный макрос + + Copy Selected Macro + Копировать выбранный макрос - - Delete Selected Macro - Удалить выбранный макрос + + Delete Selected Macro + Удалить выбранный макрос - - Delete Macro - Удалить макрос + + Delete Macro + Удалить макрос - - Are you sure you want to delete <b>%1</b>? - Вы действительно хотите удалить <b>%1</b>? + + Are you sure you want to delete <b>%1</b>? + Вы действительно хотите удалить <b>%1</b>? - - (Copy) - (копия) + + (Copy) + (копия) - - + + MacroRunDialog - - Run a Macro Multiple Times - Многократный запуск + + Run a Macro Multiple Times + Многократный запуск - - Macro: - Макрос: + + Macro: + Макрос: - - Run Until End of File - Выполнять до конца файла + + Run Until End of File + Выполнять до конца файла - - Execute... - Выполнить... + + Execute... + Выполнить... - - times - раз(а) + + times + раз(а) - - Run - Запускать + + Run + Запускать - - Cancel - Отмена + + Cancel + Отмена - - + + MacroSaveDialog - - Save Macro - Сохранение макроса + + Save Macro + Сохранение макроса - - Name: - Имя: + + Name: + Имя: - - Shortcut: - Комбинация клавиш: + + Shortcut: + Комбинация клавиш: - - OK - ОК + + OK + ОК - - Cancel - Отмена + + Cancel + Отмена - - + + MacroStepTableModel - - Name - Имя + + Name + Имя - - Text - Текст + + Text + Текст - - + + MainWindow - - Notepad Next[*] - Notepad Next[*] + + Notepad Next[*] + Notepad Next[*] + + + + + + + + + + + &File + &Файл + + + + Close More + Закрытие вкладок + + + + &Recent Files + &Последние файлы + + + + + Export As + Экспортировать как - - + - + + + &Edit + &Правка - - &File - &Файл + + Copy More + Копировать в буфер - - Close More - Закрытие вкладок + + Indent + Отступ - - &Recent Files - &Последние файлы + + EOL Conversion + Конвертация конца строк - - - Export As - Экспортировать как + + Convert Case + Конвертация регистра - - &Edit - &Правка + + Line Operations + Операции со строками - - Copy More - Копировать в буфер + + Comment/Uncomment + Комментирование - - Indent - Отступ + + Copy As + Копировать как - - EOL Conversion - Конвертация конца строк + + Encoding/Decoding + Кодирование/декодирование - - Convert Case - Конвертация регистра + + Search + Поиск - - Line Operations - Операции со строками + + Bookmarks + Закладки - - Comment/Uncomment - Комментирование + + Mark All Occurrences + Mark All Occurrences - - Copy As - Копировать как + + Clear Marks + Clear Marks - - Encoding/Decoding - Кодирование/декодирование + + &View + &Вид - - Search - Поиск + + &Zoom + &Масштаб - - Bookmarks - Закладки + + Show Symbol + Показать символ - - Mark All Occurrences - Mark All Occurrences + + Fold Level + Уровень вложенности - - Clear Marks - Clear Marks + + Unfold Level + Unfold Level - - &View - &Вид + + Language + Язык - - &Zoom - &Масштаб + + Settings + Опции - - Show Symbol - Показать символ + + Macro + Макросы - - Fold Level - Уровень вложенности + + Help + Справка - - Unfold Level - Unfold Level + + Encoding + Кодировка - - Language - Язык + + Main Tool Bar + Основная панель инструментов - - Settings - Опции + + &New + &Новый - - Macro - Макросы + + Create a new file + Создать новый файл - - Help - Справка + + Ctrl+N + Ctrl+N - - Encoding - Кодировка + + &Open... + &Открыть... - - Main Tool Bar - Основная панель инструментов + + Ctrl+O + Ctrl+O - - &New - &Новый + + &Save + &Сохранить - - Create a new file - Создать новый файл + + Save + Сохранить - - Ctrl+N - Ctrl+N + + Ctrl+S + Ctrl+S - - &Open... - &Открыть... + + E&xit + &Выход - - Ctrl+O - Ctrl+O + + &Undo + &Отмена - - &Save - &Сохранить + + Ctrl+Z + Ctrl+Z - - Save - Сохранить + + &Redo + &Повтор - - Ctrl+S - Ctrl+S + + Ctrl+Y + Ctrl+Y - - E&xit - &Выход + + Cu&t + В&ырезать - - &Undo - &Отмена + + Ctrl+X + Ctrl+X - - Ctrl+Z - Ctrl+Z + + &Copy + &Копировать - - &Redo - &Повтор + + Ctrl+C + Ctrl+C - - Ctrl+Y - Ctrl+Y + + &Paste + В&ставить - - Cu&t - В&ырезать + + Ctrl+V + Ctrl+V - - Ctrl+X - Ctrl+X + + &Delete + &Удалить - - &Copy - &Копировать + + Del + Del - - Ctrl+C - Ctrl+C + + Copy Full Path + Копировать полный путь - - &Paste - В&ставить + + Copy File Name + Копировать имя файла - - Ctrl+V - Ctrl+V + + Copy File Directory + Копировать путь к файлу - - &Delete - &Удалить + + &Close + &Закрыть - - Del - Del + + Close the current file + Закрыть текущий файл - - Copy Full Path - Копировать полный путь + + Ctrl+W + Ctrl+W - - Copy File Name - Копировать имя файла + + Save &As... + Сох&ранить как... - - Copy File Directory - Копировать путь к файлу + + Ctrl+Alt+S + Ctrl+Alt+S - - &Close - &Закрыть + + Save a Copy As... + Сохранить копию как... - - Close the current file - Закрыть текущий файл + + Sav&e All + Сохра&нить все - - Ctrl+W - Ctrl+W + + Ctrl+Shift+S + Ctrl+Shift+S - - Save &As... - Сох&ранить как... + + Select A&ll + Выделить &все - - Ctrl+Alt+S - Ctrl+Alt+S + + Ctrl+A + Ctrl+A - - Save a Copy As... - Сохранить копию как... + + Increase Indent + Увеличить отступ - - Sav&e All - Сохра&нить все + + Decrease Indent + Уменьшить отступ - - Ctrl+Shift+S - Ctrl+Shift+S + + Rename... + Переименовать... - - Select A&ll - Выделить &все + + Re&load + &Перезагрузить - - Ctrl+A - Ctrl+A + + Windows (CR LF) + Windows (CR LF) - - Increase Indent - Увеличить отступ + + Unix (LF) + Unix (LF) - - Decrease Indent - Уменьшить отступ + + Macintosh (CR) + Macintosh (CR) - - Rename... - Переименовать... + + UPPER CASE + ВЕРХНИЙ РЕГИСТР - - Re&load - &Перезагрузить + + Convert text to upper case + Конвертировать текст в верхний регистр - - Windows (CR LF) - Windows (CR LF) + + lower case + нижний регистр - - Unix (LF) - Unix (LF) + + Convert text to lower case + Конвертировать текст в нижний регистр - - Macintosh (CR) - Macintosh (CR) + + Duplicate Current Line + Дублировать текущую строку - - UPPER CASE - ВЕРХНИЙ РЕГИСТР + + Alt+Down + Alt+Down - - Convert text to upper case - Конвертировать текст в верхний регистр + + Split Lines + Разбить строки - - lower case - нижний регистр + + Join Lines + Объединить строки - - Convert text to lower case - Конвертировать текст в нижний регистр + + Ctrl+J + Ctrl+J - - Duplicate Current Line - Дублировать текущую строку + + Move Selected Lines Up + Переместить выбранные строки вверх - - Alt+Down - Alt+Down + + Ctrl+Shift+Up + Ctrl+Shift+Up - - Split Lines - Разбить строки + + Move Selected Lines Down + Переместить выбранные строки вниз - - Join Lines - Объединить строки + + Ctrl+Shift+Down + Ctrl+Shift+Down - - Ctrl+J - Ctrl+J + + Clos&e All + Зак&рыть все - - Move Selected Lines Up - Переместить выбранные строки вверх + + Close All files + Закрыть все файлы - - Ctrl+Shift+Up - Ctrl+Shift+Up + + Ctrl+Shift+W + Ctrl+Shift+W - - Move Selected Lines Down - Переместить выбранные строки вниз + + Close All Except Active Document + Закрыть все кроме текущей - - Ctrl+Shift+Down - Ctrl+Shift+Down + + Close All to the Left + Закрыть все вкладки слева - - Clos&e All - Зак&рыть все + + Close All to the Right + Закрыть все вкладки справа - - Close All files - Закрыть все файлы + + Zoom &In + У&величить масштаб - - Ctrl+Shift+W - Ctrl+Shift+W + + Ctrl++ + Ctrl++ - - Close All Except Active Document - Закрыть все кроме текущей + + Zoom &Out + &Уменьшить масштаб - - Close All to the Left - Закрыть все вкладки слева + + Ctrl+- + Ctrl+- - - Close All to the Right - Закрыть все вкладки справа + + Reset Zoom + Сбросить масштаб - - Zoom &In - У&величить масштаб + + Ctrl+0 + Ctrl+0 - - Ctrl++ - Ctrl++ + + About Qt + О Qt - - Zoom &Out - &Уменьшить масштаб + + About Notepad Next + О Notepad Next - - Ctrl+- - Ctrl+- + + Show Whitespace + Показывать пустое пространство - - Reset Zoom - Сбросить масштаб + + Show End of Line + Показывать символ конца строки - - Ctrl+0 - Ctrl+0 + + Show All Characters + Показывать все символы - - About Qt - О Qt + + Show Indent Guide + Показывать направляющие отступов - - About Notepad Next - О Notepad Next + + Show Wrap Symbol + Отображать знак Перенос строк - - Show Whitespace - Показывать пустое пространство + + Word Wrap + Перенос строк - - Show End of Line - Показывать символ конца строки + + Restore Recently Closed File + Открыть последний закрытый файл - - Show All Characters - Показывать все символы + + Ctrl+Shift+T + Ctrl+Shift+T - - Show Indent Guide - Показывать направляющие отступов + + Open All Recent Files + Открыть все недавние файлы - - Show Wrap Symbol - Отображать знак Перенос строк + + Clear Recent Files List + Очистить список недавних файлов - - Word Wrap - Перенос строк + + &Find... + &Найти... - - Restore Recently Closed File - Открыть последний закрытый файл + + Ctrl+F + Ctrl+F - - Ctrl+Shift+T - Ctrl+Shift+T + + Find in Files... + Найти в файлах... - - Open All Recent Files - Открыть все недавние файлы + + Find &Next + Искать &далее - - Clear Recent Files List - Очистить список недавних файлов + + F3 + F3 - - &Find... - &Найти... + + Find &Previous + Искать &ранее - - Ctrl+F - Ctrl+F + + Shift+F3 + - - Find in Files... - Найти в файлах... + + &Replace... + &Заменить... - - Find &Next - Искать &далее + + Ctrl+H + Ctrl+H - - F3 - F3 + + Full Screen + Полный экран - - Find &Previous - Искать &ранее + + F11 + F11 - - &Replace... - &Заменить... + + + Start Recording + Начать запись - - Ctrl+H - Ctrl+H + + Playback + Воспроизвести - - Full Screen - Полный экран + + Ctrl+Shift+P + Ctrl+Shift+ - - F11 - F11 + + Save Current Recorded Macro... + Сохранить записанный макрос... - - - Start Recording - Начать запись + + Run a Macro Multiple Times... + Многократный запуск... - - Playback - Воспроизвести + + Preferences... + Настройки... - - Ctrl+Shift+P - Ctrl+Shift+ + + Quick Find + Быстрый поиск - - Save Current Recorded Macro... - Сохранить записанный макрос... + + Ctrl+Alt+I + Ctrl+Alt+I - - Run a Macro Multiple Times... - Многократный запуск... + + Select Next Instance + Выделить следующий экземпляр - - Preferences... - Настройки... + + Ctrl+D + Ctrl+D - - Quick Find - Быстрый поиск + + Move to Trash... + Убрать в корзину... - - Ctrl+Alt+I - Ctrl+Alt+I + + Move to Trash + Убрать в корзину - - Select Next Instance - Выделить следующий экземпляр + + Check for Updates... + Проверить обновления... - - Ctrl+D - Ctrl+D + + &Go to Line... + &Перейти к строке... - - Move to Trash... - Убрать в корзину... + + Ctrl+G + Ctrl+G - - Move to Trash - Убрать в корзину + + Print... + Печать... - - Check for Updates... - Проверить обновления... + + Ctrl+P + Ctrl+P - - &Go to Line... - &Перейти к строке... + + Open Folder as Workspace... + Открыть папку как Проект... - - Ctrl+G - Ctrl+G + + Toggle Single Line Comment + Комментирование строки (включить/выключить) - - Print... - Печать... + + Ctrl+/ + Ctrl+/ - - Ctrl+P - Ctrl+P + + Single Line Comment + Комментировать строку - - Open Folder as Workspace... - Открыть папку как Проект... + + Ctrl+K + Ctrl+K - - Toggle Single Line Comment - Комментирование строки (включить/выключить) + + Single Line Uncomment + Раскомментировать строку - - Ctrl+/ - Ctrl+/ + + Ctrl+Shift+K + Ctrl+Shift+K - - Single Line Comment - Комментировать строку + + Edit Macros... + Редактирование макросов... - - Ctrl+K - Ctrl+K + + This is not currently implemented + Это еще не реализовано - - Single Line Uncomment - Раскомментировать строку + + Column Mode... + Режим столбцов... - - Ctrl+Shift+K - Ctrl+Shift+K + + Export as HTML... + Экспортировать как HTML... - - Edit Macros... - Редактирование макросов... + + Export as RTF... + Экспортировать как RTF... - - This is not currently implemented - Это еще не реализовано + + Copy as HTML + Копировать как HTML - - Column Mode... - Режим столбцов... + + Copy as RTF + Копировать как RTF - - Export as HTML... - Экспортировать как HTML... + + Base 64 Encode + Кодирование Base 64 - - Export as RTF... - Экспортировать как RTF... + + URL Encode + Кодирование URL - - Copy as HTML - Копировать как HTML + + Base 64 Decode + Декодирование Base 64 - - Copy as RTF - Копировать как RTF + + URL Decode + Декодирование URL - - Base 64 Encode - Кодирование Base 64 + + Copy URL + Копировать URL - - URL Encode - Кодирование URL + + Remove Empty Lines + Удалить пустые строки - - Base 64 Decode - Декодирование Base 64 + + + Show in Explorer + Открыть в Проводнике - - URL Decode - Декодирование URL + + Open %1 Here + Open %1 Here - - Copy URL - Копировать URL + + Toggle Bookmark + Закладка (поставить/снять) - - Remove Empty Lines - Удалить пустые строки + + Ctrl+F2 + Ctrl+F2 - - - Show in Explorer - Открыть в Проводнике + + Next Bookmark + Следующая закладка - - Open %1 Here - Open %1 Here + + F2 + F2 - - Toggle Bookmark - Закладка (поставить/снять) + + Previous Bookmark + Предыдущая закладка - - Ctrl+F2 - Ctrl+F2 + + Shift+F2 + Shift+F2 - - Next Bookmark - Следующая закладка + + Clear Bookmarks + Очистить закладки - - F2 - F2 + + Invert Bookmarks + Инвертировать закладки - - Previous Bookmark - Предыдущая закладка + + Next Tab + Следующая вкладка - - Shift+F2 - Shift+F2 + + Ctrl+Tab + Ctrl+Tab - - Clear Bookmarks - Очистить закладки + + Previous Tab + Предыдущая вкладка - - Invert Bookmarks - Инвертировать закладки + + Ctrl+Shift+Tab + Ctrl+Shift+Tab - - Next Tab - Next Tab + + Fold Level 1 + Свернуть первый уровень - - Ctrl+Tab - Ctrl+Tab + + Alt+1 + Alt+1 - - Previous Tab - Previous Tab + + Fold Level 2 + Свернуть второй уровень - - Ctrl+Shift+Tab - Ctrl+Shift+Tab + + Alt+2 + Alt+2 - - Fold Level 1 - Fold Level 1 + + Fold Level 3 + Свернуть третий уровень - - Alt+1 - Alt+1 + + Alt+3 + Alt+3 - - Fold Level 2 - Fold Level 2 + + Fold Level 4 + Свернуть четвёртый уровень - - Alt+2 - Alt+2 + + Alt+4 + Alt+4 - - Fold Level 3 - Fold Level 3 + + Unfold Level 1 + Развернуть первый уровень - - Alt+3 - Alt+3 + + Alt+Shift+1 + Alt+Shift+1 - - Fold Level 4 - Fold Level 4 + + Unfold Level 2 + Развернуть второй уровень - - Alt+4 - Alt+4 + + Alt+Shift+2 + Alt+Shift+2 - - Unfold Level 1 - Unfold Level 1 + + Unfold Level 3 + Развернуть третий уровень - - Alt+Shift+1 - Alt+Shift+1 + + Alt+Shift+3 + Alt+Shift+3 - - Unfold Level 2 - Unfold Level 2 + + Unfold Level 4 + Развернуть четвёртый уровень - - Alt+Shift+2 - Alt+Shift+2 + + Alt+Shift+4 + Alt+Shift+4 - - Unfold Level 3 - Unfold Level 3 + + Fold All + Свернуть все - - Alt+Shift+3 - Alt+Shift+3 + + Alt+0 + Alt+0 - - Unfold Level 4 - Unfold Level 4 + + Unfold All + Развернуть все - - Alt+Shift+4 - Alt+Shift+4 + + Alt+Shift+0 + Alt+Shift+0 - - Fold All - Fold All + + Fold Level 5 + Свернуть пятый уровень - - Alt+0 - Alt+0 + + Alt+5 + Alt+5 - - Unfold All - Unfold All + + Fold Level 6 + Свернуть шестой уровень - - Alt+Shift+0 - Alt+Shift+0 + + Alt+6 + Alt+6 - - Fold Level 5 - Fold Level 5 + + Fold Level 7 + Свернуть седьмой уровень - - Alt+5 - Alt+5 + + Alt+7 + Alt+7 - - Fold Level 6 - Fold Level 6 + + Fold Level 8 + Свернуть восьмой уровень - - Alt+6 - Alt+6 + + Alt+8 + Alt+8 - - Fold Level 7 - Fold Level 7 + + Fold Level 9 + Свернуть девятый уровень - - Alt+7 - Alt+7 + + Alt+9 + Alt+9 - - Fold Level 8 - Fold Level 8 + + Unfold Level 5 + Развернуть пятый уровень - - Alt+8 - Alt+8 + + Alt+Shift+5 + Alt+Shift+5 - - Fold Level 9 - Fold Level 9 + + Unfold Level 6 + Развернуть шестой уровень - - Alt+9 - Alt+9 + + Alt+Shift+6 + Alt+Shift+6 - - Unfold Level 5 - Unfold Level 5 + + Unfold Level 7 + Развернуть седьмой уровень - - Alt+Shift+5 - Alt+Shift+5 + + Alt+Shift+7 + Alt+Shift+7 - - Unfold Level 6 - Unfold Level 6 + + Unfold Level 8 + Развернуть восьмой уровень - - Alt+Shift+6 - Alt+Shift+6 + + Alt+Shift+8 + Alt+Shift+8 - - Unfold Level 7 - Unfold Level 7 + + Unfold Level 9 + Развернуть девятый уровень - - Alt+Shift+7 - Alt+Shift+7 + + Alt+Shift+9 + Alt+Shift+9 - - Unfold Level 8 - Unfold Level 8 + + + Toggle Overtype + Toggle Overtype - - Alt+Shift+8 - Alt+Shift+8 + + Ins + Ins - - Unfold Level 9 - Unfold Level 9 + + Debug Info... + Debug Info... - - Alt+Shift+9 - Alt+Shift+9 + + Cut Bookmarked Lines + Cut Bookmarked Lines - - - Toggle Overtype - Toggle Overtype + + Copy Bookmarked Lines + Copy Bookmarked Lines - - Ins - Ins + + Delete Bookmarked Lines + Delete Bookmarked Lines - - Debug Info... - Debug Info... + + Mark Style 1 + Mark Style 1 - - Cut Bookmarked Lines - Cut Bookmarked Lines + + Mark Style 2 + Mark Style 2 - - Copy Bookmarked Lines - Copy Bookmarked Lines + + Clear Style 1 + Clear Style 1 - - Delete Bookmarked Lines - Delete Bookmarked Lines + + Clear Style 2 + Clear Style 2 - - Mark Style 1 - Mark Style 1 + + Mark Style 3 + Mark Style 3 - - Mark Style 2 - Mark Style 2 + + Clear Style 3 + Clear Style 3 - - Clear Style 1 - Clear Style 1 + + + Clear All Styles + Clear All Styles - - Clear Style 2 - Clear Style 2 + + Remove Duplicate Lines + Remove Duplicate Lines - - Mark Style 3 - Mark Style 3 + + Remove Consecutive Duplicate Lines + Remove Consecutive Duplicate Lines - - Clear Style 3 - Clear Style 3 + + Sort Lines Ascending + - - - Clear All Styles - Clear All Styles + + Sort Lines Descending + - - Remove Duplicate Lines - Remove Duplicate Lines + + Sort Lines Ascending (Case-Insensitive) + - - Remove Consecutive Duplicate Lines - Remove Consecutive Duplicate Lines + + Sort Lines Descending (Case-Insensitive) + - - Go to line - Перейти к строке + + Sort Lines by Length Ascending + - - Line Number (1 - %1) - Номер строки (1 - %1) + + Sort Lines by Length Descending + - - Stop Recording - Остановить запись + + Reverse Line Order + - - Debug Info - Debug Info + + Go to line + Перейти к строке - - New %1 - Новый %1 + + Line Number (1 - %1) + Номер строки (1 - %1) - - Create File - Создать файл + + Stop Recording + Остановить запись - - <b>%1</b> does not exist. Do you want to create it? - <b>%1</b> не существует. Хотите создать его? + + Debug Info + Debug Info - - - Save file <b>%1</b>? - Сохранить файл <b>%1</b>? + + New %1 + Новый %1 - - - Save File - Сохранить файл + + Create File + Создать файл - - Open Folder as Workspace - Открыть папку как Проект + + <b>%1</b> does not exist. Do you want to create it? + <b>%1</b> не существует. Хотите создать его? - - - Reload File - Перезагрузить файл + + + Save file <b>%1</b>? + Сохранить файл <b>%1</b>? - - Are you sure you want to reload <b>%1</b>? Any unsaved changes will be lost. - Уверены, что хотите перезагрузить <b>%1</b>? Все несохраненные изменения будут потеряны. + + + Save File + Сохранить файл - - Save a Copy As - Сохранить копию как + + Open Folder as Workspace + Открыть папку как Проект - - - Rename - Переименовать + + + Reload File + Перезагрузить файл - - Name: - Имя: + + Are you sure you want to reload <b>%1</b>? Any unsaved changes will be lost. + Уверены, что хотите перезагрузить <b>%1</b>? Все несохраненные изменения будут потеряны. - - Delete File - Удалить файл + + Save a Copy As + Сохранить копию как - - Are you sure you want to move <b>%1</b> to the trash? - Вы действительно хотите переместить <b>%1</b> в корзину? + + + Rename + Переименовать - - Error Deleting File - Ошибка при удалении файла + + Name: + Имя: - - Something went wrong deleting <b>%1</b>? - Что-то пошло не так при удалении <b>%1</b>? + + Delete File + Удалить файл - - Administrator - Администратор + + Are you sure you want to move <b>%1</b> to the trash? + Вы действительно хотите переместить <b>%1</b> в корзину? - - <b>%1</b> has been modified by another program. Do you want to reload it? - <b>%1</b> has been modified by another program. Do you want to reload it? + + Error Deleting File + Ошибка при удалении файла - - Read error - Read error + + Something went wrong deleting <b>%1</b>? + Что-то пошло не так при удалении <b>%1</b>? - - Write error - Write error + + Administrator + Администратор - - Fatal error - Fatal error + + <b>%1</b> has been modified by another program. Do you want to reload it? + <b>%1</b> has been modified by another program. Do you want to reload it? - - Resource error - Resource error + + Read error + Read error - - Open error - Open error + + Write error + Write error - - Abort error - Abort error + + Fatal error + Fatal error - - Timeout error - Timeout error + + Resource error + Resource error - - Unspecified error - Unspecified error + + Open error + Open error - - Remove error - Remove error + + Abort error + Abort error - - Rename error - Rename error + + Timeout error + Timeout error - - Position error - Position error + + Unspecified error + Unspecified error - - Resize error - Resize error + + Remove error + Remove error - - Permissions error - Permissions error + + Rename error + Rename error - - Copy error - Copy error + + Position error + Position error - - Unknown error (%1) - Unknown error (%1) + + Resize error + Resize error - - Error Saving File - Ошибка при сохранении файла + + Permissions error + Permissions error - - An error occurred when saving <b>%1</b><br><br>Error: %2 - Произошла ошибка при сохранении <b>%1</b><br><br>Ошибка: %2 + + Copy error + Copy error - - Zoom: %1% - Масштаб: %1% + + Unknown error (%1) + Unknown error (%1) - - No updates are available at this time. - В настоящее время обновлений нет. + + Error Saving File + Ошибка при сохранении файла - - + + + An error occurred when saving <b>%1</b><br><br>Error: %2 + Произошла ошибка при сохранении <b>%1</b><br><br>Ошибка: %2 + + + + Zoom: %1% + Масштаб: %1% + + + + No updates are available at this time. + В настоящее время обновлений нет. + + + PreferencesDialog - - Preferences - Настройки + + Preferences + Настройки + + + + Unsaved сhanges + Несохраненные изменения + + + Default title + Название по-умолчанию + + + Unsaved Changes + Несохраненные изменения + + + + You have unsaved changes. +Do you want to save them before closing? + Сохранить внесенные правки? + + + Show menu bar + Показать строку меню + + + Show toolbar + Показать панель инструментов + + + Show status bar + Показать строку состояния + + + Restore previous session + Восстанавливать предыдущую сессию + + + Unsaved changes + Несохраненные изменения + + + Temporary files + Временные файлы + + + Recenter find/replace dialog when opened + Recenter find/replace dialog when opened + + + Combine search results + Комбинировать результаты поиска + + + Translation: + Перевод: + + + Exit on last tab closed + Exit on last tab closed + + + Default Font + Default Font + + + Font + Font + + + Font Size + Font Size + + + pt + pt + + + Default Line Endings + Default Line Endings + + + Highlight URLs + Highlight URLs + + + Show Line Numbers + Show Line Numbers + + + Default Directory + Default Directory + + + Follow Current Document + Follow Current Document + + + Last Used Directory + Last Used Directory + + + ... + ... + + + TextLabel + TextLabel + + + An application restart is required to apply certain settings. + Для применения определенных настроек требуется перезапуск приложения. + + + Warning + Предупреждение + + + This feature is experimental and it should not be considered safe for critically important work. It may lead to possible data loss. Use at your own risk. + Эта функция является экспериментальной, и ее не следует считать безопасной для критически важной работы. Это может привести к возможной потере данных. Используйте на свой риск. + + + System Default + System Default + + + Windows (CR LF) + Windows (CR LF) + + + Linux (LF) + Linux (LF) - - Show menu bar - Показать строку меню + Macintosh (CR) + Macintosh (CR) - - Show toolbar - Показать панель инструментов + <System Default> + <Использовать системный> + + + QObject - - Show status bar - Показать строку состояния + + List All Tabs + Показать перечень вкладок - - Restore previous session - Восстанавливать предыдущую сессию + + Detach Group + Отделить группу - - Unsaved changes - Несохраненные изменения + + Minimize + Свернуть - - Temporary files - Временные файлы + + Close Tab + Закрыть вкладку - - Recenter find/replace dialog when opened - Recenter find/replace dialog when opened + + Default directory + Каталог по-умолчанию - - Combine search results - Комбинировать результаты поиска + + Current document directory + Каталог активного документа - - Translation: - Перевод: + + Last used directory + Последний использованный каталог - - Exit on last tab closed - Exit on last tab closed + + Selected directory: + Выбранный каталог: - - Default Font - Default Font + + Selected directory path here... + Путь к выбранному каталогу... - - Font - Font + + Open directory select dialog + Открыть окно выбора каталога - - Font Size - Font Size + + Not exists + Не существует - - pt - pt + + Not a directory + Не каталог - - Default Line Endings - Default Line Endings + + No write access + Нет прав на запись - - Highlight URLs - Highlight URLs + + Please, use absolute path + Пожалуйста, используйте полный путь - - Show Line Numbers - Show Line Numbers + + Select default directory + Выбор каталога по-умолчанию - - - Default Directory - Default Directory + + Restore previous session + Восстанавливать предыдущую сессию - - Follow Current Document - Follow Current Document + + Unsaved changes + Несохраненные изменения - - Last Used Directory - Last Used Directory + + Temporary files + Временные файлы - - ... - ... + + Like in system + Как в системе - - TextLabel - TextLabel + + System default + Окончания строк + Системные - - An application restart is required to apply certain settings. - Для применения определенных настроек требуется перезапуск приложения. + <System> + <Системный> - - Warning - Предупреждение + <System default> + <Системные> - - This feature is experimental and it should not be considered safe for critically important work. It may lead to possible data loss. Use at your own risk. - Эта функция является экспериментальной, и ее не следует считать безопасной для критически важной работы. Это может привести к возможной потере данных. Используйте на свой риск. + <System Language> + <Системный> - - System Default - System Default + + Language: + Язык: - - Windows (CR LF) - Windows (CR LF) + System Default + Окончания строк + Системные - - Linux (LF) - Linux (LF) + + Windows (CR LF) + Windows (CR LF) - - Macintosh (CR) - Macintosh (CR) + + Unix (LF) + Unix (LF) - - <System Default> - <Использовать системный> + + Macintosh (CR) + Macintosh (CR) - - + + + Default line endings: + Окончания строк по-умолчанию: + + + + Recenter find/replace dialog when opened + Центрировать окно поиска/замены при открытии + + + + Combine search results + Комбинировать результаты поиска + + + + Exit on last tab closed + Выход после закрытия последней вкладки + + + + Behavior + Поведение + + + + Application restart required to apply changes. + Требуется перезапуск приложения. + + + Window + Главное окно + + + + Main window + Главное окно + + + + Show menu bar + Показать строку меню + + + + Show toolbar + Показать панель инструментов + + + + Show status bar + Показать строку состояния + + + + Font + Шрифт + + + + Family: + Семейство: + + + + Size: + Размер: + + + + Editor + Редактор + + + + Highlight URLs + Подсвечивать ссылки + + + + Show line numbers + Показывать номера строк + + + Show Line Numbers + Показывать номера строк + + + + Appearance + Внешний вид + + + QuickFindWidget - - Frame - Фрейм + + Frame + Фрейм - - Find... - Поиск... + + Find... + Поиск... - - Match case - Учитывать регистр + + Match case + Учитывать регистр - - Aa - Aa + + Aa + Aa - - Match whole word - Искать целые слова + + Match whole word + Искать целые слова - - |A| - |A| + + |A| + |A| - - Use regular expression - Используйте регулярное выражение + + Use regular expression + Используйте регулярное выражение - - . * - . * + + . * + . * - - Alt+E - Alt+E + + Alt+E + Alt+E - - %L1/%L2 - %L1/%L2 + + %L1/%L2 + %L1/%L2 - - + + SearchResultsDock - - Search Results - Результаты поиска + + Search Results + Результаты поиска + + + + Copy Results to Clipboard + Copy Results to Clipboard + + + + Collapse All + Свернуть все + + + + Expand All + Развернуть все + + + + Delete Entry + Удалить запись + + + + Delete All + Удалить все + + + + Updater + + + Would you like to download the update now? + + + + + Would you like to download the update now?<br />This is a mandatory update, exiting now will close the application. + + + + + <strong>Change log:</strong><br/>%1 + + + + + Version %1 of %2 has been released! + + + + + No updates are available for the moment + + + + + Congratulations! You are running the latest version of %1 + + + + + Window + + + QSimpleUpdater Example + + + + + <h1><i>QSimpleUpdater</i></h1> + + + + + <i>A simpler way to update your Qt applications...</i> + + + + + Updater Options + + + + + 0.1 + + + + + Write a version string... + + + + + Set installed version (latest version is 1.0) + + + + + Do not use the QSU library to read the appcast + + + + + Notify me when an update is available + + + + + Show all notifications + + + + + Enable integrated downloader + + + + + Mandatory Update + + + + + Changelog + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'.Lucida Grande UI'; font-size:13pt;">Click &quot;Check for Updates&quot; to update this field...</span></p></body></html> + + + + + Reset Fields + + + + + Close + Закрыть + + + + Check for Updates + + + + + ads::CAutoHideTab + + + Detach + + + + + Pin To... + + + + + Top + + + + + Left + + + + + Right + + + + + Bottom + + + + + Unpin (Dock) + + + + + Close + Закрыть + + + + ads::CDockAreaTitleBar + + + Detach + + + + + Detach Group + Отделить группу + + + + + Unpin (Dock) + + + + + + Pin Group + + + + + Pin Group To... + + + + + Top + + + + + Left + + + + + Right + + + + + Bottom + + + + + + Minimize + Свернуть + + + + + + Close + Закрыть + + + + + Close Group + + + + + Close Other Groups + + + + + Pin Active Tab (Press Ctrl to Pin Group) + + + + + Close Active Tab + + + + + ads::CDockManager + + + Show View + + + + + ads::CDockWidgetTab + + + Detach + + + + + Pin + + + + + Pin To... + + + + + Top + - - Copy Results to Clipboard - Copy Results to Clipboard + + Left + - - Collapse All - Свернуть все + + Right + - - Expand All - Развернуть все + + Bottom + - - Delete Entry - Удалить запись + + Close + Закрыть - - Delete All - Удалить все + + Close Others + - + diff --git a/i18n/NotepadNext_uk.ts b/i18n/NotepadNext_uk.ts index 415fdda89..6a997a10a 100644 --- a/i18n/NotepadNext_uk.ts +++ b/i18n/NotepadNext_uk.ts @@ -1,2299 +1,3046 @@ - - + + + AuthenticateDialog + + + Dialog + + + + + Please provide the user name and password for the download location. + + + + + &User name: + + + + + &Password: + + + + ColumnEditorDialog - - Column Mode - Створення стовпця + + Column Mode + Створення стовпця - - Text - Текст + + Text + Текст - - Numbers - Числа + + Numbers + Числа - - Start: - Початок: + + Start: + Початок: - - Step: - Крок: + + Step: + Крок: - - + + DebugLogDock - - Debug Log - Журнал налагодження + + Debug Log + Журнал налагодження + + + + Downloader + + + + Updater + + + + + + + Downloading updates + + + + + Time remaining: 0 minutes + + + + + Open + + + + + + Stop + + + + + + Time remaining + + + + + unknown + + + + + Error + + + + + Cannot find downloaded update! + + + + + Close + Закрити + + + + Download complete! + + + + + The installer will open separately + + + + + Click "OK" to begin installing the update + + + + + In order to install the update, you may need to quit the application. + + + + + In order to install the update, you may need to quit the application. This is a mandatory update, exiting now will close the application. + + + + + Click the "Open" button to apply the update + + + + + Are you sure you want to cancel the download? + + + + + Are you sure you want to cancel the download? This is a mandatory update, exiting now will close the application + + + + + + %1 bytes + + + + + + %1 KB + + + + + + %1 MB + + + + + of + + + + + Downloading Updates + + + + + Time Remaining + - - + + + Unknown + + + + + about %1 hours + + + + + about one hour + + + + + %1 minutes + + + + + 1 minute + + + + + %1 seconds + + + + + 1 second + + + + EditorInfoStatusBar - - Length: %L1 Lines: %L2 - Розмір: %L1 Рядків: %L2 + + Length: %L1 Lines: %L2 + Розмір: %L1 Рядків: %L2 - - Sel: N/A - Обрано: N/A + + Sel: N/A + Обрано: N/A - - Sel: %L1 | %L2 - Обрано: %L1 | %L2 + + Sel: %L1 | %L2 + Обрано: %L1 | %L2 - - Ln: %L1 Col: %L2 - Рядок: %L1 Стовпець: %L2 + + Ln: %L1 Col: %L2 + Рядок: %L1 Стовпець: %L2 - - Macintosh (CR) - Macintosh (CR) + + Macintosh (CR) + Macintosh (CR) - - Windows (CR LF) - Windows (CR LF) + + Windows (CR LF) + Windows (CR LF) - - Unix (LF) - Unix (LF) + + Unix (LF) + Unix (LF) - - ANSI - ANSI + + ANSI + ANSI - - UTF-8 - UTF-8 + + UTF-8 + UTF-8 - - UTF-8 BOM - UTF-8 BOM + + UTF-8 BOM + UTF-8 BOM - - UTF-16LE BOM - UTF-16LE BOM + + UTF-16LE BOM + UTF-16LE BOM - - UTF-16BE BOM - UTF-16BE BOM + + UTF-16BE BOM + UTF-16BE BOM - - OVR - This is a short abbreviation to indicate characters will be replaced when typing - OVR + + OVR + This is a short abbreviation to indicate characters will be replaced when typing + OVR - - INS - This is a short abbreviation to indicate characters will be inserted when typing - INS + + INS + This is a short abbreviation to indicate characters will be inserted when typing + INS - - + + EditorInspectorDock - - Editor Inspector - Аналізатор редактору + + Editor Inspector + Аналізатор редактору - - Position Information - Інформація про позицію + + Position Information + Інформація про позицію - - Current Position - Поточна позиція + + Current Position + Поточна позиція - - Current Position (x, y) - Поточна позиція (x, y) + + Current Position (x, y) + Поточна позиція (x, y) - - Column - Стовпець + + Column + Стовпець - - Current Style - Поточний стиль + + Current Style + Поточний стиль - - Current Line - Поточний рядок + + Current Line + Поточний рядок - - Line Length - Розмір рядка + + Line Length + Розмір рядка - - Line End Position - Позиція кінця рядка + + Line End Position + Позиція кінця рядка - - Line Indentation - Відступ рядка + + Line Indentation + Відступ рядка - - Line Indent Position - Позиція відступу рядка + + Line Indent Position + Позиція відступу рядка - - Selection Information - Інформація про виділення + + Selection Information + Інформація про виділення - - Mode - Режим + + Mode + Режим - - Is Rectangle - Прямокутне виділення ? + + Is Rectangle + Прямокутне виділення ? - - Selection Empty - Пусте виділення ? + + Selection Empty + Пусте виділення ? - - Main Selection - Головне виділення + + Main Selection + Головне виділення - - # of Selections - # виділень + + # of Selections + # виділень - - Multiple Selections - Множинне виділення + + Multiple Selections + Множинне виділення - - Document Information - Інформація про документ + + Document Information + Інформація про документ - - Length - Довжина + + Length + Довжина - - Line Count - Кількісь рядків + + Line Count + Кількісь рядків - - View Information - Інформація про видиму область + + View Information + Інформація про видиму область - - Lines on Screen - Макс. кількість рядків на екрані + + Lines on Screen + Макс. кількість рядків на екрані - - First Visible Line - Перший видимий рядок + + First Visible Line + Перший видимий рядок - - X Offset - Зміщення по осі Х + + X Offset + Зміщення по осі Х - - Fold Information - Інформація про блок + + Fold Information + Інформація про блок - - Visible From Doc Line - Visible From Doc Line + + Visible From Doc Line + Visible From Doc Line - - Doc Line From Visible - Doc Line From Visible + + Doc Line From Visible + Doc Line From Visible - - Fold Level - Рівень блоку + + Fold Level + Рівень блоку - - Is Fold Header - Початок блоку ? + + Is Fold Header + Початок блоку ? - - Fold Parent - Початок блоку + + Fold Parent + Початок блоку - - Last Child - Кінець блоку + + Last Child + Кінець блоку - - Contracted Fold Next - Contracted Fold Next + + Contracted Fold Next + Contracted Fold Next - - Caret - Каретка + + Caret + Каретка - - Anchor - Якір + + Anchor + Якір - - Caret Virtual Space - Віртуальний простір каретки + + Caret Virtual Space + Віртуальний простір каретки - - Anchor Virtual Space - Віртуальний простір якору + + Anchor Virtual Space + Віртуальний простір якору - - + + FileList - - File List - Список файлів + + File List + Список файлів - - ... - ... + + ... + ... - - Sort by File Name - Сортувати за іменем файлу + + Sort by File Name + Сортувати за іменем файлу - - + + FindReplaceDialog - - - - Find - Шукати + + + + Find + Шукати - - Search Mode - Режим пошуку + + Search Mode + Режим пошуку - - &Normal - З&а замовчуванням + + &Normal + З&а замовчуванням - - E&xtended (\n, \r, \t, \0, \x...) - Р&озширений(\n, \r, \t, \0, \x...) + + E&xtended (\n, \r, \t, \0, \x...) + Р&озширений(\n, \r, \t, \0, \x...) - - Re&gular expression - Р&егулярні вирази + + Re&gular expression + Р&егулярні вирази - - &. matches newline - &. - новий рядок + + &. matches newline + &. - новий рядок - - Transparenc&y - &Прозорість вікна + + Transparenc&y + &Прозорість вікна - - On losing focus - При втраті фокусу + + On losing focus + При втраті фокусу - - Always - Завжди + + Always + Завжди - - Coun&t - &Кількість + + Coun&t + &Кількість - - &Replace - &Замінити + + &Replace + &Замінити - - Replace &All - Замінити &всі + + Replace &All + Замінити &всі - - Replace All in &Opened Documents - За&мінити всі у відкритих документах + + Replace All in &Opened Documents + За&мінити всі у відкритих документах - - Find All in All &Opened Documents - З&найти всі у всіх відкритих документах + + Find All in All &Opened Documents + З&найти всі у всіх відкритих документах - - Find All in Current Document - Знайти всі у поточному документі + + Find All in Current Document + Знайти всі у поточному документі - - Close - Закрити + + Close + Закрити - - &Find: - &Шукати: + + &Find: + &Шукати: - - Replace: - Замінити: + + Replace: + Замінити: - - Backward direction - Зворотній напрям + + Backward direction + Зворотній напрям - - Match &whole word only - Ш&укати ціле слово + + Match &whole word only + Ш&укати ціле слово - - Match &case - Враховувати рег&істр + + Match &case + Враховувати рег&істр - - Wra&p Around - &Циклічний пошук + + Wra&p Around + &Циклічний пошук - - Replace - Замінити + + Replace + Замінити - - - Replaced %Ln matches - - Замінено %Ln співпадінь - Replaced %Ln matches - Replaced %Ln matches - Replaced %Ln matches - + + + Replaced %Ln matches + + Замінено %Ln співпадінь + Replaced %Ln matches + Replaced %Ln matches + - - The end of the document has been reached. Found 1st occurrence from the top. - Досягнуто кінець документу. Знайдено 1 збіг. + + The end of the document has been reached. Found 1st occurrence from the top. + Досягнуто кінець документу. Знайдено 1 збіг. - - No matches found. - Нічого не знайдено. + + No matches found. + Нічого не знайдено. - - 1 occurrence was replaced - Був замінений 1 збіг + + 1 occurrence was replaced + Був замінений 1 збіг - - No more occurrences were found - Більше збігів не знайдено + + No more occurrences were found + Більше збігів не знайдено - - Found %Ln matches - - Знайдено %Ln співпадінь - Found %Ln matches - Found %Ln matches - Found %Ln matches - - - - + + Found %Ln matches + + Знайдено %Ln співпадінь + Found %Ln matches + Found %Ln matches + + + + FolderAsWorkspaceDock - - Folder as Workspace - Каталог як робочий простір + + Folder as Workspace + Каталог як робочий простір - - + + HexViewerDock - - Hex Viewer - HEX-переглядач + Hex Viewer + HEX-переглядач - - + + LanguageInspectorDock - - Language Inspector - Аналізатор синтаксису + + Language Inspector + Аналізатор синтаксису - - Language: - Синтаксис: + + Language: + Синтаксис: - - Lexer: - Lexer: + + Lexer: + Lexer: - - Properties: - Властивості: + + Properties: + Властивості: - - Property - Властивість + + Property + Властивість - - Type - Тип + + Type + Тип - - - Description - Опис + + + Description + Опис - - Value - Значення + + Value + Значення - - Keywords: - Ключові слова: + + Keywords: + Ключові слова: - - ID - ID + + ID + ID - - Styles: - Стилі: + + Styles: + Стилі: - - TextLabel - Текстове поле + + TextLabel + Текстове поле - - Position %1 Style %2 - Позиція: %1 Стиль: %2 + + Position %1 Style %2 + Позиція: %1 Стиль: %2 - - + + LuaConsoleDock - - Lua Console - Консоль Lua + + Lua Console + Консоль Lua - - + + MacroEditorDialog - - Macro Editor - Редактор макросів + + Macro Editor + Редактор макросів - - Name - Назва + + Name + Назва - - Shortcut - Скорочення + + Shortcut + Скорочення - - Steps: - Операції: + + Steps: + Операції: - - Insert Macro Step - Вставити операцію + + Insert Macro Step + Вставити операцію - - Delete Selected Macro Step - Видалити операцію + + Delete Selected Macro Step + Видалити операцію - - Move Selected Macro Step Up - Перемістити операцію вгору + + Move Selected Macro Step Up + Перемістити операцію вгору - - Move Selected Macro Step Down - Перемістити операцію вниз + + Move Selected Macro Step Down + Перемістити операцію вниз - - Copy Selected Macro - Копіювати макрос + + Copy Selected Macro + Копіювати макрос - - Delete Selected Macro - Видалити макрос + + Delete Selected Macro + Видалити макрос - - Delete Macro - Видалити макрос + + Delete Macro + Видалити макрос - - Are you sure you want to delete <b>%1</b>? - Ви дійсно хочете видалити <b>%1</b>? + + Are you sure you want to delete <b>%1</b>? + Ви дійсно хочете видалити <b>%1</b>? - - (Copy) - (копіювати) + + (Copy) + (копіювати) - - + + MacroRunDialog - - Run a Macro Multiple Times - Багаторазове виконання макросу + + Run a Macro Multiple Times + Багаторазове виконання макросу - - Macro: - Макрос: + + Macro: + Макрос: - - Run Until End of File - Виконувати до кінця файлу + + Run Until End of File + Виконувати до кінця файлу - - Execute... - Виконати... + + Execute... + Виконати... - - times - разів + + times + разів - - Run - Виконати + + Run + Виконати - - Cancel - Скасувати + + Cancel + Скасувати - - + + MacroSaveDialog - - Save Macro - Збереження макросу + + Save Macro + Збереження макросу - - Name: - Назва: + + Name: + Назва: - - Shortcut: - Скорочення: + + Shortcut: + Скорочення: - - OK - OK + + OK + OK - - Cancel - Скасувати + + Cancel + Скасувати - - + + MacroStepTableModel - - Name - Назва + + Name + Назва - - Text - Текст + + Text + Текст - - + + MainWindow - - Notepad Next[*] - Notepad Next[*] + + Notepad Next[*] + Notepad Next[*] + + + + + + + + + + + &File + &Файл - - + - + + + Close More + Закрити - - &File - &Файл + + &Recent Files + &Останні файли - - Close More - Закрити + + + Export As + Експортувати як - - &Recent Files - &Останні файли + + &Edit + &Редагування - - - Export As - Експортувати як + + Copy More + Копіювати - - &Edit - &Редагування + + Indent + Відступ - - Copy More - Копіювати + + EOL Conversion + Перетворення символу кінця рядку (EOL) - - Indent - Відступ + + Convert Case + Змінити регістр - - EOL Conversion - Перетворення символу кінця рядку (EOL) + + Line Operations + Операції з рядками - - Convert Case - Змінити регістр + + Comment/Uncomment + Закоментувати/розкоментувати - - Line Operations - Операції з рядками + + Copy As + Копіювати як - - Comment/Uncomment - Закоментувати/розкоментувати + + Encoding/Decoding + Зашифрувати/Розшифрувати - - Copy As - Копіювати як + + Search + По&шук - - Encoding/Decoding - Зашифрувати/Розшифрувати + + Bookmarks + Закладки - - Search - По&шук + + Mark All Occurrences + Позначити всі збіги - - Bookmarks - Закладки + + Clear Marks + Очистити позначки - - Mark All Occurrences - Позначити всі збіги + + &View + &Вид - - Clear Marks - Очистити позначки + + &Zoom + &Масштаб - - &View - &Вид + + Show Symbol + Показувати символи - - &Zoom - &Масштаб + + Fold Level + Згорнути рівень - - Show Symbol - Показувати символи + + Unfold Level + Розгорнути рівень - - Fold Level - Згорнути рівень + + Language + &Синтаксис - - Unfold Level - Розгорнути рівень + + Settings + &Параметри - - Language - &Синтаксис + + Macro + &Макрос - - Settings - &Параметри + + Help + &Довідка - - Macro - &Макрос + + Encoding + Набір символів - - Help - &Довідка + + Main Tool Bar + Головна панель інструментів - - Encoding - Набір символів + + &New + &Новий - - Main Tool Bar - Головна панель інструментів + + Create a new file + Створити новий файл - - &New - &Новий + + Ctrl+N + Ctrl+N - - Create a new file - Створити новий файл + + &Open... + &Відкрити... - - Ctrl+N - Ctrl+N + + Ctrl+O + Ctrl+O - - &Open... - &Відкрити... + + &Save + &Зберегти - - Ctrl+O - Ctrl+O + + Save + Зберегти - - &Save - &Зберегти + + Ctrl+S + Ctrl+S - - Save - Зберегти + + E&xit + Ви&йти - - Ctrl+S - Ctrl+S + + &Undo + &Відмінити операцію - - E&xit - Ви&йти + + Ctrl+Z + Ctrl+Z - - &Undo - &Відмінити операцію + + &Redo + &Повторити операцію - - Ctrl+Z - Ctrl+Z + + Ctrl+Y + Ctrl+Y - - &Redo - &Повторити операцію + + Cu&t + В&ирізати - - Ctrl+Y - Ctrl+Y + + Ctrl+X + Ctrl+X - - Cu&t - В&ирізати + + &Copy + &Копіювати - - Ctrl+X - Ctrl+X + + Ctrl+C + Ctrl+C - - &Copy - &Копіювати + + &Paste + В&ставити - - Ctrl+C - Ctrl+C + + Ctrl+V + Ctrl+V - - &Paste - В&ставити + + &Delete + Ви&далити - - Ctrl+V - Ctrl+V + + Del + Del - - &Delete - Ви&далити + + Copy Full Path + Копіювати повний шлях - - Del - Del + + Copy File Name + Копіювати назву файлу - - Copy Full Path - Копіювати повний шлях + + Copy File Directory + Копіювати назву каталогу - - Copy File Name - Копіювати назву файлу + + &Close + За&крити - - Copy File Directory - Копіювати назву каталогу + + Close the current file + Закрити поточний файл - - &Close - За&крити + + Ctrl+W + Ctrl+W - - Close the current file - Закрити поточний файл + + Save &As... + З&берегти як... - - Ctrl+W - Ctrl+W + + Ctrl+Alt+S + Ctrl+Alt+S - - Save &As... - З&берегти як... + + Save a Copy As... + Зберегти копію як... - - Ctrl+Alt+S - Ctrl+Alt+S + + Sav&e All + Зб&ерегти все - - Save a Copy As... - Зберегти копію як... + + Ctrl+Shift+S + Ctrl+Shift+S - - Sav&e All - Зб&ерегти все + + Select A&ll + &Обрати всі - - Ctrl+Shift+S - Ctrl+Shift+S + + Ctrl+A + Ctrl+A - - Select A&ll - &Обрати всі + + Increase Indent + Збільшити відступ - - Ctrl+A - Ctrl+A + + Decrease Indent + Зменшити відступ - - Increase Indent - Збільшити відступ + + Rename... + Перейменувати... - - Decrease Indent - Зменшити відступ + + Re&load + &Перезавантажити - - Rename... - Перейменувати... + + Windows (CR LF) + Windows (CR LF) - - Re&load - &Перезавантажити + + Unix (LF) + Unix (LF) - - Windows (CR LF) - Windows (CR LF) + + Macintosh (CR) + Macintosh (CR) - - Unix (LF) - Unix (LF) + + UPPER CASE + ВЕРХНІЙ РЕГІСТР - - Macintosh (CR) - Macintosh (CR) + + Convert text to upper case + Перетворити в ВЕРХНІЙ РЕГІСТР - - UPPER CASE - ВЕРХНІЙ РЕГІСТР + + lower case + нижній регістр - - Convert text to upper case - Перетворити в ВЕРХНІЙ РЕГІСТР + + Convert text to lower case + Перетворити в нижній регістр - - lower case - нижній регістр + + Duplicate Current Line + Дублювати поточний рядок - - Convert text to lower case - Перетворити в нижній регістр + + Alt+Down + Alt+Down - - Duplicate Current Line - Дублювати поточний рядок + + Split Lines + Розділити рядки - - Alt+Down - Alt+Down + + Join Lines + Об'єднати рядки - - Split Lines - Розділити рядки + + Ctrl+J + Ctrl+J - - Join Lines - Об'єднати рядки + + Move Selected Lines Up + Перемістити поточний рядок вверх - - Ctrl+J - Ctrl+J + + Ctrl+Shift+Up + Ctrl+Shift+Up - - Move Selected Lines Up - Перемістити поточний рядок вверх + + Move Selected Lines Down + Перемістити поточний рядок вниз - - Ctrl+Shift+Up - Ctrl+Shift+Up + + Ctrl+Shift+Down + Ctrl+Shift+Down - - Move Selected Lines Down - Перемістити поточний рядок вниз + + Clos&e All + Зак&рити все - - Ctrl+Shift+Down - Ctrl+Shift+Down + + Close All files + Закрити всі файли - - Clos&e All - Зак&рити все + + Ctrl+Shift+W + Ctrl+Shift+W - - Close All files - Закрити всі файли + + Close All Except Active Document + Закрити всі документи окрім поточного - - Ctrl+Shift+W - Ctrl+Shift+W + + Close All to the Left + Закрити всі ліворуч - - Close All Except Active Document - Закрити всі документи окрім поточного + + Close All to the Right + Закрити всі праворуч - - Close All to the Left - Закрити всі ліворуч + + Zoom &In + Ма&сштаб + - - Close All to the Right - Закрити всі праворуч + + Ctrl++ + Ctrl++ - - Zoom &In - Ма&сштаб + + + Zoom &Out + &Масштаб - - - Ctrl++ - Ctrl++ + + Ctrl+- + Ctrl+- - - Zoom &Out - &Масштаб - + + Reset Zoom + Масштаб за замовчуванням - - Ctrl+- - Ctrl+- + + Ctrl+0 + Ctrl+0 - - Reset Zoom - Масштаб за замовчуванням + + About Qt + Про Qt - - Ctrl+0 - Ctrl+0 + + About Notepad Next + Про Notepad Next - - About Qt - Про Qt + + Show Whitespace + Показувати пробіл - - About Notepad Next - Про Notepad Next + + Show End of Line + Показувати кінець рядку - - Show Whitespace - Показувати пробіл + + Show All Characters + Показувати всі символи - - Show End of Line - Показувати кінець рядку + + Show Indent Guide + Показувати лінії відступу - - Show All Characters - Показувати всі символи + + Show Wrap Symbol + Показувати символ переносу - - Show Indent Guide - Показувати лінії відступу + + Word Wrap + Перенесення слів - - Show Wrap Symbol - Показувати символ переносу + + Restore Recently Closed File + Відновити щойно закритий файл - - Word Wrap - Перенесення слів + + Ctrl+Shift+T + Ctrl+Shift+T - - Restore Recently Closed File - Відновити щойно закритий файл + + Open All Recent Files + Відкрити ві нещодавні файли - - Ctrl+Shift+T - Ctrl+Shift+T + + Clear Recent Files List + Очистити список нещодавніх файлів - - Open All Recent Files - Відкрити ві нещодавні файли + + &Find... + &Знайти... - - Clear Recent Files List - Очистити список нещодавніх файлів + + Ctrl+F + Ctrl+F - - &Find... - &Знайти... + + Find in Files... + Знайти в файлах... - - Ctrl+F - Ctrl+F + + Find &Next + Знайти &наступний - - Find in Files... - Знайти в файлах... + + F3 + F3 - - Find &Next - Знайти &наступний + + Find &Previous + Знайти &попередній - - F3 - F3 + + Shift+F3 + - - Find &Previous - Знайти &попередній + + &Replace... + З&амінити... - - &Replace... - З&амінити... + + Ctrl+H + Ctrl+H - - Ctrl+H - Ctrl+H + + Full Screen + Повноекранний режим - - Full Screen - Повноекранний режим + + F11 + F11 - - F11 - F11 + + + Start Recording + Почати запис - - - Start Recording - Почати запис + + Playback + Виконати - - Playback - Виконати + + Ctrl+Shift+P + Ctrl+Shift+P - - Ctrl+Shift+P - Ctrl+Shift+P + + Save Current Recorded Macro... + Зберегти щойно записаний макрос... - - Save Current Recorded Macro... - Зберегти щойно записаний макрос... + + Run a Macro Multiple Times... + Виконати макрос багато разів... - - Run a Macro Multiple Times... - Виконати макрос багато разів... + + Preferences... + Налаштування... - - Preferences... - Налаштування... + + Quick Find + Швидкий пошук - - Quick Find - Швидкий пошук + + Ctrl+Alt+I + Ctrl+Alt+I - - Ctrl+Alt+I - Ctrl+Alt+I + + Select Next Instance + Виділити схожі вирази - - Select Next Instance - Виділити схожі вирази + + Ctrl+D + Ctrl+D - - Ctrl+D - Ctrl+D + + Move to Trash... + Перемістити до смітника... - - Move to Trash... - Перемістити до смітника... + + Move to Trash + Перемістити до смітника - - Move to Trash - Перемістити до смітника + + Check for Updates... + Перевірити оновлення... - - Check for Updates... - Перевірити оновлення... + + &Go to Line... + П&ерейти до рядку... - - &Go to Line... - П&ерейти до рядку... + + Ctrl+G + Ctrl+G - - Ctrl+G - Ctrl+G + + Print... + Друк... - - Print... - Друк... + + Ctrl+P + Ctrl+P - - Ctrl+P - Ctrl+P + + Open Folder as Workspace... + Відкрити каталог як робочий простір... - - Open Folder as Workspace... - Відкрити каталог як робочий простір... + + Toggle Single Line Comment + Однорядковий коментар - - Toggle Single Line Comment - Однорядковий коментар + + Ctrl+/ + Ctrl+/ - - Ctrl+/ - Ctrl+/ + + Single Line Comment + Закоментувати один рядок - - Single Line Comment - Закоментувати один рядок + + Ctrl+K + Ctrl+K - - Ctrl+K - Ctrl+K + + Single Line Uncomment + Розкоментувати один рядок - - Single Line Uncomment - Розкоментувати один рядок + + Ctrl+Shift+K + Ctrl+Shift+K - - Ctrl+Shift+K - Ctrl+Shift+K + + Edit Macros... + Редагувати макрос... - - Edit Macros... - Редагувати макрос... + + This is not currently implemented + Ця можливість ще не реалізована - - This is not currently implemented - Ця можливість ще не реалізована + + Column Mode... + Створити стовпець... - - Column Mode... - Створити стовпець... + + Export as HTML... + Експортувати як HTML... - - Export as HTML... - Експортувати як HTML... + + Export as RTF... + Експортувати як RTF... - - Export as RTF... - Експортувати як RTF... + + Copy as HTML + Копіювати як HTML - - Copy as HTML - Копіювати як HTML + + Copy as RTF + Копіювати як RTF - - Copy as RTF - Копіювати як RTF + + Base 64 Encode + Зашифрувати Base 64 - - Base 64 Encode - Зашифрувати Base 64 + + URL Encode + Зашифрувати URL - - URL Encode - Зашифрувати URL + + Base 64 Decode + Розшифрувати Base 64 - - Base 64 Decode - Розшифрувати Base 64 + + URL Decode + Розшифрувати URL - - URL Decode - Розшифрувати URL + + Copy URL + Копіювати URL - - Copy URL - Копіювати URL + + Remove Empty Lines + Видалити пусті рядки - - Remove Empty Lines - Видалити пусті рядки + + + Show in Explorer + Показати в файловому менеджері - - - Show in Explorer - Показати в файловому менеджері + + Open %1 Here + Відкрити %1 тут - - Open %1 Here - Відкрити %1 тут + + Toggle Bookmark + Додати/видалити закладку - - Toggle Bookmark - Додати/видалити закладку + + Ctrl+F2 + Ctrl+F2 - - Ctrl+F2 - Ctrl+F2 + + Next Bookmark + Наступна закладка - - Next Bookmark - Наступна закладка + + F2 + F2 - - F2 - F2 + + Previous Bookmark + Попередня закладка - - Previous Bookmark - Попередня закладка + + Shift+F2 + Shift+F2 - - Shift+F2 - Shift+F2 + + Clear Bookmarks + Очистити закладки - - Clear Bookmarks - Очистити закладки + + Invert Bookmarks + Інвертувати закладки - - Invert Bookmarks - Інвертувати закладки + + Next Tab + Наступна вкладка - - Next Tab - Наступна вкладка + + Ctrl+Tab + Ctrl+Tab - - Ctrl+Tab - Ctrl+Tab + + Previous Tab + Попередня вкладка - - Previous Tab - Попередня вкладка + + Ctrl+Shift+Tab + Ctrl+Shift+Tab - - Ctrl+Shift+Tab - Ctrl+Shift+Tab + + Fold Level 1 + Згорнути рівень 1 - - Fold Level 1 - Згорнути рівень 1 + + Alt+1 + Alt+1 - - Alt+1 - Alt+1 + + Fold Level 2 + Згорнути рівень 2 - - Fold Level 2 - Згорнути рівень 2 + + Alt+2 + Alt+2 - - Alt+2 - Alt+2 + + Fold Level 3 + Згорнути рівень 3 - - Fold Level 3 - Згорнути рівень 3 + + Alt+3 + Alt+3 - - Alt+3 - Alt+3 + + Fold Level 4 + Згорнути рівень 4 - - Fold Level 4 - Згорнути рівень 4 + + Alt+4 + Alt+4 - - Alt+4 - Alt+4 + + Unfold Level 1 + Розгорнути рівень 1 - - Unfold Level 1 - Розгорнути рівень 1 + + Alt+Shift+1 + Alt+Shift+1 - - Alt+Shift+1 - Alt+Shift+1 + + Unfold Level 2 + Розгорнути рівень 2 - - Unfold Level 2 - Розгорнути рівень 2 + + Alt+Shift+2 + Alt+Shift+2 - - Alt+Shift+2 - Alt+Shift+2 + + Unfold Level 3 + Розгорнути рівень 3 - - Unfold Level 3 - Розгорнути рівень 3 + + Alt+Shift+3 + Alt+Shift+3 - - Alt+Shift+3 - Alt+Shift+3 + + Unfold Level 4 + Розгорнути рівень 4 - - Unfold Level 4 - Розгорнути рівень 4 + + Alt+Shift+4 + Alt+Shift+4 - - Alt+Shift+4 - Alt+Shift+4 + + Fold All + Згорнути всі - - Fold All - Згорнути всі + + Alt+0 + Alt+0 - - Alt+0 - Alt+0 + + Unfold All + Розгорнути всі - - Unfold All - Розгорнути всі + + Alt+Shift+0 + Alt+Shift+0 - - Alt+Shift+0 - Alt+Shift+0 + + Fold Level 5 + Згорнути рівень 5 - - Fold Level 5 - Згорнути рівень 5 + + Alt+5 + Alt+5 - - Alt+5 - Alt+5 + + Fold Level 6 + Згорнути рівень 6 - - Fold Level 6 - Згорнути рівень 6 + + Alt+6 + Alt+6 - - Alt+6 - Alt+6 + + Fold Level 7 + Згорнути рівень 7 - - Fold Level 7 - Згорнути рівень 7 + + Alt+7 + Alt+7 - - Alt+7 - Alt+7 + + Fold Level 8 + Згорнути рівень 8 - - Fold Level 8 - Згорнути рівень 8 + + Alt+8 + Alt+8 - - Alt+8 - Alt+8 + + Fold Level 9 + Згорнути рівень 9 - - Fold Level 9 - Згорнути рівень 9 + + Alt+9 + Alt+9 - - Alt+9 - Alt+9 + + Unfold Level 5 + Розгорнути рівень 5 - - Unfold Level 5 - Розгорнути рівень 5 + + Alt+Shift+5 + Alt+Shift+5 - - Alt+Shift+5 - Alt+Shift+5 + + Unfold Level 6 + Розгорнути рівень 6 - - Unfold Level 6 - Розгорнути рівень 6 + + Alt+Shift+6 + Alt+Shift+6 - - Alt+Shift+6 - Alt+Shift+6 + + Unfold Level 7 + Розгорнути рівень 7 - - Unfold Level 7 - Розгорнути рівень 7 + + Alt+Shift+7 + Alt+Shift+7 - - Alt+Shift+7 - Alt+Shift+7 + + Unfold Level 8 + Розгорнути рівень 8 - - Unfold Level 8 - Розгорнути рівень 8 + + Alt+Shift+8 + Alt+Shift+8 - - Alt+Shift+8 - Alt+Shift+8 + + Unfold Level 9 + Розгорнути рівень 9 - - Unfold Level 9 - Розгорнути рівень 9 + + Alt+Shift+9 + Alt+Shift+9 - - Alt+Shift+9 - Alt+Shift+9 + + + Toggle Overtype + Toggle Overtype - - - Toggle Overtype - Toggle Overtype + + Ins + Ins - - Ins - Ins + + Debug Info... + Інформація про налагодження... - - Debug Info... - Інформація про налагодження... + + Cut Bookmarked Lines + Вирізати рядки з закладок - - Cut Bookmarked Lines - Вирізати рядки з закладок + + Copy Bookmarked Lines + Копіювати рядки з закладок - - Copy Bookmarked Lines - Копіювати рядки з закладок + + Delete Bookmarked Lines + Видалити рядки з закладок - - Delete Bookmarked Lines - Видалити рядки з закладок + + Mark Style 1 + Позначити стилем 1 - - Mark Style 1 - Позначити стилем 1 + + Mark Style 2 + Позначити стилем 2 - - Mark Style 2 - Позначити стилем 2 + + Clear Style 1 + Очистити стиль 1 - - Clear Style 1 - Очистити стиль 1 + + Clear Style 2 + Очистити стиль 2 - - Clear Style 2 - Очистити стиль 2 + + Mark Style 3 + Позначити стилем 3 - - Mark Style 3 - Позначити стилем 3 + + Clear Style 3 + Очистити стиль 3 - - Clear Style 3 - Очистити стиль 3 + + + Clear All Styles + Очистити всі стилі - - - Clear All Styles - Очистити всі стилі + + Remove Duplicate Lines + Remove Duplicate Lines - - Remove Duplicate Lines - Remove Duplicate Lines + + Remove Consecutive Duplicate Lines + Remove Consecutive Duplicate Lines - - Remove Consecutive Duplicate Lines - Remove Consecutive Duplicate Lines + + Sort Lines Ascending + - - Go to line - Перейти до рядку + + Sort Lines Descending + - - Line Number (1 - %1) - Номер рядку (1 - %1) + + Sort Lines Ascending (Case-Insensitive) + - - Stop Recording - Зупинити запис + + Sort Lines Descending (Case-Insensitive) + - - Debug Info - Інформація про налагодження + + Sort Lines by Length Ascending + - - New %1 - Новий %1 + + Sort Lines by Length Descending + - - Create File - Створити файл + + Reverse Line Order + - - <b>%1</b> does not exist. Do you want to create it? - <b>%1</b> не існує. Бажаєте створити його ? + + Go to line + Перейти до рядку - - - Save file <b>%1</b>? - Зберегти файл <b>%1</b>? + + Line Number (1 - %1) + Номер рядку (1 - %1) - - - Save File - Зберегти файл + + Stop Recording + Зупинити запис - - Open Folder as Workspace - Відкрити каталог як робочий простір + + Debug Info + Інформація про налагодження - - - Reload File - Перезавантажити файл + + New %1 + Новий %1 - - Are you sure you want to reload <b>%1</b>? Any unsaved changes will be lost. - Ви дійсно хочете перезавантажити файл<b>%1</b>? Всі не збережені зміни будут втрачені. + + Create File + Створити файл - - Save a Copy As - Зберегти копію як + + <b>%1</b> does not exist. Do you want to create it? + <b>%1</b> не існує. Бажаєте створити його ? - - - Rename - Перейменувати + + + Save file <b>%1</b>? + Зберегти файл <b>%1</b>? - - Name: - Назва: + + + Save File + Зберегти файл - - Delete File - Видалити файл + + Open Folder as Workspace + Відкрити каталог як робочий простір - - Are you sure you want to move <b>%1</b> to the trash? - Ви дійсно хочете перемістити файл <b>%1</b> до смітника ? + + + Reload File + Перезавантажити файл - - Error Deleting File - Помилка видалення файлу + + Are you sure you want to reload <b>%1</b>? Any unsaved changes will be lost. + Ви дійсно хочете перезавантажити файл<b>%1</b>? Всі не збережені зміни будут втрачені. - - Something went wrong deleting <b>%1</b>? - Під час видалення щось пішло не так <b>%1</b>? + + Save a Copy As + Зберегти копію як - - Administrator - Адміністратор + + + Rename + Перейменувати - - <b>%1</b> has been modified by another program. Do you want to reload it? - <b>%1</b> був змінений. Бажаєте завантажити актуальну версію? + + Name: + Назва: - - Read error - Read error + + Delete File + Видалити файл - - Write error - Write error + + Are you sure you want to move <b>%1</b> to the trash? + Ви дійсно хочете перемістити файл <b>%1</b> до смітника ? - - Fatal error - Fatal error + + Error Deleting File + Помилка видалення файлу - - Resource error - Resource error + + Something went wrong deleting <b>%1</b>? + Під час видалення щось пішло не так <b>%1</b>? - - Open error - Open error + + Administrator + Адміністратор - - Abort error - Abort error + + <b>%1</b> has been modified by another program. Do you want to reload it? + <b>%1</b> був змінений. Бажаєте завантажити актуальну версію? - - Timeout error - Timeout error + + Read error + Read error - - Unspecified error - Unspecified error + + Write error + Write error - - Remove error - Remove error + + Fatal error + Fatal error - - Rename error - Rename error + + Resource error + Resource error - - Position error - Position error + + Open error + Open error - - Resize error - Resize error + + Abort error + Abort error - - Permissions error - Permissions error + + Timeout error + Timeout error - - Copy error - Copy error + + Unspecified error + Unspecified error - - Unknown error (%1) - Unknown error (%1) + + Remove error + Remove error - - Error Saving File - Помилка збереження файлу + + Rename error + Rename error - - An error occurred when saving <b>%1</b><br><br>Error: %2 - Під час збереження виникла помилка<b>%1</b><br><br>Помилка: %2 + + Position error + Position error - - Zoom: %1% - Масштаб: %1% + + Resize error + Resize error - - No updates are available at this time. - На цю мить не має ніяких оновлень. + + Permissions error + Permissions error - - + + + Copy error + Copy error + + + + Unknown error (%1) + Unknown error (%1) + + + + Error Saving File + Помилка збереження файлу + + + + An error occurred when saving <b>%1</b><br><br>Error: %2 + Під час збереження виникла помилка<b>%1</b><br><br>Помилка: %2 + + + + Zoom: %1% + Масштаб: %1% + + + + No updates are available at this time. + На цю мить не має ніяких оновлень. + + + PreferencesDialog - - Preferences - Налаштування + + Preferences + Налаштування + + + + Unsaved сhanges + Незбережені зміни + + + + You have unsaved changes. +Do you want to save them before closing? + Зберегти внесені зміни? + + + Show menu bar + Показувати панель меню + + + Show toolbar + Показувати панель інструментів + + + Show status bar + Показувати рядок стану + + + Restore previous session + Відновлювати попередній сеанс + + + Unsaved changes + Не збережені зміни + + + Temporary files + Тимчасові файли + + + Recenter find/replace dialog when opened + Центрувати вікно пошуку/заміни під час його відкриття + + + Combine search results + Об'єднувати результати пошуку + + + Translation: + Локалізація: + + + Exit on last tab closed + Закривати програму при закритті останньої вкладки + + + Default Font + Шрифт за замовчуванням + + + Font + Шрифт + + + Font Size + Розмір + + + pt + pt + + + Default Line Endings + Символ кінця рядку за замовчуванням + + + Highlight URLs + Підкреслювати посилання URL + + + Show Line Numbers + Показувати кількість рядків + + + Default Directory + Default Directory + + + Follow Current Document + Follow Current Document + + + Last Used Directory + Last Used Directory + + + ... + ... + + + TextLabel + Текстове поле + + + An application restart is required to apply certain settings. + Для застосування деяких змін потрібно перезапустити програму. + + + Warning + Попередження + + + This feature is experimental and it should not be considered safe for critically important work. It may lead to possible data loss. Use at your own risk. + Ця функція є експериментальною, тому її не можна вважати безпечною. Її використання може призвести до втрати даних. Використовуйте цю опцію на власний розсуд. + + + System Default + Системний + + + Windows (CR LF) + Windows (CR LF) + + + Linux (LF) + Linux (LF) + + + Macintosh (CR) + Macintosh (CR) - - Show menu bar - Показувати панель меню + <System Default> + <Мова системи> + + + QObject - - Show toolbar - Показувати панель інструментів + + List All Tabs + Перелік всіх вкладок - - Show status bar - Показувати рядок стану + + Detach Group + Відокремити групу - - Restore previous session - Відновлювати попередній сеанс + + Minimize + Згорнути - - Unsaved changes - Не збережені зміни + + Close Tab + Закрити вкладку - - Temporary files - Тимчасові файли + + Default directory + Каталог за замовчуванням - - Recenter find/replace dialog when opened - Центрувати вікно пошуку/заміни під час його відкриття + + Current document directory + Поточний каталог документу - - Combine search results - Об'єднувати результати пошуку + + Last used directory + Останній використаний каталог - - Translation: - Локалізація: + + Selected directory: + Обраний каталог: - - Exit on last tab closed - Закривати програму при закритті останньої вкладки + + Selected directory path here... + Шлях до обраного каталогу... - - Default Font - Шрифт за замовчуванням + + Open directory select dialog + Відкрити вікно вибору каталогу - - Font - Шрифт + + Not exists + Не існує - - Font Size - Розмір + + Not a directory + Не є каталогом - - pt - pt + + No write access + Немає дозволу на запис - - Default Line Endings - Символ кінця рядку за замовчуванням + + Please, use absolute path + Будь ласка, використовуйте повний шлях - - Highlight URLs - Підкреслювати посилання URL + + Select default directory + Вибрати каталог за замовчуванням - - Show Line Numbers - Показувати кількість рядків + + Restore previous session + Відновлювати попередній сеанс - - - Default Directory - Default Directory + + Unsaved changes + Незбережені зміни - - Follow Current Document - Follow Current Document + + Temporary files + Тимчасові файли - - Last Used Directory - Last Used Directory + + Like in system + Як у системі - - ... - ... + + System default + Окінчення рядків + Системні - - TextLabel - Текстове поле + <System> + <Системна> - - An application restart is required to apply certain settings. - Для застосування деяких змін потрібно перезапустити програму. + <System default> + <Системні> - - Warning - Попередження + <System Language> + <Системна> - - This feature is experimental and it should not be considered safe for critically important work. It may lead to possible data loss. Use at your own risk. - Ця функція є експериментальною, тому її не можна вважати безпечною. Її використання може призвести до втрати даних. Використовуйте цю опцію на власний розсуд. + + Language: + Мова: - - System Default - Системний + System Default + Системний - - Windows (CR LF) - Windows (CR LF) + + Windows (CR LF) + Windows (CR LF) - - Linux (LF) - Linux (LF) + + Unix (LF) + Unix (LF) - - Macintosh (CR) - Macintosh (CR) + + Macintosh (CR) + Macintosh (CR) - - <System Default> - <Мова системи> + + Default line endings: + Символ кінця рядку за замовчуванням: - - + + + Recenter find/replace dialog when opened + Центрувати вікно пошуку/заміни під час відкриття + + + + Combine search results + Об'єднувати результати пошуку + + + + Exit on last tab closed + Закривати програму при закритті останньої вкладки + + + + Behavior + Поведінка + + + + Application restart required to apply changes. + Потребує перезапуск додатку. + + + Window + Головне вікно + + + + Main window + Головне вікно + + + + Show menu bar + Показувати панель меню + + + + Show toolbar + Показувати панель інструментів + + + + Show status bar + Показувати рядок стану + + + + Font + Шрифт + + + + Family: + Сімейство: + + + + Size: + Розмір: + + + + Editor + Редактор + + + + Highlight URLs + Підсвічувати посилання + + + + Show line numbers + Показувати номера рядків + + + Show Line Numbers + Показувати номера рядків + + + + Appearance + Зовнішній вигляд + + + QuickFindWidget - - Frame - Рама + + Frame + Рама - - Find... - Шукати... + + Find... + Шукати... - - Match case - Чутливість до регістру + + Match case + Чутливість до регістру - - Aa - Aa + + Aa + Aa - - Match whole word - Шукати ціле слово + + Match whole word + Шукати ціле слово - - |A| - |A| + + |A| + |A| - - Use regular expression - Використовувати регулярний вираз + + Use regular expression + Використовувати регулярний вираз - - . * - . * + + . * + . * - - Alt+E - Alt+E + + Alt+E + Alt+E - - %L1/%L2 - %L1/%L2 + + %L1/%L2 + %L1/%L2 - - + + SearchResultsDock - - Search Results - Результати пошуку + + Search Results + Результати пошуку + + + + Copy Results to Clipboard + Копіювати результати до буферу обміну + + + + Collapse All + Згорнути все + + + + Expand All + Розгорнути все + + + + Delete Entry + Видалити запис + + + + Delete All + Видалити все + + + + Updater + + + Would you like to download the update now? + + + + + Would you like to download the update now?<br />This is a mandatory update, exiting now will close the application. + + + + + <strong>Change log:</strong><br/>%1 + + + + + Version %1 of %2 has been released! + + + + + No updates are available for the moment + + + + + Congratulations! You are running the latest version of %1 + + + + + Window + + + QSimpleUpdater Example + + + + + <h1><i>QSimpleUpdater</i></h1> + + + + + <i>A simpler way to update your Qt applications...</i> + + + + + Updater Options + + + + + 0.1 + + + + + Write a version string... + + + + + Set installed version (latest version is 1.0) + + + + + Do not use the QSU library to read the appcast + + + + + Notify me when an update is available + + + + + Show all notifications + + + + + Enable integrated downloader + + + + + Mandatory Update + + + + + Changelog + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'.Lucida Grande UI'; font-size:13pt;">Click &quot;Check for Updates&quot; to update this field...</span></p></body></html> + + + + + Reset Fields + + + + + Close + Закрити + + + + Check for Updates + + + + + ads::CAutoHideTab + + + Detach + + + + + Pin To... + + + + + Top + + + + + Left + + + + + Right + + + + + Bottom + + + + + Unpin (Dock) + + + + + Close + Закрити + + + + ads::CDockAreaTitleBar + + + Detach + + + + + Detach Group + Відокремити групу + + + + + Unpin (Dock) + + + + + + Pin Group + + + + + Pin Group To... + + + + + Top + + + + + Left + + + + + Right + + + + + Bottom + + + + + + Minimize + Згорнути + + + + + + Close + Закрити + + + + + Close Group + + + + + Close Other Groups + + + + + Pin Active Tab (Press Ctrl to Pin Group) + + + + + Close Active Tab + + + + + ads::CDockManager + + + Show View + + + + + ads::CDockWidgetTab + + + Detach + + + + + Pin + + + + + Pin To... + + + + + Top + - - Copy Results to Clipboard - Копіювати результати до буферу обміну + + Left + - - Collapse All - Згорнути все + + Right + - - Expand All - Розгорнути все + + Bottom + - - Delete Entry - Видалити запис + + Close + Закрити - - Delete All - Видалити все + + Close Others + - + diff --git a/src/dialogs/Preferences/AppearanceCategoryItem.cpp b/src/dialogs/Preferences/AppearanceCategoryItem.cpp index 14e57c23f..d088f5091 100644 --- a/src/dialogs/Preferences/AppearanceCategoryItem.cpp +++ b/src/dialogs/Preferences/AppearanceCategoryItem.cpp @@ -15,7 +15,7 @@ namespace { inline QGroupBox *WindowAppearanceView(ApplicationSettings *settings) { - const auto group = new QGroupBox(QObject::tr("Window")); + const auto group = new QGroupBox(QObject::tr("Main window")); const auto layout = new QVBoxLayout(group); layout->addWidget(CreateCheckBox( @@ -105,7 +105,7 @@ namespace PREFERENCES_BIND_PROPERTY(urlHighlighting, URLHighlighting) )); layout->addWidget(CreateCheckBox( - QObject::tr("Show Line Numbers"), + QObject::tr("Show line numbers"), settings, PREFERENCES_BIND_PROPERTY(showLineNumbers, ShowLineNumbers) )); diff --git a/src/dialogs/Preferences/BehaviorCategoryItem.cpp b/src/dialogs/Preferences/BehaviorCategoryItem.cpp index 6428b438e..10f032c4f 100644 --- a/src/dialogs/Preferences/BehaviorCategoryItem.cpp +++ b/src/dialogs/Preferences/BehaviorCategoryItem.cpp @@ -188,7 +188,7 @@ namespace const auto app = qobject_cast(qApp); const auto languageCombo = new QComboBox; - languageCombo->addItem(QObject::tr(""), QStringLiteral("")); + languageCombo->addItem(QObject::tr("Like in system"), QStringLiteral("")); for (const auto &languageData : app->getTranslationManager()->availableTranslations()) { QLocale locale(languageData); @@ -229,7 +229,7 @@ namespace inline QHBoxLayout *EOLTypeView(ApplicationSettings *settings) { const auto eolCombo = new QComboBox; - eolCombo->addItem(QObject::tr("System Default"), QString("")); + eolCombo->addItem(QObject::tr("System default"), QString("")); eolCombo->addItem(QObject::tr("Windows (CR LF)"), ScintillaNext::eolModeToString(SC_EOL_CRLF)); eolCombo->addItem(QObject::tr("Unix (LF)"), ScintillaNext::eolModeToString(SC_EOL_LF)); eolCombo->addItem(QObject::tr("Macintosh (CR)"), ScintillaNext::eolModeToString(SC_EOL_CR)); diff --git a/src/dialogs/PreferencesDialog.cpp b/src/dialogs/PreferencesDialog.cpp index 43f01537b..24c0be238 100644 --- a/src/dialogs/PreferencesDialog.cpp +++ b/src/dialogs/PreferencesDialog.cpp @@ -113,7 +113,7 @@ PreferencesDialog::PreferencesDialog(ApplicationSettings *settings, QWidget *par p->category.listView->setModel(p->category.model); // Content - p->content.title = new QLabel(tr("Default title")); + p->content.title = new QLabel; p->content.title->setFont(ContentTitleFont()); p->content.viewport = new QScrollArea; @@ -176,11 +176,11 @@ void PreferencesDialog::showEvent(QShowEvent *event) void PreferencesDialog::closeEvent(QCloseEvent *event) { - if (p->hasUnsavedChanges()) + if (isVisible() && p->hasUnsavedChanges()) { const auto reply = QMessageBox::question( this, - tr("Unsaved Changes"), + tr("Unsaved сhanges"), tr("You have unsaved changes.\n" "Do you want to save them before closing?"), QMessageBox::Save From ffe450a99a51f88016a3de52c03373d1bb4975bf Mon Sep 17 00:00:00 2001 From: "O. Khryshchuk" Date: Sat, 9 May 2026 07:27:35 +0200 Subject: [PATCH 6/8] - project code style applied. --- i18n/NotepadNext_ru.ts | 148 +++++++++--------- i18n/NotepadNext_uk.ts | 148 +++++++++--------- src/dialogs/MainWindow.cpp | 9 +- .../Preferences/AppearanceCategoryItem.cpp | 12 +- .../Preferences/BehaviorCategoryItem.cpp | 57 ++++--- .../PreferencesCategoryListModel.cpp | 20 +-- .../PreferencesCategoryListModel.h | 4 +- .../Preferences/PreferencesViewUtils.h | 47 ++---- src/dialogs/PreferencesDialog.cpp | 91 +++++------ src/dialogs/PreferencesDialog.h | 2 +- 10 files changed, 248 insertions(+), 290 deletions(-) diff --git a/i18n/NotepadNext_ru.ts b/i18n/NotepadNext_ru.ts index 3965e8203..fe05161d5 100644 --- a/i18n/NotepadNext_ru.ts +++ b/i18n/NotepadNext_ru.ts @@ -934,7 +934,7 @@ - + Export As Экспортировать как @@ -1505,7 +1505,7 @@ - + Start Recording Начать запись @@ -2083,196 +2083,196 @@ Номер строки (1 - %1) - + Stop Recording Остановить запись - + Debug Info Debug Info - + New %1 Новый %1 - + Create File Создать файл - + <b>%1</b> does not exist. Do you want to create it? <b>%1</b> не существует. Хотите создать его? - - + + Save file <b>%1</b>? Сохранить файл <b>%1</b>? - - + + Save File Сохранить файл - + Open Folder as Workspace Открыть папку как Проект - - + + Reload File Перезагрузить файл - + Are you sure you want to reload <b>%1</b>? Any unsaved changes will be lost. Уверены, что хотите перезагрузить <b>%1</b>? Все несохраненные изменения будут потеряны. - + Save a Copy As Сохранить копию как - - + + Rename Переименовать - + Name: Имя: - + Delete File Удалить файл - + Are you sure you want to move <b>%1</b> to the trash? Вы действительно хотите переместить <b>%1</b> в корзину? - + Error Deleting File Ошибка при удалении файла - + Something went wrong deleting <b>%1</b>? Что-то пошло не так при удалении <b>%1</b>? - + Administrator Администратор - + <b>%1</b> has been modified by another program. Do you want to reload it? <b>%1</b> has been modified by another program. Do you want to reload it? - + Read error Read error - + Write error Write error - + Fatal error Fatal error - + Resource error Resource error - + Open error Open error - + Abort error Abort error - + Timeout error Timeout error - + Unspecified error Unspecified error - + Remove error Remove error - + Rename error Rename error - + Position error Position error - + Resize error Resize error - + Permissions error Permissions error - + Copy error Copy error - + Unknown error (%1) Unknown error (%1) - + Error Saving File Ошибка при сохранении файла - + An error occurred when saving <b>%1</b><br><br>Error: %2 Произошла ошибка при сохранении <b>%1</b><br><br>Ошибка: %2 - + Zoom: %1% Масштаб: %1% - + No updates are available at this time. В настоящее время обновлений нет. @@ -2285,7 +2285,7 @@ Настройки - + Unsaved сhanges Несохраненные изменения @@ -2298,7 +2298,7 @@ Несохраненные изменения - + You have unsaved changes. Do you want to save them before closing? Сохранить внесенные правки? @@ -2447,82 +2447,82 @@ Do you want to save them before closing? Закрыть вкладку - + Default directory Каталог по-умолчанию - + Current document directory Каталог активного документа - + Last used directory Последний использованный каталог - + Selected directory: Выбранный каталог: - + Selected directory path here... Путь к выбранному каталогу... - + Open directory select dialog Открыть окно выбора каталога - + Not exists Не существует - + Not a directory Не каталог - + No write access Нет прав на запись - + Please, use absolute path Пожалуйста, используйте полный путь - + Select default directory Выбор каталога по-умолчанию - + Restore previous session Восстанавливать предыдущую сессию - + Unsaved changes Несохраненные изменения - + Temporary files Временные файлы - + Like in system Как в системе - + System default Окончания строк Системные @@ -2540,7 +2540,7 @@ Do you want to save them before closing? <Системный> - + Language: Язык: @@ -2550,37 +2550,37 @@ Do you want to save them before closing? Системные - + Windows (CR LF) Windows (CR LF) - + Unix (LF) Unix (LF) - + Macintosh (CR) Macintosh (CR) - + Default line endings: Окончания строк по-умолчанию: - + Recenter find/replace dialog when opened Центрировать окно поиска/замены при открытии - + Combine search results Комбинировать результаты поиска - + Exit on last tab closed Выход после закрытия последней вкладки @@ -2590,7 +2590,7 @@ Do you want to save them before closing? Поведение - + Application restart required to apply changes. Требуется перезапуск приложения. @@ -2634,17 +2634,17 @@ Do you want to save them before closing? Размер: - + Editor Редактор - + Highlight URLs Подсвечивать ссылки - + Show line numbers Показывать номера строк diff --git a/i18n/NotepadNext_uk.ts b/i18n/NotepadNext_uk.ts index 6a997a10a..9d62b8cbf 100644 --- a/i18n/NotepadNext_uk.ts +++ b/i18n/NotepadNext_uk.ts @@ -934,7 +934,7 @@ - + Export As Експортувати як @@ -1505,7 +1505,7 @@ - + Start Recording Почати запис @@ -2083,196 +2083,196 @@ Номер рядку (1 - %1) - + Stop Recording Зупинити запис - + Debug Info Інформація про налагодження - + New %1 Новий %1 - + Create File Створити файл - + <b>%1</b> does not exist. Do you want to create it? <b>%1</b> не існує. Бажаєте створити його ? - - + + Save file <b>%1</b>? Зберегти файл <b>%1</b>? - - + + Save File Зберегти файл - + Open Folder as Workspace Відкрити каталог як робочий простір - - + + Reload File Перезавантажити файл - + Are you sure you want to reload <b>%1</b>? Any unsaved changes will be lost. Ви дійсно хочете перезавантажити файл<b>%1</b>? Всі не збережені зміни будут втрачені. - + Save a Copy As Зберегти копію як - - + + Rename Перейменувати - + Name: Назва: - + Delete File Видалити файл - + Are you sure you want to move <b>%1</b> to the trash? Ви дійсно хочете перемістити файл <b>%1</b> до смітника ? - + Error Deleting File Помилка видалення файлу - + Something went wrong deleting <b>%1</b>? Під час видалення щось пішло не так <b>%1</b>? - + Administrator Адміністратор - + <b>%1</b> has been modified by another program. Do you want to reload it? <b>%1</b> був змінений. Бажаєте завантажити актуальну версію? - + Read error Read error - + Write error Write error - + Fatal error Fatal error - + Resource error Resource error - + Open error Open error - + Abort error Abort error - + Timeout error Timeout error - + Unspecified error Unspecified error - + Remove error Remove error - + Rename error Rename error - + Position error Position error - + Resize error Resize error - + Permissions error Permissions error - + Copy error Copy error - + Unknown error (%1) Unknown error (%1) - + Error Saving File Помилка збереження файлу - + An error occurred when saving <b>%1</b><br><br>Error: %2 Під час збереження виникла помилка<b>%1</b><br><br>Помилка: %2 - + Zoom: %1% Масштаб: %1% - + No updates are available at this time. На цю мить не має ніяких оновлень. @@ -2285,12 +2285,12 @@ Налаштування - + Unsaved сhanges Незбережені зміни - + You have unsaved changes. Do you want to save them before closing? Зберегти внесені зміни? @@ -2439,82 +2439,82 @@ Do you want to save them before closing? Закрити вкладку - + Default directory Каталог за замовчуванням - + Current document directory Поточний каталог документу - + Last used directory Останній використаний каталог - + Selected directory: Обраний каталог: - + Selected directory path here... Шлях до обраного каталогу... - + Open directory select dialog Відкрити вікно вибору каталогу - + Not exists Не існує - + Not a directory Не є каталогом - + No write access Немає дозволу на запис - + Please, use absolute path Будь ласка, використовуйте повний шлях - + Select default directory Вибрати каталог за замовчуванням - + Restore previous session Відновлювати попередній сеанс - + Unsaved changes Незбережені зміни - + Temporary files Тимчасові файли - + Like in system Як у системі - + System default Окінчення рядків Системні @@ -2532,7 +2532,7 @@ Do you want to save them before closing? <Системна> - + Language: Мова: @@ -2541,37 +2541,37 @@ Do you want to save them before closing? Системний - + Windows (CR LF) Windows (CR LF) - + Unix (LF) Unix (LF) - + Macintosh (CR) Macintosh (CR) - + Default line endings: Символ кінця рядку за замовчуванням: - + Recenter find/replace dialog when opened Центрувати вікно пошуку/заміни під час відкриття - + Combine search results Об'єднувати результати пошуку - + Exit on last tab closed Закривати програму при закритті останньої вкладки @@ -2581,7 +2581,7 @@ Do you want to save them before closing? Поведінка - + Application restart required to apply changes. Потребує перезапуск додатку. @@ -2625,17 +2625,17 @@ Do you want to save them before closing? Розмір: - + Editor Редактор - + Highlight URLs Підсвічувати посилання - + Show line numbers Показувати номера рядків diff --git a/src/dialogs/MainWindow.cpp b/src/dialogs/MainWindow.cpp index 447f58db2..ceddd706f 100644 --- a/src/dialogs/MainWindow.cpp +++ b/src/dialogs/MainWindow.cpp @@ -723,14 +723,7 @@ MainWindow::MainWindow(NotepadNextApplication *app) : } pd->resize(700, 400); - pd->setGeometry( - QStyle::alignedRect( - Qt::LeftToRight, - Qt::AlignCenter, - pd->size(), - geometry() - ) - ); + pd->setGeometry(QStyle::alignedRect(Qt::LeftToRight, Qt::AlignCenter, pd->size(), geometry())); pd->show(); pd->raise(); diff --git a/src/dialogs/Preferences/AppearanceCategoryItem.cpp b/src/dialogs/Preferences/AppearanceCategoryItem.cpp index d088f5091..e81ffcac8 100644 --- a/src/dialogs/Preferences/AppearanceCategoryItem.cpp +++ b/src/dialogs/Preferences/AppearanceCategoryItem.cpp @@ -72,21 +72,17 @@ namespace familyCombo->setCurrentFont(QFont(settings->fontName())); sizeCombo->setCurrentText(QString("%1").arg(settings->fontSize())); - QObject::connect(familyCombo, &QFontComboBox::currentFontChanged, - settings, [settings](const QFont &font) { + QObject::connect(familyCombo, &QFontComboBox::currentFontChanged, settings, [settings](const QFont &font) { settings->setFontName(font.family()); }); - QObject::connect(settings, &ApplicationSettings::fontNameChanged, - familyCombo, [familyCombo](const QString &fontName){ + QObject::connect(settings, &ApplicationSettings::fontNameChanged, familyCombo, [familyCombo](const QString &fontName){ familyCombo->setCurrentFont(QFont(fontName)); }); - QObject::connect(sizeCombo, &QComboBox::currentTextChanged, - settings, [settings](const QString &value) { + QObject::connect(sizeCombo, &QComboBox::currentTextChanged, settings, [settings](const QString &value) { settings->setFontSize(value.toInt()); }); - QObject::connect(settings, &ApplicationSettings::fontSizeChanged, - sizeCombo, [sizeCombo](int size) { + QObject::connect(settings, &ApplicationSettings::fontSizeChanged, sizeCombo, [sizeCombo](int size) { sizeCombo->setCurrentText(QString("%1").arg(size)); }); diff --git a/src/dialogs/Preferences/BehaviorCategoryItem.cpp b/src/dialogs/Preferences/BehaviorCategoryItem.cpp index 10f032c4f..bcef9a5d3 100644 --- a/src/dialogs/Preferences/BehaviorCategoryItem.cpp +++ b/src/dialogs/Preferences/BehaviorCategoryItem.cpp @@ -5,6 +5,7 @@ #include #include #include +#include #include #include #include @@ -23,6 +24,20 @@ namespace const QLatin1StringView PathStyleValid("QLineEdit { border: 1px solid #2ecc71; }"); const QLatin1StringView PathStyleInvalid("QLineEdit { border: 1px solid #e74c3c; }"); +#if QT_CONFIG(completer) + inline QCompleter *CreateDefaultFolderCompleter(QObject *parent) + { + const auto fsModel = new QFileSystemModel(parent); + fsModel->setFilter(QDir::AllDirs | QDir::NoDotAndDotDot); + + const auto completer = new QCompleter(fsModel, parent); + completer->setCompletionMode(QCompleter::PopupCompletion); + completer->setCaseSensitivity(Qt::CaseInsensitive); + + return completer; + } +#endif + inline QGroupBox *DefaultFolderView(ApplicationSettings *settings) { using BehaviourEnum = ApplicationSettings::DefaultDirectoryBehaviorEnum; @@ -44,13 +59,7 @@ namespace selectedPathEdit->setClearButtonEnabled(true); selectedPathEdit->setPlaceholderText(QObject::tr("Selected directory path here...")); #if QT_CONFIG(completer) - selectedPathEdit->setCompleter( - FilesystemCompliter( - selectedPathEdit, - Qt::CaseInsensitive, - QCompleter::PopupCompletion - ) - ); + selectedPathEdit->setCompleter(CreateDefaultFolderCompleter(selectedPathEdit)); #endif const auto pathBrowseButton = new QPushButton; @@ -83,8 +92,7 @@ namespace selectedPathEdit->setText(QStandardPaths::writableLocation(QStandardPaths::HomeLocation)); } - QObject::connect(selectedPathEdit, &QLineEdit::textChanged, - settings, [selectedPathEdit, settings](const QString &text) { + QObject::connect(selectedPathEdit, &QLineEdit::textChanged, settings, [selectedPathEdit, settings](const QString &text) { QFileInfo checkDir(text); QString toolTip; QString style; @@ -121,8 +129,7 @@ namespace selectedPathEdit->setStyleSheet(style); selectedPathEdit->setToolTip(toolTip); }); - QObject::connect(pathBrowseButton, &QPushButton::clicked, - group, [group, selectedPathEdit]() { + QObject::connect(pathBrowseButton, &QPushButton::clicked, group, [group, selectedPathEdit]() { const auto selected = QFileDialog::getExistingDirectory( group, QObject::tr("Select default directory"), @@ -134,13 +141,11 @@ namespace selectedPathEdit->setText(selected); }); - QObject::connect(buttonGroup, &QButtonGroup::idClicked, - settings, [settings, setPathInputEnabled](int id) { + QObject::connect(buttonGroup, &QButtonGroup::idClicked, settings, [settings, setPathInputEnabled](int id) { setPathInputEnabled(id == BehaviourEnum::HardCoded); settings->setDefaultDirectoryBehavior((BehaviourEnum)id); }); - QObject::connect(settings, &ApplicationSettings::defaultDirectoryBehaviorChanged, - buttonGroup, [buttonGroup, setPathInputEnabled](BehaviourEnum value) { + QObject::connect(settings, &ApplicationSettings::defaultDirectoryBehaviorChanged, buttonGroup, [buttonGroup, setPathInputEnabled](BehaviourEnum value) { const auto button = buttonGroup->button(value); const QSignalBlocker block(buttonGroup); // Prevent ss-loop if (button) button->click(); @@ -175,10 +180,8 @@ namespace group->setChecked(settings->restorePreviousSession()); - QObject::connect(settings, &ApplicationSettings::restorePreviousSessionChanged, - group, &QGroupBox::setChecked); - QObject::connect(group, &QGroupBox::toggled, - settings, &ApplicationSettings::setRestorePreviousSession); + QObject::connect(settings, &ApplicationSettings::restorePreviousSessionChanged, group, &QGroupBox::setChecked); + QObject::connect(group, &QGroupBox::toggled, settings, &ApplicationSettings::setRestorePreviousSession); return group; } @@ -188,7 +191,7 @@ namespace const auto app = qobject_cast(qApp); const auto languageCombo = new QComboBox; - languageCombo->addItem(QObject::tr("Like in system"), QStringLiteral("")); + languageCombo->addItem(QObject::tr("Like in system"), ""); for (const auto &languageData : app->getTranslationManager()->availableTranslations()) { QLocale locale(languageData); @@ -199,7 +202,7 @@ namespace const auto wheelSuppressor = new WheelEventSuppressFilter(languageCombo); wheelSuppressor->setupFor(languageCombo); - const auto restartNotification = new RestartRequiredLabel; + const auto restartNotification = new NotificationLabel(QObject::tr("Application restart required to apply changes.")); const auto layout = new QGridLayout; layout->addWidget(new QLabel(QObject::tr("Language:")), 0, 0); @@ -216,12 +219,10 @@ namespace setComboByData(settings->translation()); - QObject::connect(languageCombo, QOverload::of(&QComboBox::currentIndexChanged), - settings, [settings, languageCombo](int index) { + QObject::connect(languageCombo, QOverload::of(&QComboBox::currentIndexChanged), settings, [settings, languageCombo](int index) { settings->setTranslation(languageCombo->itemData(index).toString()); }); - QObject::connect(settings, &ApplicationSettings::translationChanged, - languageCombo, setComboByData); + QObject::connect(settings, &ApplicationSettings::translationChanged, languageCombo, setComboByData); return layout; } @@ -250,12 +251,10 @@ namespace setComboByData(settings->defaultEOLMode()); - QObject::connect(eolCombo, QOverload::of(&QComboBox::currentIndexChanged), - settings, [settings, eolCombo](int index) { + QObject::connect(eolCombo, QOverload::of(&QComboBox::currentIndexChanged), settings, [settings, eolCombo](int index) { settings->setDefaultEOLMode(eolCombo->itemData(index).toString()); }); - QObject::connect(settings, &ApplicationSettings::defaultEOLModeChanged, - eolCombo, setComboByData); + QObject::connect(settings, &ApplicationSettings::defaultEOLModeChanged, eolCombo, setComboByData); return layout; } diff --git a/src/dialogs/Preferences/PreferencesCategoryListModel.cpp b/src/dialogs/Preferences/PreferencesCategoryListModel.cpp index e63f87164..fff668d4b 100644 --- a/src/dialogs/Preferences/PreferencesCategoryListModel.cpp +++ b/src/dialogs/Preferences/PreferencesCategoryListModel.cpp @@ -10,15 +10,15 @@ namespace PreferencesCategoryListModel::PreferencesCategoryListModel(QObject *parent) : QAbstractListModel(parent) { - mItems.reserve(5); + items.reserve(5); } QVariant PreferencesCategoryListModel::data(const QModelIndex &index, int role) const { - if (!index.isValid() || index.row() >= mItems.size()) + if (!index.isValid() || index.row() >= items.size()) return {}; - const auto &item = mItems.at(index.row()); + const auto &item = items.at(index.row()); switch (role) { @@ -37,28 +37,28 @@ QVariant PreferencesCategoryListModel::data(const QModelIndex &index, int role) void PreferencesCategoryListModel::addCategory(PreferencesCategoryItem *category, int row) { - if (row < 0 || row > mItems.size()) - row = mItems.size(); + if (row < 0 || row > items.size()) + row = items.size(); beginInsertRows(index(row), row, row + 1); - mItems.insert(mItems.cbegin() + row, std::move(ItemPtr(category))); + items.insert(items.cbegin() + row, std::move(ItemPtr(category))); endInsertRows(); } void PreferencesCategoryListModel::removeCategory(int row) { - if (row < 0 || row >= mItems.size()) + if (row < 0 || row >= items.size()) return; beginRemoveRows(index(row), row, row + 1); - mItems.erase(mItems.cbegin() + row); + items.erase(items.cbegin() + row); endRemoveRows(); } PreferencesCategoryItem *PreferencesCategoryListModel::category(int row) const { - if (row < 0 || row >= mItems.size()) + if (row < 0 || row >= items.size()) return nullptr; - return mItems.at(row).get(); + return items.at(row).get(); } diff --git a/src/dialogs/Preferences/PreferencesCategoryListModel.h b/src/dialogs/Preferences/PreferencesCategoryListModel.h index aab51889f..1accee5cb 100644 --- a/src/dialogs/Preferences/PreferencesCategoryListModel.h +++ b/src/dialogs/Preferences/PreferencesCategoryListModel.h @@ -13,7 +13,7 @@ class PreferencesCategoryListModel : public QAbstractListModel virtual ~PreferencesCategoryListModel() = default; inline virtual int rowCount(const QModelIndex &parent = QModelIndex()) const override { - return mItems.size(); + return items.size(); } virtual QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override; @@ -28,7 +28,7 @@ class PreferencesCategoryListModel : public QAbstractListModel PreferencesCategoryItem *category(int row) const; private: - std::vector> mItems; + std::vector> items; }; #endif // PREFERENCESCATEGORYLISTMODEL_H diff --git a/src/dialogs/Preferences/PreferencesViewUtils.h b/src/dialogs/Preferences/PreferencesViewUtils.h index 5810593bc..bd06d3597 100644 --- a/src/dialogs/Preferences/PreferencesViewUtils.h +++ b/src/dialogs/Preferences/PreferencesViewUtils.h @@ -5,13 +5,12 @@ #include #include #include -#include #include #include #include #include -#include +#include "ApplicationSettings.h" #define PREFERENCES_BIND_PROPERTY(name, Name) \ &ApplicationSettings::name, \ @@ -55,62 +54,40 @@ namespace Preferences } }; - class RestartRequiredLabel : public QWidget + class NotificationLabel : public QWidget { public: - RestartRequiredLabel(QWidget *parent = nullptr) + NotificationLabel(const QString &text, QWidget *parent = nullptr) : QWidget(parent) { const auto iconSize = qApp->style()->pixelMetric(QStyle::PM_SmallIconSize); const auto icon = new QLabel; - icon->setPixmap( - qApp->style()->standardIcon( - QStyle::SP_MessageBoxInformation - ).pixmap(iconSize, iconSize) - ); + icon->setPixmap(qApp->style()->standardIcon(QStyle::SP_MessageBoxInformation).pixmap(iconSize, iconSize)); - mLabel = new QLabel(QObject::tr("Application restart required to apply changes.")); - mLabel->setWordWrap(true); + label = new QLabel(text); + label->setWordWrap(true); - auto infoFont = mLabel->font(); + auto infoFont = label->font(); infoFont.setPointSize(infoFont.pointSize() - 1); infoFont.setItalic(true); - mLabel->setFont(infoFont); + label->setFont(infoFont); const auto layout = new QHBoxLayout(this); layout->addWidget(icon, 0, Qt::AlignTop); - layout->addWidget(mLabel, 1); + layout->addWidget(label, 1); layout->setContentsMargins(9, 0, 3, 6); layout->setSpacing(SPACING_3); } - inline const QLabel *label() const { - return mLabel; + inline const QLabel *getLabel() const { + return label; } private: - QLabel *mLabel = nullptr; + QLabel *label = nullptr; }; -#if QT_CONFIG(completer) - inline QCompleter *FilesystemCompliter(QObject *parent, - Qt::CaseSensitivity caseSensivity = Qt::CaseInsensitive, - QCompleter::CompletionMode completionMode = QCompleter::InlineCompletion, - const QDir::Filters &filters = QDir::AllDirs | QDir::NoDotAndDotDot) - { - const auto fsModel = new QFileSystemModel(parent); - fsModel->setRootPath(""); - fsModel->setFilter(filters); - - const auto completer = new QCompleter(fsModel, parent); - completer->setCompletionMode(completionMode); - completer->setCaseSensitivity(caseSensivity); - - return completer; - } -#endif - template inline QCheckBox *CreateCheckBox(const QString &title, ApplicationSettings *settings, diff --git a/src/dialogs/PreferencesDialog.cpp b/src/dialogs/PreferencesDialog.cpp index 24c0be238..c0ea918ce 100644 --- a/src/dialogs/PreferencesDialog.cpp +++ b/src/dialogs/PreferencesDialog.cpp @@ -83,10 +83,10 @@ struct PreferencesDialog::PreferencesDialogPrivate } category; struct { - QWidget *widget = nullptr; + QWidget *widget = nullptr; QVBoxLayout *layout = nullptr; - QLabel *title = nullptr; + QLabel *title = nullptr; QScrollArea *viewport = nullptr; } content; @@ -95,60 +95,55 @@ struct PreferencesDialog::PreferencesDialogPrivate PreferencesDialog::PreferencesDialog(ApplicationSettings *settings, QWidget *parent) : QDialog(parent, Qt::Tool), - p(new PreferencesDialogPrivate) + d(new PreferencesDialogPrivate) { setWindowTitle(tr("Preferences")); - p->settings.actual = settings; - p->settings.backup = p->createTemporarySettings(this); + d->settings.actual = settings; + d->settings.backup = d->createTemporarySettings(this); // Category - p->category.listView = new QListView; - p->category.listView->setFixedWidth(180); + d->category.listView = new QListView; + d->category.listView->setFixedWidth(180); - p->category.model = new ListModel(p->category.listView); - p->category.model->addCategory(new BehaviorCategoryItem); - p->category.model->addCategory(new AppearanceCategoryItem); + d->category.model = new ListModel(d->category.listView); + d->category.model->addCategory(new BehaviorCategoryItem); + d->category.model->addCategory(new AppearanceCategoryItem); - p->category.listView->setModel(p->category.model); + d->category.listView->setModel(d->category.model); // Content - p->content.title = new QLabel; - p->content.title->setFont(ContentTitleFont()); + d->content.title = new QLabel; + d->content.title->setFont(ContentTitleFont()); - p->content.viewport = new QScrollArea; + d->content.viewport = new QScrollArea; - p->content.widget = new QWidget; - p->content.widget->setSizePolicy( - QSizePolicy::Expanding, - QSizePolicy::Expanding - ); + d->content.widget = new QWidget; + d->content.widget->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); - p->content.layout = new QVBoxLayout(p->content.widget); - p->content.layout->setContentsMargins(0, 0, 0, 0); - p->content.layout->addWidget(p->content.title); - p->content.layout->addWidget(p->content.viewport); + d->content.layout = new QVBoxLayout(d->content.widget); + d->content.layout->setContentsMargins(0, 0, 0, 0); + d->content.layout->addWidget(d->content.title); + d->content.layout->addWidget(d->content.viewport); // Controls - p->controlsBox = new QDialogButtonBox(Qt::Horizontal); - p->controlsBox->setStandardButtons( + d->controlsBox = new QDialogButtonBox(Qt::Horizontal); + d->controlsBox->setStandardButtons( QDialogButtonBox::RestoreDefaults | QDialogButtonBox::Ok | QDialogButtonBox::Cancel ); // Main assembly - p->mainLayout = new QGridLayout(this); - p->mainLayout->addWidget(p->category.listView, 0, 0, 2, 1); - p->mainLayout->addWidget(p->content.widget, 0, 1); - p->mainLayout->addWidget(p->controlsBox, 1, 1); + d->mainLayout = new QGridLayout(this); + d->mainLayout->addWidget(d->category.listView, 0, 0, 2, 1); + d->mainLayout->addWidget(d->content.widget, 0, 1); + d->mainLayout->addWidget(d->controlsBox, 1, 1); - connect(p->category.listView->selectionModel(), &QItemSelectionModel::currentRowChanged, - this, &PreferencesDialog::onCategoryChanged); + connect(d->category.listView->selectionModel(), &QItemSelectionModel::currentRowChanged, this, &PreferencesDialog::onCategoryChanged); - connect(p->controlsBox, &QDialogButtonBox::clicked, - this, [this](QAbstractButton *button) { - switch (p->controlsBox->buttonRole(button)) + connect(d->controlsBox, &QDialogButtonBox::clicked, this, [this](QAbstractButton *button) { + switch (d->controlsBox->buttonRole(button)) { case QDialogButtonBox::ResetRole: onResetClicked(); break; case QDialogButtonBox::AcceptRole: onOkClicked(); break; @@ -159,24 +154,24 @@ PreferencesDialog::PreferencesDialog(ApplicationSettings *settings, QWidget *par // Force switch to first category QMetaObject::invokeMethod(this, [this](){ - p->category.listView->setCurrentIndex(p->category.model->index(0)); + d->category.listView->setCurrentIndex(d->category.model->index(0)); }, Qt::QueuedConnection); } PreferencesDialog::~PreferencesDialog() { - delete p; + delete d; } void PreferencesDialog::showEvent(QShowEvent *event) { - p->makeSettingsBackup(); + d->makeSettingsBackup(); QDialog::showEvent(event); } void PreferencesDialog::closeEvent(QCloseEvent *event) { - if (isVisible() && p->hasUnsavedChanges()) + if (isVisible() && d->hasUnsavedChanges()) { const auto reply = QMessageBox::question( this, @@ -194,10 +189,10 @@ void PreferencesDialog::closeEvent(QCloseEvent *event) event->ignore(); return; case QMessageBox::Discard: - p->makeSettingsRestore(); + d->makeSettingsRestore(); [[fallthrough]]; case QMessageBox::Save: - p->settings.actual->sync(); + d->settings.actual->sync(); break; default: break; @@ -211,20 +206,18 @@ void PreferencesDialog::onCategoryChanged(const QModelIndex &index) { if (!index.isValid()) return; - const auto item = p->category.model->category(index.row()); + const auto item = d->category.model->category(index.row()); if (!item) return; - p->content.title->setText(item->title()); - p->content.viewport->setWidget(item->contentView(p->settings.actual)); - p->content.viewport->widget()->setSizePolicy( - QSizePolicy::Expanding, QSizePolicy::Expanding - ); - p->content.viewport->setWidgetResizable(true); + d->content.title->setText(item->title()); + d->content.viewport->setWidget(item->contentView(d->settings.actual)); + d->content.viewport->widget()->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); + d->content.viewport->setWidgetResizable(true); } void PreferencesDialog::onOkClicked() { - p->settings.actual->sync(); + d->settings.actual->sync(); accept(); } @@ -235,5 +228,5 @@ void PreferencesDialog::onCancelClicked() void PreferencesDialog::onResetClicked() { - p->makeSettingsReset(); + d->makeSettingsReset(); } diff --git a/src/dialogs/PreferencesDialog.h b/src/dialogs/PreferencesDialog.h index 09b0c9926..0bf349123 100644 --- a/src/dialogs/PreferencesDialog.h +++ b/src/dialogs/PreferencesDialog.h @@ -25,7 +25,7 @@ private slots: private: struct PreferencesDialogPrivate; - PreferencesDialogPrivate *p; + PreferencesDialogPrivate *d; }; #endif // PREFERENCESDIALOG_H From bccc3a87e502bf76c592bab2ee01b4f54fcf3dab Mon Sep 17 00:00:00 2001 From: "O. Khryshchuk" Date: Sat, 9 May 2026 08:26:12 +0200 Subject: [PATCH 7/8] Merged changes from 'origin/master' into feat branch. --- .github/workflows/build.yml | 10 +- .gitignore | 10 + CMakeLists.txt | 2 +- README.md | 9 + cmake/PackagingLinux.cmake | 42 +- ...m.github.dail8859.NotepadNext.metainfo.xml | 1 + doc/Building.md | 38 +- i18n/NotepadNext_cs.ts | 664 +-- i18n/NotepadNext_de.ts | 622 +-- i18n/NotepadNext_en.ts | 541 +-- i18n/NotepadNext_es.ts | 646 +-- i18n/NotepadNext_fr.ts | 570 +-- i18n/NotepadNext_it.ts | 614 +-- i18n/{NotepadNext_pt.ts => NotepadNext_nl.ts} | 1304 +++--- i18n/NotepadNext_pl.ts | 782 ++-- i18n/NotepadNext_pt_BR.ts | 3219 +++++++-------- i18n/NotepadNext_pt_PT.ts | 3221 +++++++-------- i18n/NotepadNext_ru.ts | 3548 +++++++---------- i18n/NotepadNext_sv.ts | 658 +-- i18n/NotepadNext_tr.ts | 816 ++-- i18n/NotepadNext_uk.ts | 3539 +++++++--------- i18n/NotepadNext_zh_CN.ts | 3277 +++++++-------- i18n/NotepadNext_zh_TW.ts | 680 ++-- src/CMakeLists.txt | 2 + src/DockedEditor.cpp | 1 + src/ScintillaNext.cpp | 2 +- src/dialogs/MainWindow.cpp | 30 +- src/dialogs/MainWindow.h | 3 + src/icons/cross.svg | 1 + src/icons/list_with_icons.svg | 1 + src/icons/plus.svg | 1 + src/resources.qrc | 3 + src/widgets/TabsQuickActionsBar.cpp | 95 + src/widgets/TabsQuickActionsBar.h | 78 + thirdparty/lexilla/.gitattributes | 1 + thirdparty/lexilla/CONTRIBUTING | 3 + thirdparty/lexilla/cppcheck.suppress | 3 - thirdparty/lexilla/doc/Lexilla.html | 8 +- thirdparty/lexilla/doc/LexillaDownload.html | 10 +- thirdparty/lexilla/doc/LexillaHistory.html | 32 + thirdparty/lexilla/lexers/LexBash.cxx | 20 +- thirdparty/lexilla/lexers/LexBatch.cxx | 552 ++- thirdparty/lexilla/lexers/LexCPP.cxx | 19 +- thirdparty/lexilla/lexers/LexForth.cxx | 12 +- thirdparty/lexilla/lexers/LexJSON.cxx | 68 +- thirdparty/lexilla/lexers/LexMake.cxx | 3 + thirdparty/lexilla/lexers/LexMarkdown.cxx | 42 +- thirdparty/lexilla/lexers/LexPascal.cxx | 263 +- thirdparty/lexilla/lexers/LexPerl.cxx | 22 + thirdparty/lexilla/lexers/LexRuby.cxx | 8 + thirdparty/lexilla/lexlib/Accessor.cxx | 6 +- .../lexilla/lexlib/CharacterCategory.cxx | 6 +- thirdparty/lexilla/lexlib/CharacterSet.h | 45 +- thirdparty/lexilla/lexlib/DefaultLexer.cxx | 18 +- thirdparty/lexilla/lexlib/DefaultLexer.h | 7 + thirdparty/lexilla/lexlib/LexerBase.cxx | 3 +- thirdparty/lexilla/lexlib/LexerBase.h | 2 +- thirdparty/lexilla/lexlib/LexerModule.cxx | 19 +- thirdparty/lexilla/lexlib/OptionSet.h | 55 +- thirdparty/lexilla/lexlib/SparseState.h | 4 +- thirdparty/lexilla/scripts/LexillaData.py | 31 +- thirdparty/lexilla/src/Lexilla/Info.plist | 2 +- .../Lexilla/Lexilla.xcodeproj/project.pbxproj | 4 +- thirdparty/lexilla/src/LexillaVersion.rc | 4 +- thirdparty/lexilla/src/deps.mak | 9 +- thirdparty/lexilla/src/nmdeps.mak | 9 +- thirdparty/lexilla/test/Metadata/CheckMeta.py | 66 + thirdparty/lexilla/test/Metadata/Metadata.cxx | 183 + .../lexilla/test/Metadata/lexerMetadata.txt | 2687 +++++++++++++ thirdparty/lexilla/test/TestDocument.cxx | 12 +- thirdparty/lexilla/test/TestLexers.cxx | 11 +- thirdparty/lexilla/test/examples/batch/x.bat | 7 + .../lexilla/test/examples/batch/x.bat.folded | 7 + .../lexilla/test/examples/batch/x.bat.styled | 7 + .../examples/cpp/48HashNotPreProcessor.cxx | 11 + .../cpp/48HashNotPreProcessor.cxx.folded | 12 + .../cpp/48HashNotPreProcessor.cxx.styled | 11 + .../test/examples/cpp/SciTE.properties | 6 +- .../test/examples/forth/AllStyles.forth | 41 + .../examples/forth/AllStyles.forth.folded | 42 + .../examples/forth/AllStyles.forth.styled | 41 + .../test/examples/forth/Issue351.forth | 48 + .../test/examples/forth/Issue351.forth.folded | 49 + .../test/examples/forth/Issue351.forth.styled | 48 + .../test/examples/forth/SciTE.properties | 7 + .../test/examples/json/SciTE.properties | 3 + .../test/examples/json/embedded_0.json | 5 + .../test/examples/json/embedded_0.json.folded | 6 + .../test/examples/json/embedded_0.json.styled | 5 + .../test/examples/json/embedded_1.json | 5 + .../test/examples/json/embedded_1.json.folded | 6 + .../test/examples/json/embedded_1.json.styled | 5 + .../test/examples/json/processed_0.json | 9 + .../examples/json/processed_0.json.folded | 10 + .../examples/json/processed_0.json.styled | 9 + .../test/examples/json/processed_esc_0.json | 9 + .../examples/json/processed_esc_0.json.folded | 10 + .../examples/json/processed_esc_0.json.styled | 9 + .../test/examples/json/processed_esc_1.json | 9 + .../examples/json/processed_esc_1.json.folded | 10 + .../examples/json/processed_esc_1.json.styled | 9 + thirdparty/lexilla/version.txt | 2 +- thirdparty/scintilla/.hg_archival.txt | 4 +- thirdparty/scintilla/.hgtags | 1 + .../scintilla/cocoa/Scintilla/Info.plist | 2 +- .../Scintilla.xcodeproj/project.pbxproj | 8 +- thirdparty/scintilla/doc/ScintillaDoc.html | 10 + .../scintilla/doc/ScintillaDownload.html | 10 +- .../scintilla/doc/ScintillaHistory.html | 21 + thirdparty/scintilla/doc/index.html | 9 +- thirdparty/scintilla/include/Scintilla.h | 1 + thirdparty/scintilla/include/Scintilla.iface | 2 + thirdparty/scintilla/include/ScintillaTypes.h | 1 + .../qt/ScintillaEdit/ScintillaEdit.pro | 2 +- .../scintilla/qt/ScintillaEditBase/PlatQt.cpp | 5 + .../scintilla/qt/ScintillaEditBase/PlatQt.h | 9 +- .../ScintillaEditBase/ScintillaEditBase.cpp | 16 +- .../ScintillaEditBase/ScintillaEditBase.pro | 2 +- .../scintilla/scripts/CheckMentioned.py | 4 +- thirdparty/scintilla/scripts/Dependencies.py | 30 +- thirdparty/scintilla/scripts/Face.py | 4 +- thirdparty/scintilla/scripts/FileGenerator.py | 6 +- .../scripts/GenerateCharacterCategory.py | 4 +- thirdparty/scintilla/scripts/ScintillaData.py | 21 +- thirdparty/scintilla/src/Document.cxx | 15 +- thirdparty/scintilla/src/EditView.cxx | 29 +- thirdparty/scintilla/src/Editor.cxx | 4 +- thirdparty/scintilla/test/simpleTests.py | 6 + thirdparty/scintilla/version.txt | 2 +- thirdparty/scintilla/win32/ScintRes.rc | 4 +- updates.json | 4 +- 131 files changed, 15794 insertions(+), 14179 deletions(-) rename i18n/{NotepadNext_pt.ts => NotepadNext_nl.ts} (72%) create mode 100644 src/icons/cross.svg create mode 100644 src/icons/list_with_icons.svg create mode 100644 src/icons/plus.svg create mode 100644 src/widgets/TabsQuickActionsBar.cpp create mode 100644 src/widgets/TabsQuickActionsBar.h create mode 100644 thirdparty/lexilla/test/Metadata/CheckMeta.py create mode 100644 thirdparty/lexilla/test/Metadata/Metadata.cxx create mode 100644 thirdparty/lexilla/test/Metadata/lexerMetadata.txt create mode 100644 thirdparty/lexilla/test/examples/cpp/48HashNotPreProcessor.cxx create mode 100644 thirdparty/lexilla/test/examples/cpp/48HashNotPreProcessor.cxx.folded create mode 100644 thirdparty/lexilla/test/examples/cpp/48HashNotPreProcessor.cxx.styled create mode 100644 thirdparty/lexilla/test/examples/forth/AllStyles.forth create mode 100644 thirdparty/lexilla/test/examples/forth/AllStyles.forth.folded create mode 100644 thirdparty/lexilla/test/examples/forth/AllStyles.forth.styled create mode 100644 thirdparty/lexilla/test/examples/forth/Issue351.forth create mode 100644 thirdparty/lexilla/test/examples/forth/Issue351.forth.folded create mode 100644 thirdparty/lexilla/test/examples/forth/Issue351.forth.styled create mode 100644 thirdparty/lexilla/test/examples/forth/SciTE.properties create mode 100644 thirdparty/lexilla/test/examples/json/embedded_0.json create mode 100644 thirdparty/lexilla/test/examples/json/embedded_0.json.folded create mode 100644 thirdparty/lexilla/test/examples/json/embedded_0.json.styled create mode 100644 thirdparty/lexilla/test/examples/json/embedded_1.json create mode 100644 thirdparty/lexilla/test/examples/json/embedded_1.json.folded create mode 100644 thirdparty/lexilla/test/examples/json/embedded_1.json.styled create mode 100644 thirdparty/lexilla/test/examples/json/processed_0.json create mode 100644 thirdparty/lexilla/test/examples/json/processed_0.json.folded create mode 100644 thirdparty/lexilla/test/examples/json/processed_0.json.styled create mode 100644 thirdparty/lexilla/test/examples/json/processed_esc_0.json create mode 100644 thirdparty/lexilla/test/examples/json/processed_esc_0.json.folded create mode 100644 thirdparty/lexilla/test/examples/json/processed_esc_0.json.styled create mode 100644 thirdparty/lexilla/test/examples/json/processed_esc_1.json create mode 100644 thirdparty/lexilla/test/examples/json/processed_esc_1.json.folded create mode 100644 thirdparty/lexilla/test/examples/json/processed_esc_1.json.styled diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8aed5f92f..3d0ac8648 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,7 @@ name: Build Notepad Next on: + workflow_dispatch: push: branches: - master @@ -48,6 +49,14 @@ jobs: if: runner.os == 'Linux' run: | echo "DISTRIBUTION=AppImage" >> "$GITHUB_ENV" + + # Qt 6.10+ renamed wayland plugins + if [[ "${{ matrix.qt_version }}" == "6.10" ]]; then + echo "EXTRA_PLATFORM_PLUGINS=libqwayland.so" >> "$GITHUB_ENV" + else + echo "EXTRA_PLATFORM_PLUGINS=libqwayland-generic.so" >> "$GITHUB_ENV" + fi + sudo apt-get install libxkbcommon-dev libxkbcommon-x11-0 fuse libxcb-cursor-dev libcups2-dev - name: Configure @@ -102,7 +111,6 @@ jobs: needs: [build] if: github.repository == 'dail8859/NotepadNext' && github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') - env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.gitignore b/.gitignore index 83fe960dc..9f7006b05 100644 --- a/.gitignore +++ b/.gitignore @@ -44,6 +44,10 @@ target_wrapper.* # QtCtreator CMake CMakeLists.txt.user* +CMakeCache. +cmake_install.cmake +Makefile +__cmake_systeminformation *.pyc @@ -61,3 +65,9 @@ CMakeLists.txt.user* ._* .cpm-cache/ + +# ninja +.ninja_deps +.ninja_lock +.ninja_log +build.ninja diff --git a/CMakeLists.txt b/CMakeLists.txt index 265c68b4b..ef7749883 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.21) project(NotepadNext - VERSION 0.13 + VERSION 0.14 DESCRIPTION "Cross-platform text editor" LANGUAGES CXX ) diff --git a/README.md b/README.md index 3050ffe2e..b972faf8f 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,15 @@ Linux packages can be obtained by downloading the stand-alone AppImage on the [r flatpak install flathub com.github.dail8859.NotepadNext ``` +If you are using Ubuntu and prefer an up-to-date deb version, you can use the [PPA supporting Ubuntu 22.04 and newer](https://launchpad.net/~quentiumyt/+archive/ubuntu/notepadnext) provided by +[Quentin Lienhardt](https://github.com/QuentiumYT). You can add it by executing: + +```bash +sudo add-apt-repository ppa:quentiumyt/notepadnext +sudo apt update +sudo apt install notepadnext +``` + ## MacOS MacOS disk images can be downloaded from the [release](https://github.com/dail8859/NotepadNext/releases) page. diff --git a/cmake/PackagingLinux.cmake b/cmake/PackagingLinux.cmake index 721f872fd..de9babc5a 100644 --- a/cmake/PackagingLinux.cmake +++ b/cmake/PackagingLinux.cmake @@ -6,6 +6,46 @@ set(APPDIR_USR ${APPDIR}/usr) set(LINUXDEPLOY ${CMAKE_BINARY_DIR}/linuxdeploy-x86_64.AppImage) set(LINUXDEPLOY_QT ${CMAKE_BINARY_DIR}/linuxdeploy-plugin-qt-x86_64.AppImage) +set(APPIMAGE_ENV_VARS + LDAI_OUTPUT=NotepadNext-v${PROJECT_VERSION}-x86_64.AppImage +) + +if(DEFINED ENV{QMAKE} AND NOT "$ENV{QMAKE}" STREQUAL "") + set(APPIMAGE_QMAKE "$ENV{QMAKE}") +else() + find_program(APPIMAGE_QMAKE NAMES qmake) +endif() + +if(NOT APPIMAGE_QMAKE) + message(FATAL_ERROR + "Could not find qmake for AppImage packaging.\n" + "Please install the QT 6 qmake or set the QMAKE variable to a Qt 6 qmake and re-run CMake, for example:\n" + " QMAKE=$(which qmake6) cmake -S . -B build -DAPP_DISTRIBUTION=AppImage" + ) +endif() + +execute_process( + COMMAND "${APPIMAGE_QMAKE}" -query QT_VERSION + OUTPUT_VARIABLE APPIMAGE_QT_VERSION + OUTPUT_STRIP_TRAILING_WHITESPACE + ERROR_QUIET + RESULT_VARIABLE APPIMAGE_QMAKE_RESULT +) + +if(NOT APPIMAGE_QMAKE_RESULT EQUAL 0 OR NOT APPIMAGE_QT_VERSION MATCHES "^6\\.") + message(FATAL_ERROR + "AppImage packaging requires a Qt 6 qmake, but CMake found:\n" + " ${APPIMAGE_QMAKE}\n" + "Reported Qt version:\n" + " ${APPIMAGE_QT_VERSION}\n" + "Please set the QMAKE variable to a Qt 6 qmake and re-run CMake, for example:\n" + " QMAKE=$(which qmake6) cmake -S . -B build -DAPP_DISTRIBUTION=AppImage" + ) +endif() + +message(STATUS "Using qmake for AppImage packaging: ${APPIMAGE_QMAKE}") +list(APPEND APPIMAGE_ENV_VARS QMAKE=${APPIMAGE_QMAKE}) + install(TARGETS NotepadNext RUNTIME DESTINATION bin ) @@ -40,7 +80,7 @@ add_custom_target(download_linuxdeploy add_custom_target(appimage COMMAND ${CMAKE_COMMAND} -E env - LDAI_OUTPUT=NotepadNext-v${PROJECT_VERSION}-x86_64.AppImage + ${APPIMAGE_ENV_VARS} ${LINUXDEPLOY} --appdir ${APPDIR} --executable ${APPDIR_USR}/bin/NotepadNext diff --git a/deploy/linux/com.github.dail8859.NotepadNext.metainfo.xml b/deploy/linux/com.github.dail8859.NotepadNext.metainfo.xml index fc3a1625d..4e34eb8d7 100644 --- a/deploy/linux/com.github.dail8859.NotepadNext.metainfo.xml +++ b/deploy/linux/com.github.dail8859.NotepadNext.metainfo.xml @@ -26,6 +26,7 @@ com.github.dail8859.NotepadNext.desktop + diff --git a/doc/Building.md b/doc/Building.md index 90df7f875..e34b32a54 100644 --- a/doc/Building.md +++ b/doc/Building.md @@ -37,8 +37,44 @@ This section specifically describes how to build Notepad Next using Microsoft's 1. Qt Creator will build and run the project. # Linux +Here's instructions for ubuntu/debian. Should be same across all distros as long as you get the packages. -TODO +```sh +export DISTRIBUTION=AppImage +export EXTRA_PLATFORM_PLUGINS="libqwayland-generic.so" + +sudo apt update +sudo apt install -y \ + cmake \ + ninja-build \ + file \ + libxkbcommon-dev \ + libxkbcommon-x11-0 \ + fuse \ + libxcb-cursor-dev \ + libcups2-dev \ + libglib2.0-0 \ + libglib2.0-dev \ + libproxy1v5 \ + libproxy-dev \ + qt6-base-dev \ + qt6-base-dev-tools \ + qt6-tools-dev \ + qt6-tools-dev-tools \ + qt6-wayland \ + qt6-wayland-dev \ + libqt6waylandclient6 \ + qml6-module-qtwayland-compositor \ + libqt6core5compat6 \ + libqt6core5compat6-dev \ + qt6-base-private-dev + +cmake -S . -B build \ + -G Ninja \ + -DCMAKE_BUILD_TYPE=Release \ + -DAPP_DISTRIBUTION=$DISTRIBUTION +cmake --build build --target appimage --parallel +``` # MacOS diff --git a/i18n/NotepadNext_cs.ts b/i18n/NotepadNext_cs.ts index a37f9cf95..7f43ec170 100644 --- a/i18n/NotepadNext_cs.ts +++ b/i18n/NotepadNext_cs.ts @@ -87,17 +87,17 @@ UTF-8 BOM - UTF-8 BOM + UTF-8 BOM UTF-16LE BOM - UTF-16LE BOM + UTF-16LE BOM UTF-16BE BOM - UTF-16BE BOM + UTF-16BE BOM @@ -441,7 +441,7 @@ Replaced %Ln matches - + Nahrazeno %Ln shod Nahrazeno %Ln shoda Nahrazeno %Ln shod @@ -471,7 +471,7 @@ Found %Ln matches - + Nalezeno %Ln shod Nalezeno %Ln shoda Nalezeno %Ln shod @@ -487,14 +487,6 @@ Složka jako pracovní prostor - - HexViewerDock - - - Hex Viewer - Hexadecimální prohlížeč - - LanguageInspectorDock @@ -748,7 +740,7 @@ - + Export As Exportovat jako @@ -783,1270 +775,1310 @@ Řádkové operace - + Comment/Uncomment Komentovat/Odkomentovat - + Copy As Kopírovat jako - + Encoding/Decoding Kódování/dekódování - + Search Najít - + Bookmarks Záložky - + Mark All Occurrences - Mark All Occurrences + Mark All Occurrences - + Clear Marks - Clear Marks + Clear Marks - + &View &Zobrazit - + &Zoom &Lupa - + Show Symbol Zobrazit znak - + Fold Level Úroveň sbalení - + Unfold Level Úroveň rozbalení - + Language Jazyk - + Settings Nastavení - + Macro Makro - + Help Nápověda - + Encoding Kódování - + Main Tool Bar Hlavní panel nástrojů - + &New &Nový - + Create a new file Vytvořit nový soubor - + Ctrl+N Ctrl+N - + &Open... &Otevřít... - + Ctrl+O Ctrl+O - + &Save &Uložit - + Save Uložit - + Ctrl+S Ctrl+S - + E&xit &Konec - + &Undo &Zpět - + Ctrl+Z Ctrl+Z - + &Redo &Znovu - + Ctrl+Y Ctrl+Y - + Cu&t Vyjmo&ut - + Ctrl+X Ctrl+X - + &Copy &Kopírovat - + Ctrl+C Ctrl+C - + &Paste &Vložit - + Ctrl+V Ctrl+V - + &Delete &Smazat - + Del Del - + Copy Full Path Zkopírovat celou cestu - + Copy File Name Zkopírovat název souboru - + Copy File Directory Kopírovat cestu aktuální složky - + &Close &Zavřít - + Close the current file Zavřít aktuální soubor - + Ctrl+W Ctrl+W - + Save &As... Uložit &jako... - + Ctrl+Alt+S Ctrl+Alt+S - + Save a Copy As... Uložit kopii jako... - + Sav&e All &Uložit vše - + Ctrl+Shift+S Ctrl+Shift+S - + Select A&ll Vybrat vš&e - + Ctrl+A Ctrl+A - + Increase Indent Zvětšit odsazení - + Decrease Indent Zmenšit odsazení - + Rename... Přejmenovat... - + Re&load &Obnovit - + Windows (CR LF) Windows (CR LF) - + Unix (LF) Unix (LF) - + Macintosh (CR) Macintosh (CR) - + UPPER CASE VELKÁ PÍSMENA - + Convert text to upper case Převést text na velká písmena - + lower case malá písmena - + Convert text to lower case Převést text na malá písmena - + Duplicate Current Line Duplikovat aktuální řádek - + Alt+Down Alt+Down - + Split Lines Rozdělit řádky - + Join Lines Spojit řádky - + Ctrl+J Ctrl+J - + Move Selected Lines Up Přesunout vybrané řádky nahoru - + Ctrl+Shift+Up Ctrl+Shift+Up - + Move Selected Lines Down Přesunout vybrané řádky dolů - + Ctrl+Shift+Down Ctrl+Shift+Down - + Clos&e All Zavřít &vše - + Close All files Zavřít všechny soubory - + Ctrl+Shift+W Ctrl+Shift+W - + Close All Except Active Document Zavřít vše kromě aktivního dokumentu - + Close All to the Left Zavřít vše vlevo - + Close All to the Right Zavřít vše vpravo - + Zoom &In &Zvětšit - + Ctrl++ Ctrl++ - + Zoom &Out Zme&nšit - + Ctrl+- Ctrl+- - + Reset Zoom Obnovení měřítka - + Ctrl+0 Ctrl+0 - + About Qt O Qt - + About Notepad Next O Notepad Next - + Show Whitespace Zobrazit prázdé znaky - + Show End of Line Zobrazit konec řádku - + Show All Characters Zobrazit všechny znaky - + Show Indent Guide Zobrazit odsazovací čáry - + Show Wrap Symbol Zobrazit znak zalomení - + Word Wrap Zalomit řádky - + Restore Recently Closed File Obnovit nedávno zavřený soubor - + Ctrl+Shift+T Ctrl+Shift+T - + Open All Recent Files Otevřete všechny poslední soubory - + Clear Recent Files List Vymazat seznam posledních souborů - + &Find... &Najít... - + Ctrl+F Ctrl+F - + Find in Files... Najít v souboru... - + Find &Next Nají &další - + F3 F3 - + Find &Previous Najít &předchozí - + + Shift+F3 + + + + &Replace... Nah&radit... - + Ctrl+H Ctrl+H - + Full Screen Na celou obrazovku - + F11 F11 - - + + Start Recording Začít nahrávání - + Playback Přehrát - + Ctrl+Shift+P Ctrl+Shift+P - + Save Current Recorded Macro... Uložit aktuálně nahrané makro... - + Run a Macro Multiple Times... Spustit makro víckrát... - + Preferences... Předvolby... - + Quick Find Rychlé hledání - + Ctrl+Alt+I Ctrl+Alt+I - + Select Next Instance Vybebrat následující blok - + Ctrl+D Ctrl+D - + Move to Trash... Přesunout do koše... - + Move to Trash Přesunout do koše - + Check for Updates... Zkontrolovat aktualizace... - + &Go to Line... &Přejít na řádek... - + Ctrl+G Ctrl+G - + Print... Tisk... - + Ctrl+P Ctrl+P - + Open Folder as Workspace... Otevřít složku jako pracovní prostor... - + Toggle Single Line Comment Přepnout na jedořátkový komentář - + Ctrl+/ Ctrl+/ - + Single Line Comment Jednořádkový komentář - + Ctrl+K Ctrl+K - + Single Line Uncomment Odkomentovat jeden řádek - + Ctrl+Shift+K Ctrl+Shift+K - + Edit Macros... Upravit makra... - + This is not currently implemented V současné době toto není implementováno - + Column Mode... Režim sloupce... - + Export as HTML... Exportovat jako HTML... - + Export as RTF... Exportovat jako RTF... - + Copy as HTML Kopírovat jako HTML - + Copy as RTF Kopírovat jako RTF - + Base 64 Encode Zakódovat Base 64 - + URL Encode Zakódovat URL - + Base 64 Decode Base 64 Odkódovat - + URL Decode Dekódovát URL - + Copy URL Kopírovat URL - + Remove Empty Lines Odstranit prázdné řádky - - + + Show in Explorer Zobrazit v Průzkumníku - + Open %1 Here - Open %1 Here + Open %1 Here - + Toggle Bookmark Přepnout záložku - + Ctrl+F2 Ctrl+F2 - + Next Bookmark Další záložka - + F2 F2 - + Previous Bookmark Předchozí záložka - + Shift+F2 Shift+F2 - + Clear Bookmarks Vymazat záložky - + Invert Bookmarks Invertovat záložky - + Next Tab Další karta - + Ctrl+Tab Ctrl+Tab - + Previous Tab Předchozí karta - + Ctrl+Shift+Tab Ctrl+Shift+Tab - + Fold Level 1 Úroveň Level 1 - + Alt+1 Alt+1 - + Fold Level 2 Úroveň Level 2 - + Alt+2 Alt+2 - + Fold Level 3 Úroveň Level 3 - + Alt+3 Alt+3 - + Fold Level 4 Úroveň Level 4 - + Alt+4 Alt+4 - + Unfold Level 1 Úroveň Level 1 - + Alt+Shift+1 Alt+Shift+1 - + Unfold Level 2 Úroveň Level 2 - + Alt+Shift+2 Alt+Shift+2 - + Unfold Level 3 Úroveň Level 3 - + Alt+Shift+3 Alt+Shift+3 - + Unfold Level 4 Úroveň Level 4 - + Alt+Shift+4 Alt+Shift+4 - + Fold All Sbalit vše - + Alt+0 - Alt+0 + Alt+0 - + Unfold All Rozbalit vše - + Alt+Shift+0 - Alt+Shift+0 + Alt+Shift+0 - + Fold Level 5 Úroveň Level 5 - + Alt+5 Alt+5 - + Fold Level 6 Úroveň Level 6 - + Alt+6 Alt+6 - + Fold Level 7 Úroveň Level 7 - + Alt+7 Alt+7 - + Fold Level 8 Úroveň Level 8 - + Alt+8 Alt+8 - + Fold Level 9 Úroveň Level 9 - + Alt+9 Alt+9 - + Unfold Level 5 Úroveň Level 5 - + Alt+Shift+5 Alt+Shift+5 - + Unfold Level 6 Úroveň Level 6 - + Alt+Shift+6 Alt+Shift+6 - + Unfold Level 7 Úroveň Level 7 - + Alt+Shift+7 Alt+Shift+7 - + Unfold Level 8 Úroveň Level 8 - + Alt+Shift+8 Alt+Shift+8 - + Unfold Level 9 Úroveň Level 9 - + Alt+Shift+9 Alt+Shift+9 - - + + Toggle Overtype Zapnou přepisování - + Ins Ins - + Debug Info... Debug Info... - + Cut Bookmarked Lines - Cut Bookmarked Lines + Cut Bookmarked Lines - + Copy Bookmarked Lines - Copy Bookmarked Lines + Copy Bookmarked Lines - + Delete Bookmarked Lines - Delete Bookmarked Lines + Delete Bookmarked Lines - + Mark Style 1 - Mark Style 1 + Mark Style 1 - + Mark Style 2 - Mark Style 2 + Mark Style 2 - + Clear Style 1 - Clear Style 1 + Clear Style 1 - + Clear Style 2 - Clear Style 2 + Clear Style 2 - + Mark Style 3 - Mark Style 3 + Mark Style 3 - + Clear Style 3 - Clear Style 3 + Clear Style 3 - - + + Clear All Styles - Clear All Styles + Clear All Styles - + Remove Duplicate Lines - Remove Duplicate Lines + Remove Duplicate Lines - + Remove Consecutive Duplicate Lines - Remove Consecutive Duplicate Lines + Remove Consecutive Duplicate Lines + + + + Sort Lines Ascending + + + + + Sort Lines Descending + + + + + Sort Lines Ascending (Case-Insensitive) + + + + + Sort Lines Descending (Case-Insensitive) + + + + + Sort Lines by Length Ascending + - + + Sort Lines by Length Descending + + + + + Reverse Line Order + + + + Go to line Přejít na řádek - + Line Number (1 - %1) Číslo řádku (1 – %1) - + Stop Recording Zastavit nahrávání - + Debug Info Debug Info - + New %1 Nový %1 - + Create File Vytvořit soubor - + <b>%1</b> does not exist. Do you want to create it? <b>%1</b> neexistuje. Chcete jej vytvořit? - - + + Save file <b>%1</b>? Uložit soubor <b>%1</b>? - - + + Save File Uložit soubor - + Open Folder as Workspace Otevřít složku jako pracovní prostor - - + + Reload File Znovu načíst soubor - + Are you sure you want to reload <b>%1</b>? Any unsaved changes will be lost. Opravdu chcete znovu načíst <b>%1</b>? Všechny neuložené změny budou ztraceny. - + Save a Copy As Uložit kopii jako - - + + Rename Přejmenovat - + Name: Jméno: - + Delete File Smazat soubor - + Are you sure you want to move <b>%1</b> to the trash? Opravdu chcete přesunout <b>%1</b> do koše? - + Error Deleting File Chyba při mazání souboru - + Something went wrong deleting <b>%1</b>? Při mazání <b>%1</b> se něco pokazilo? - + Administrator Administrator - + <b>%1</b> has been modified by another program. Do you want to reload it? - <b>%1</b> has been modified by another program. Do you want to reload it? + <b>%1</b> has been modified by another program. Do you want to reload it? - + Read error - Read error + Read error - + Write error - Write error + Write error - + Fatal error - Fatal error + Fatal error - + Resource error - Resource error + Resource error - + Open error - Open error + Open error - + Abort error - Abort error + Abort error - + Timeout error - Timeout error + Timeout error - + Unspecified error - Unspecified error + Unspecified error - + Remove error - Remove error + Remove error - + Rename error - Rename error + Rename error - + Position error - Position error + Position error - + Resize error - Resize error + Resize error - + Permissions error - Permissions error + Permissions error - + Copy error - Copy error + Copy error - + Unknown error (%1) - Unknown error (%1) + Unknown error (%1) - + Error Saving File Chyba při ukládání souboru - + An error occurred when saving <b>%1</b><br><br>Error: %2 Při ukládání <b>%1</b><br><br>Chyba: %2 došlo k chybě - + Zoom: %1% Lupa: %1% - + No updates are available at this time. V tuto chvíli nejsou k dispozici žádné aktualizace. @@ -2131,33 +2163,33 @@ Default Line Endings - Default Line Endings + Default Line Endings Highlight URLs - Highlight URLs + Highlight URLs Show Line Numbers - Show Line Numbers + Show Line Numbers Default Directory - Default Directory + Default Directory Follow Current Document - Follow Current Document + Follow Current Document Last Used Directory - Last Used Directory + Last Used Directory @@ -2187,7 +2219,7 @@ System Default - System Default + System Default @@ -2197,7 +2229,7 @@ Linux (LF) - Linux (LF) + Linux (LF) @@ -2215,7 +2247,7 @@ Frame - Frame + Frame diff --git a/i18n/NotepadNext_de.ts b/i18n/NotepadNext_de.ts index 6a1a14598..e256ec9c0 100644 --- a/i18n/NotepadNext_de.ts +++ b/i18n/NotepadNext_de.ts @@ -87,17 +87,17 @@ UTF-8 BOM - UTF-8 BOM + UTF-8 BOM UTF-16LE BOM - UTF-16LE BOM + UTF-16LE BOM UTF-16BE BOM - UTF-16BE BOM + UTF-16BE BOM @@ -277,12 +277,12 @@ Contracted Fold Next - Contracted Fold Next + Contracted Fold Next Caret - Caret + Caret @@ -292,7 +292,7 @@ Caret Virtual Space - Caret Virtual Space + Caret Virtual Space @@ -483,14 +483,6 @@ Ordner als Arbeitsbereich - - HexViewerDock - - - Hex Viewer - Hex-Viewer - - LanguageInspectorDock @@ -744,7 +736,7 @@ - + Export As Exportieren als @@ -780,1271 +772,1311 @@ Linienbetrieb - + Comment/Uncomment Kommentar/Kommentar entfernen - + Copy As Kopieren als - + Encoding/Decoding Kodierung/Dekodierung - + Search Suche - + Bookmarks Lesezeichen - + Mark All Occurrences Alle Vorkommen markieren - + Clear Marks Spuren Entfernen - + &View &Ansicht - + &Zoom &Zoom - + Show Symbol Symbol anzeigen - + Fold Level Ebene falten - + Unfold Level Ebene entfalten - + Language Sprache - + Settings Einstellungen - + Macro Makro - + Help Hilfe - + Encoding Kodierung - + Main Tool Bar Hauptsymbolleiste - + &New &Neu - + Create a new file Neue Datei erstellen - + Ctrl+N Strg+N - + &Open... &Öffnen... - + Ctrl+O Strg+O - + &Save &Speichern - + Save Speichern - + Ctrl+S Strg+S - + E&xit Beenden - + &Undo &Rückgängig - + Ctrl+Z Strg+Z - + &Redo Wiede&rholen - + Ctrl+Y Strg+Y - + Cu&t Ausschneiden - + Ctrl+X Strg+X - + &Copy &Kopieren - + Ctrl+C Strg+C - + &Paste &Einfügen - + Ctrl+V Strg+V - + &Delete &Löschen - + Del Del - + Copy Full Path Vollständigen Pfad kopieren - + Copy File Name Dateinamen kopieren - + Copy File Directory Dateiverzeichnis kopieren - + &Close &Schließen - + Close the current file Aktuelle Datei schließen - + Ctrl+W Strg+W - + Save &As... Speichern als... - + Ctrl+Alt+S Strg+Alt+S - + Save a Copy As... Kopie Speichern als... - + Sav&e All Alle speichern - + Ctrl+Shift+S Strg+Umschalt+S - + Select A&ll Alle auswählen - + Ctrl+A Strg+A - + Increase Indent Einzug vergrößern - + Decrease Indent Einzug verringern - + Rename... Umbenennen... - + Re&load Neu laden - + Windows (CR LF) Windows (CR LF) - + Unix (LF) Unix (LF) - + Macintosh (CR) Macintosh (CR) - + UPPER CASE Großbuchstaben - + Convert text to upper case Text in Großbuchstaben umwandeln - + lower case Kleinbuchstaben - + Convert text to lower case Text in Kleinbuchstaben umwandeln - + Duplicate Current Line Aktuelle Zeile duplizieren - + Alt+Down Alt+Nach unten - + Split Lines Zeilen trennen - + Join Lines Zeilen verbinden - + Ctrl+J Strg+J - + Move Selected Lines Up Ausgewählte Zeilen nach oben verschieben - + Ctrl+Shift+Up Strg+Umschalt+Nach Oben - + Move Selected Lines Down Ausgewählte Zeilen nach unten verschieben - + Ctrl+Shift+Down Strg+Umschalt+Nach unten - + Clos&e All Alle schließen - + Close All files Alle Dateien schließen - + Ctrl+Shift+W Strg+Umschalt+W - + Close All Except Active Document Alle außer aktivem Dokument schließen - + Close All to the Left Alle links schließen - + Close All to the Right Alle rechts schließen - + Zoom &In Vergrößer - + Ctrl++ Strg++ - + Zoom &Out Verkleinern - + Ctrl+- Strg+- - + Reset Zoom Zoom zurücksetzen - + Ctrl+0 Strg+0 - + About Qt Über Qt - + About Notepad Next Über Notepad Next - + Show Whitespace Leerzeichen anzeigen - + Show End of Line Zeilen Ende anzeigen - + Show All Characters Alle Zeichen anzeigen - + Show Indent Guide Einrückungshilfe anzeigen - + Show Wrap Symbol Zeilenumbruch Symbol anzeigen - + Word Wrap Zeilenumbruch - + Restore Recently Closed File Zuletzt geschlossene Datei wiederherstellen - + Ctrl+Shift+T Strg+Umschalt+T - + Open All Recent Files Alle zuletzt geöffneten Dateien öffnen - + Clear Recent Files List Liste der zuletzt verwendeten Dateien löschen - + &Find... &Finden... - + Ctrl+F Strg+F - + Find in Files... In Dateien suchen... - + Find &Next Nächstes suchen - + F3 F3 - + Find &Previous Vorherige suchen - + + Shift+F3 + Umschalt+F3 + + + &Replace... &Ersetzen... - + Ctrl+H Strg+H - + Full Screen Vollbild - + F11 F11 - - + + Start Recording Aufnahme starten - + Playback Wiedergabe - + Ctrl+Shift+P Strg+Umschalt+P - + Save Current Recorded Macro... Aktuelles aufgezeichnetes Makro speichern... - + Run a Macro Multiple Times... Makro mehrmals ausführen... - + Preferences... Einstellungen... - + Quick Find Schnellsuche - + Ctrl+Alt+I Strg+Alt+I - + Select Next Instance Nächste Instanz auswählen - + Ctrl+D Strg+D - + Move to Trash... In den Papierkorb verschieben... - + Move to Trash In den Papierkorb verschieben - + Check for Updates... Auf Updates prüfen... - + &Go to Line... &Gehe zu Zeile... - + Ctrl+G Strg+G - + Print... Drucken... - + Ctrl+P Strg+P - + Open Folder as Workspace... Ordner als Arbeitsbereich öffnen... - + Toggle Single Line Comment Einzeiligen Kommentar umschalten - + Ctrl+/ Strg+/ - + Single Line Comment Einzeiliger Kommentar - + Ctrl+K Strg+K - + Single Line Uncomment Einzelne Zeile auskommentieren - + Ctrl+Shift+K Strg+Umschalt - + Edit Macros... Makros bearbeiten... - + This is not currently implemented Dies ist derzeit nicht implementiert. - + Column Mode... Spaltenmodus... - + Export as HTML... Als HTML exportieren... - + Export as RTF... Als RTF exportieren... - + Copy as HTML Als HTML kopieren - + Copy as RTF Als RTF kopieren - + Base 64 Encode Base64-Kodierung - + URL Encode URL-Kodierung - + Base 64 Decode Base 64-Decodierung - + URL Decode URL-Decodierung - + Copy URL URL kopieren - + Remove Empty Lines Leere Zeilen entfernen - - + + Show in Explorer Im Explorer anzeigen - + Open %1 Here Öffnen Sie %1 hier - + Toggle Bookmark Lesezeichen umschalten - + Ctrl+F2 Strg+F2 - + Next Bookmark Nächstes Lesezeichen - + F2 F2 - + Previous Bookmark Vorheriges Lesezeichen - + Shift+F2 Umschalt+F2 - + Clear Bookmarks Lesezeichen löschen - + Invert Bookmarks Lesezeichen umkehren - + Next Tab Nächste Registerkarte - + Ctrl+Tab Strg+Tab - + Previous Tab Vorherige Registerkarte - + Ctrl+Shift+Tab Strg+Umschalt+Tab - + Fold Level 1 Faltstufe 1 - + Alt+1 Alt+1 - + Fold Level 2 Faltstufe 2 - + Alt+2 Alt+2 - + Fold Level 3 Faltstufe 3 - + Alt+3 Alt+3 - + Fold Level 4 Faltstufe 4 - + Alt+4 Alt+4 - + Unfold Level 1 Stufe 1 aufklappen - + Alt+Shift+1 Alt+Umschalt+1 - + Unfold Level 2 Stufe 2 aufklappen - + Alt+Shift+2 Alt+Umschalt+2 - + Unfold Level 3 Stufe 3 aufklappen - + Alt+Shift+3 Alt+Umschalt+3 - + Unfold Level 4 Stufe 4 aufklappen - + Alt+Shift+4 Alt+Umschalt+4 - + Fold All Alle falten - + Alt+0 Alt+0 - + Unfold All Alle aufklappen - + Alt+Shift+0 Alt+Umschalt+0 - + Fold Level 5 Faltstufe 5 - + Alt+5 Alt+5 - + Fold Level 6 Faltstufe 6 - + Alt+6 Alt+6 - + Fold Level 7 Faltstufe 7 - + Alt+7 Alt+7 - + Fold Level 8 Faltstufe 8 - + Alt+8 Alt+8 - + Fold Level 9 Faltstufe 9 - + Alt+9 Alt+9 - + Unfold Level 5 Stufe 5 aufklappen - + Alt+Shift+5 Alt+Umschalt+5 - + Unfold Level 6 Stufe 6 aufklappen - + Alt+Shift+6 Alt+Umschalt+6 - + Unfold Level 7 Stufe 7 aufklappen - + Alt+Shift+7 Alt+Umschalt+7 - + Unfold Level 8 Stufe 8 aufklappen - + Alt+Shift+8 Alt+Umschalt+8 - + Unfold Level 9 Stufe 9 aufklappen - + Alt+Shift+9 Alt+Umschalt+9 - - + + Toggle Overtype Überschreiben umschalten - + Ins Ins - + Debug Info... Debug-Informationen... - + Cut Bookmarked Lines Mit Lesezeichen versehene Zeilen ausschneiden - + Copy Bookmarked Lines Mit Lesezeichen versehene Zeilen kopieren - + Delete Bookmarked Lines Mit Lesezeichen versehene Zeilen löschen - + Mark Style 1 Markierungsstil 1 - + Mark Style 2 Markierungsstil 2 - + Clear Style 1 Stil 1 entfernen - + Clear Style 2 Stil 2 entfernen - + Mark Style 3 Markierungsstil 3 - + Clear Style 3 Stil 3 entfernen - - + + Clear All Styles Alle Stile löschen - + Remove Duplicate Lines - Remove Duplicate Lines + Remove Duplicate Lines - + Remove Consecutive Duplicate Lines - Remove Consecutive Duplicate Lines + Remove Consecutive Duplicate Lines + + + + Sort Lines Ascending + + + + + Sort Lines Descending + + + + + Sort Lines Ascending (Case-Insensitive) + + + + + Sort Lines Descending (Case-Insensitive) + + + + + Sort Lines by Length Ascending + - + + Sort Lines by Length Descending + + + + + Reverse Line Order + Linienreihenfolge umkehren + + + Go to line Zur Zeile gehen - + Line Number (1 - %1) Zeilennummer (1 - %1) - + Stop Recording Aufnahme beenden - + Debug Info Debug-Informationen - + New %1 Neu %1 - + Create File Datei erstellen - + <b>%1</b> does not exist. Do you want to create it? <b>%1</b> existiert nicht. Möchten Sie es erstellen? - - + + Save file <b>%1</b>? Datei <b>%1</b> speichern? - - + + Save File Datei speichern - + Open Folder as Workspace Ordner als Arbeitsbereich öffnen - - + + Reload File Datei neu laden - + Are you sure you want to reload <b>%1</b>? Any unsaved changes will be lost. Möchten Sie <b>%1</b> wirklich neu laden? Alle nicht gespeicherten Änderungen gehen verloren. - + Save a Copy As Kopie speichern unter - - + + Rename Umbenennen - + Name: Name: - + Delete File Datei löschen - + Are you sure you want to move <b>%1</b> to the trash? Möchten Sie <b>%1</b> wirklich in den Papierkorb verschieben? - + Error Deleting File Fehler beim Löschen der Datei - + Something went wrong deleting <b>%1</b>? Beim Löschen von <b>%1</b> ist ein Fehler aufgetreten? - + Administrator Administrator - + <b>%1</b> has been modified by another program. Do you want to reload it? <b>%1</b> wurde von einem anderen Programm geändert. Möchten Sie es neu laden? - + Read error - Read error + Read error - + Write error - Write error + Write error - + Fatal error - Fatal error + Fatal error - + Resource error - Resource error + Resource error - + Open error - Open error + Open error - + Abort error - Abort error + Abort error - + Timeout error - Timeout error + Timeout error - + Unspecified error - Unspecified error + Unspecified error - + Remove error - Remove error + Remove error - + Rename error - Rename error + Rename error - + Position error - Position error + Position error - + Resize error - Resize error + Resize error - + Permissions error - Permissions error + Permissions error - + Copy error - Copy error + Copy error - + Unknown error (%1) - Unknown error (%1) + Unknown error (%1) - + Error Saving File Fehler beim Speichern der Datei - + An error occurred when saving <b>%1</b><br><br>Error: %2 Beim Speichern ist ein Fehler aufgetreten <b>%1</b><br><br>Fehler: %2 - + Zoom: %1% Zoom: %1% - + No updates are available at this time. Derzeit sind keine Updates verfügbar. @@ -2145,17 +2177,17 @@ Default Directory - Default Directory + Default Directory Follow Current Document - Follow Current Document + Follow Current Document Last Used Directory - Last Used Directory + Last Used Directory diff --git a/i18n/NotepadNext_en.ts b/i18n/NotepadNext_en.ts index 6c0d21e92..9be0bb3b9 100644 --- a/i18n/NotepadNext_en.ts +++ b/i18n/NotepadNext_en.ts @@ -736,7 +736,7 @@ - + Export As @@ -771,1305 +771,1310 @@ - + Comment/Uncomment - + Copy As - + Encoding/Decoding - + Search - + Bookmarks - + Mark All Occurrences - + Clear Marks - + &View - + &Zoom - + Show Symbol - + Fold Level - + Unfold Level - + Language - + Settings - + Macro - + Help - + Encoding - + Main Tool Bar - + &New - + Create a new file - + Ctrl+N - + &Open... - + Ctrl+O - + &Save - + Save - + Ctrl+S - + E&xit - + &Undo - + Ctrl+Z - + &Redo - + Ctrl+Y - + Cu&t - + Ctrl+X - + &Copy - + Ctrl+C - + &Paste - + Ctrl+V - + &Delete - + Del - + Copy Full Path - + Copy File Name - + Copy File Directory - + &Close - + Close the current file - + Ctrl+W - + Save &As... - + Ctrl+Alt+S - + Save a Copy As... - + Sav&e All - + Ctrl+Shift+S - + Select A&ll - + Ctrl+A - + Increase Indent - + Decrease Indent - + Rename... - + Re&load - + Windows (CR LF) - + Unix (LF) - + Macintosh (CR) - + UPPER CASE - + Convert text to upper case - + lower case - + Convert text to lower case - + Duplicate Current Line - + Alt+Down - + Split Lines - + Join Lines - + Ctrl+J - + Move Selected Lines Up - + Ctrl+Shift+Up - + Move Selected Lines Down - + Ctrl+Shift+Down - + Clos&e All - + Close All files - + Ctrl+Shift+W - + Close All Except Active Document - + Close All to the Left - + Close All to the Right - + Zoom &In - + Ctrl++ - + Zoom &Out - + Ctrl+- - + Reset Zoom - + Ctrl+0 - + About Qt - + About Notepad Next - + Show Whitespace - + Show End of Line - + Show All Characters - + Show Indent Guide - + Show Wrap Symbol - + Word Wrap - + Restore Recently Closed File - + Ctrl+Shift+T - + Open All Recent Files - + Clear Recent Files List - + &Find... - + Ctrl+F - + Find in Files... - + Find &Next - + F3 - + Find &Previous - + Shift+F3 - + &Replace... - + Ctrl+H - + Full Screen - + F11 - - + + Start Recording - + Playback - + Ctrl+Shift+P - + Save Current Recorded Macro... - + Run a Macro Multiple Times... - + Preferences... - + Quick Find - + Ctrl+Alt+I - + Select Next Instance - + Ctrl+D - + Move to Trash... - + Move to Trash - + Check for Updates... - + &Go to Line... - + Ctrl+G - + Print... - + Ctrl+P - + Open Folder as Workspace... - + Toggle Single Line Comment - + Ctrl+/ - + Single Line Comment - + Ctrl+K - + Single Line Uncomment - + Ctrl+Shift+K - + Edit Macros... - + This is not currently implemented - + Column Mode... - + Export as HTML... - + Export as RTF... - + Copy as HTML - + Copy as RTF - + Base 64 Encode - + URL Encode - + Base 64 Decode - + URL Decode - + Copy URL - + Remove Empty Lines - - + + Show in Explorer - + Open %1 Here - + Toggle Bookmark - + Ctrl+F2 - + Next Bookmark - + F2 - + Previous Bookmark - + Shift+F2 - + Clear Bookmarks - + Invert Bookmarks - + Next Tab - + Ctrl+Tab - + Previous Tab - + Ctrl+Shift+Tab - + Fold Level 1 - + Alt+1 - + Fold Level 2 - + Alt+2 - + Fold Level 3 - + Alt+3 - + Fold Level 4 - + Alt+4 - + Unfold Level 1 - + Alt+Shift+1 - + Unfold Level 2 - + Alt+Shift+2 - + Unfold Level 3 - + Alt+Shift+3 - + Unfold Level 4 - + Alt+Shift+4 - + Fold All - + Alt+0 - + Unfold All - + Alt+Shift+0 - + Fold Level 5 - + Alt+5 - + Fold Level 6 - + Alt+6 - + Fold Level 7 - + Alt+7 - + Fold Level 8 - + Alt+8 - + Fold Level 9 - + Alt+9 - + Unfold Level 5 - + Alt+Shift+5 - + Unfold Level 6 - + Alt+Shift+6 - + Unfold Level 7 - + Alt+Shift+7 - + Unfold Level 8 - + Alt+Shift+8 - + Unfold Level 9 - + Alt+Shift+9 - - + + Toggle Overtype - + Ins - + Debug Info... - + Cut Bookmarked Lines - + Copy Bookmarked Lines - + Delete Bookmarked Lines - + Mark Style 1 - + Mark Style 2 - + Clear Style 1 - + Clear Style 2 - + Mark Style 3 - + Clear Style 3 - - + + Clear All Styles - + Remove Duplicate Lines - + Remove Consecutive Duplicate Lines - + Sort Lines Ascending - + Sort Lines Descending - + Sort Lines Ascending (Case-Insensitive) - + Sort Lines Descending (Case-Insensitive) - + Sort Lines by Length Ascending - + Sort Lines by Length Descending - + + Reverse Line Order + + + + Go to line - + Line Number (1 - %1) - + Stop Recording - + Debug Info - + New %1 - + Create File - + <b>%1</b> does not exist. Do you want to create it? - - + + Save file <b>%1</b>? - - + + Save File - + Open Folder as Workspace - - + + Reload File - + Are you sure you want to reload <b>%1</b>? Any unsaved changes will be lost. - + Save a Copy As - - + + Rename - + Name: - + Delete File - + Are you sure you want to move <b>%1</b> to the trash? - + Error Deleting File - + Something went wrong deleting <b>%1</b>? - + Administrator - + <b>%1</b> has been modified by another program. Do you want to reload it? - + Read error - + Write error - + Fatal error - + Resource error - + Open error - + Abort error - + Timeout error - + Unspecified error - + Remove error - + Rename error - + Position error - + Resize error - + Permissions error - + Copy error - + Unknown error (%1) - + Error Saving File - + An error occurred when saving <b>%1</b><br><br>Error: %2 - + Zoom: %1% - + No updates are available at this time. diff --git a/i18n/NotepadNext_es.ts b/i18n/NotepadNext_es.ts index a58c34f47..60551e1ce 100644 --- a/i18n/NotepadNext_es.ts +++ b/i18n/NotepadNext_es.ts @@ -87,29 +87,29 @@ UTF-8 BOM - UTF-8 BOM + UTF-8 BOM UTF-16LE BOM - UTF-16LE BOM + UTF-16LE BOM UTF-16BE BOM - UTF-16BE BOM + UTF-16BE BOM OVR This is a short abbreviation to indicate characters will be replaced when typing - OVR + OVR INS This is a short abbreviation to indicate characters will be inserted when typing - INS + INS @@ -483,14 +483,6 @@ Carpeta como área de trabajo - - HexViewerDock - - - Hex Viewer - Visualizador hexadecimal - - LanguageInspectorDock @@ -744,7 +736,7 @@ - + Export As Exportar como @@ -779,1270 +771,1310 @@ Operaciones de línea - + Comment/Uncomment Comentar/Remover comentario - + Copy As Copiar como - + Encoding/Decoding Codificación/Decodificación - + Search Buscar - + Bookmarks Marcadores - + Mark All Occurrences - Mark All Occurrences + Mark All Occurrences - + Clear Marks - Clear Marks + Clear Marks - + &View &Ver - + &Zoom &Hacer zoom - + Show Symbol Mostrar símbolo - + Fold Level Nivel de pliegue - + Unfold Level Nivel de despliegue - + Language Lenguaje - + Settings Ajustes - + Macro Macro - + Help Ayuda - + Encoding Codificación - + Main Tool Bar Barra de herramientas principal - + &New &Nuevo - + Create a new file Crear un nuevo archivo - + Ctrl+N Ctrl+N - + &Open... &Abrir... - + Ctrl+O Ctrl+O - + &Save &Guardar - + Save Guardar - + Ctrl+S Ctrl+S - + E&xit Sa&lir - + &Undo Des&hacer - + Ctrl+Z Ctrl+Z - + &Redo &Rehacer - + Ctrl+Y Ctrl+Y - + Cu&t Cor&tar - + Ctrl+X Ctrl+X - + &Copy &Copiar - + Ctrl+C Ctrl+C - + &Paste &Pegar - + Ctrl+V Ctrl+V - + &Delete &Borrar - + Del Del - + Copy Full Path Copiar dirección completa - + Copy File Name Copiar nombre de archivo - + Copy File Directory Copiar directorio de archivos - + &Close &Cerrar - + Close the current file Cerrar el archivo actual - + Ctrl+W Ctrl+W - + Save &As... Guardar &como... - + Ctrl+Alt+S Ctrl+Alt+S - + Save a Copy As... Guardar una copia como... - + Sav&e All Guar&dar todo - + Ctrl+Shift+S Ctrl+Shift+S - + Select A&ll Seleccionar t&odo - + Ctrl+A Ctrl+A - + Increase Indent Aumentar sangría - + Decrease Indent Disminuir sangría - + Rename... Renombrar... - + Re&load Re&cargar - + Windows (CR LF) Windows (CR LF) - + Unix (LF) Unix (LF) - + Macintosh (CR) Macintosh (CR) - + UPPER CASE MAYÚSCULAS - + Convert text to upper case Convertir texto a mayúsculas - + lower case minúsculas - + Convert text to lower case Convertir texto a minúsculas - + Duplicate Current Line Duplicar línea actual - + Alt+Down Alt+Abajo - + Split Lines Dividir líneas - + Join Lines Juntar líneas - + Ctrl+J Ctrl+J - + Move Selected Lines Up Mover líneas selecionadas para arriba - + Ctrl+Shift+Up Ctrl+Shift+Arriba - + Move Selected Lines Down Mover líneas selecionadas para abajo - + Ctrl+Shift+Down Ctrl+Shift+Abajo - + Clos&e All Cerrar &todo - + Close All files Cerrar todos los archivos - + Ctrl+Shift+W Ctrl+Shift+W - + Close All Except Active Document Cerrar todo excepto el documento activo - + Close All to the Left Cerrar todo a la izquierda - + Close All to the Right Cerrar todo a la derecha - + Zoom &In A&umentar zoom - + Ctrl++ Ctrl++ - + Zoom &Out &Reducir zoom - + Ctrl+- Ctrl+- - + Reset Zoom Reiniciar zoom - + Ctrl+0 Ctrl+0 - + About Qt Acerca de Qt - + About Notepad Next Acerca de Notepad Next - + Show Whitespace Mostrar espacios en blanco - + Show End of Line Mostrar fin de línea - + Show All Characters Mostrar todos los caracteres - + Show Indent Guide Mostrar guía de sangría - + Show Wrap Symbol Mostrar símbolo de ajuste de línea - + Word Wrap Ajuste de línea - + Restore Recently Closed File Restaurar archivo cerrado recientemente - + Ctrl+Shift+T Ctrl+Shift+T - + Open All Recent Files Abrir todos los archivos recientes - + Clear Recent Files List Limpar lista de archivos recientes - + &Find... &Buscar... - + Ctrl+F Ctrl+F - + Find in Files... Buscar en archivos... - + Find &Next Buscar si&guiente - + F3 F3 - + Find &Previous Buscar &anterior - + + Shift+F3 + + + + &Replace... &Reemplazar... - + Ctrl+H Ctrl+H - + Full Screen Pantalla completa - + F11 F11 - - + + Start Recording Iniciar grabación - + Playback Reproducir - + Ctrl+Shift+P Ctrl+Shift+P - + Save Current Recorded Macro... Guardar macro grabada actual... - + Run a Macro Multiple Times... Ejecutar una macro varias veces... - + Preferences... Preferencias... - + Quick Find Búsqueda rápida - + Ctrl+Alt+I Ctrl+Alt+I - + Select Next Instance Seleccionar instancia siguiente - + Ctrl+D Ctrl+D - + Move to Trash... Mover a la papelera... - + Move to Trash Mover a la papelera - + Check for Updates... Buscar actualizaciones... - + &Go to Line... &Ir a la línea... - + Ctrl+G Ctrl+G - + Print... Imprimir... - + Ctrl+P Ctrl+P - + Open Folder as Workspace... Abrir carpeta como área de trabajo... - + Toggle Single Line Comment Insertar/Remover comentario de línea única - + Ctrl+/ Ctrl+/ - + Single Line Comment Comentario de línea única - + Ctrl+K Ctrl+K - + Single Line Uncomment Remover comentario de línea actual - + Ctrl+Shift+K Ctrl+Shift+K - + Edit Macros... Editar macros... - + This is not currently implemented Esto actualmente no está implementado - + Column Mode... Modo de columna... - + Export as HTML... Exportar como HTML... - + Export as RTF... Exportar como RTF... - + Copy as HTML Copiar como HTML - + Copy as RTF Copiar como RTF - + Base 64 Encode Codificar en base 64 - + URL Encode Codificar para URL - + Base 64 Decode Decodificar de base 64 - + URL Decode Decodificar URL - + Copy URL Copiar URL - + Remove Empty Lines Remover líneas vacías - - + + Show in Explorer Mostrar en el explorador - + Open %1 Here Abrir %1 aquí - + Toggle Bookmark Alternar marcador - + Ctrl+F2 Ctrl+F2 - + Next Bookmark Marcador siguiente - + F2 F2 - + Previous Bookmark Marcador anterior - + Shift+F2 Shift+F2 - + Clear Bookmarks Limpiar marcadores - + Invert Bookmarks Invertir marcadores - + Next Tab Pestaña siguiente - + Ctrl+Tab Ctrl+Tab - + Previous Tab Pestaña anterior - + Ctrl+Shift+Tab Ctrl+Shift+Tab - + Fold Level 1 Nivel de pliegue 1 - + Alt+1 Alt+1 - + Fold Level 2 Nivel de pliegue 2 - + Alt+2 Alt+2 - + Fold Level 3 Nivel de pliegue 3 - + Alt+3 Alt+3 - + Fold Level 4 Nivel de pliegue 4 - + Alt+4 Alt+4 - + Unfold Level 1 Nivel de despliegue 1 - + Alt+Shift+1 Alt+Shift+1 - + Unfold Level 2 Nivel de despliegue 2 - + Alt+Shift+2 Alt+Shift+2 - + Unfold Level 3 Nivel de despliegue 3 - + Alt+Shift+3 Alt+Shift+3 - + Unfold Level 4 Nivel de despliegue 4 - + Alt+Shift+4 Alt+Shift+4 - + Fold All Plegar todo - + Alt+0 Alt+0 - + Unfold All Desplegar todo - + Alt+Shift+0 Alt+Shift+0 - + Fold Level 5 Nivel de pliegue 5 - + Alt+5 Alt+5 - + Fold Level 6 Nivel de pliegue 6 - + Alt+6 Alt+6 - + Fold Level 7 Nivel de pliegue 7 - + Alt+7 Alt+7 - + Fold Level 8 Nivel de pliegue 8 - + Alt+8 Alt+8 - + Fold Level 9 Nivel de pliegue 9 - + Alt+9 Alt+9 - + Unfold Level 5 Nivel de despliegue 5 - + Alt+Shift+5 Alt+Shift+5 - + Unfold Level 6 Nivel de despliegue 6 - + Alt+Shift+6 Alt+Shift+6 - + Unfold Level 7 Nivel de despliegue 7 - + Alt+Shift+7 Alt+Shift+7 - + Unfold Level 8 Nivel de despliegue 8 - + Alt+Shift+8 Alt+Shift+8 - + Unfold Level 9 Nivel de despliegue 9 - + Alt+Shift+9 Alt+Shift+9 - - + + Toggle Overtype Insertar/remover sobreescritura - + Ins - Ins + Ins - + Debug Info... Información de depuración - + Cut Bookmarked Lines Cortar líneas marcadas - + Copy Bookmarked Lines Copiar líneas marcadas - + Delete Bookmarked Lines Borrar líneas marcadas - + Mark Style 1 - Mark Style 1 + Mark Style 1 - + Mark Style 2 - Mark Style 2 + Mark Style 2 - + Clear Style 1 - Clear Style 1 + Clear Style 1 - + Clear Style 2 - Clear Style 2 + Clear Style 2 - + Mark Style 3 - Mark Style 3 + Mark Style 3 - + Clear Style 3 - Clear Style 3 + Clear Style 3 - - + + Clear All Styles - Clear All Styles + Clear All Styles - + Remove Duplicate Lines - Remove Duplicate Lines + Remove Duplicate Lines - + Remove Consecutive Duplicate Lines - Remove Consecutive Duplicate Lines + Remove Consecutive Duplicate Lines + + + + Sort Lines Ascending + + + + + Sort Lines Descending + + + + + Sort Lines Ascending (Case-Insensitive) + + + + + Sort Lines Descending (Case-Insensitive) + + + + + Sort Lines by Length Ascending + - + + Sort Lines by Length Descending + + + + + Reverse Line Order + + + + Go to line Ir a la línea - + Line Number (1 - %1) Número de línea (1 - %1) - + Stop Recording Parar grabación - + Debug Info Información de depuración - + New %1 Nuevo %1 - + Create File Crear archivo - + <b>%1</b> does not exist. Do you want to create it? <b>%1</b> no existe. ¿Desea crearlo? - - + + Save file <b>%1</b>? ¿Guardar archivo <b>%1</b>? - - + + Save File Guardar archivo - + Open Folder as Workspace Abrir carpeta como área de trabajo - - + + Reload File Volver a cargar archivo - + Are you sure you want to reload <b>%1</b>? Any unsaved changes will be lost. ¿Está seguro de que desea volver a cargar <b>%1</b>? Todos los cambios sin guardar se perderán. - + Save a Copy As Guardar una copia como - - + + Rename Renombrar - + Name: Nombre: - + Delete File Borrar archivo - + Are you sure you want to move <b>%1</b> to the trash? ¿Está seguro de que desea mover <b>%1</b> a la papelera? - + Error Deleting File Error al eliminar archivo - + Something went wrong deleting <b>%1</b>? Algo salió mal al eliminar <b>%1</b>? - + Administrator Administrador - + <b>%1</b> has been modified by another program. Do you want to reload it? - <b>%1</b> has been modified by another program. Do you want to reload it? + <b>%1</b> has been modified by another program. Do you want to reload it? - + Read error - Read error + Read error - + Write error - Write error + Write error - + Fatal error - Fatal error + Fatal error - + Resource error - Resource error + Resource error - + Open error - Open error + Open error - + Abort error - Abort error + Abort error - + Timeout error - Timeout error + Timeout error - + Unspecified error - Unspecified error + Unspecified error - + Remove error - Remove error + Remove error - + Rename error - Rename error + Rename error - + Position error - Position error + Position error - + Resize error - Resize error + Resize error - + Permissions error - Permissions error + Permissions error - + Copy error - Copy error + Copy error - + Unknown error (%1) - Unknown error (%1) + Unknown error (%1) - + Error Saving File Error al guardar archivo - + An error occurred when saving <b>%1</b><br><br>Error: %2 Ocurrió un error al guardar <b>%1</b><br><br>Error: %2 - + Zoom: %1% Zoom: %1% - + No updates are available at this time. No hay actualizaciones disponibles en este momento. @@ -2132,28 +2164,28 @@ Highlight URLs - Highlight URLs + Highlight URLs Show Line Numbers - Show Line Numbers + Show Line Numbers Default Directory - Default Directory + Default Directory Follow Current Document - Follow Current Document + Follow Current Document Last Used Directory - Last Used Directory + Last Used Directory diff --git a/i18n/NotepadNext_fr.ts b/i18n/NotepadNext_fr.ts index 9a1cf26c9..f96e6df40 100644 --- a/i18n/NotepadNext_fr.ts +++ b/i18n/NotepadNext_fr.ts @@ -483,14 +483,6 @@ Dossier en tant qu’espace de travail - - HexViewerDock - - - Hex Viewer - Éditeur Hexadécimal - - LanguageInspectorDock @@ -744,7 +736,7 @@ - + Export As Exporter sous @@ -779,1270 +771,1310 @@ Opérations de ligne - + Comment/Uncomment Commenter/Décommenter - + Copy As Copier en tant que - + Encoding/Decoding Encodage/Décodage - + Search Recherche - + Bookmarks Favoris - + Mark All Occurrences Marquer toutes les occurrences - + Clear Marks Effacer les marques - + &View &Voir - + &Zoom &Zoom - + Show Symbol Afficher les symboles - + Fold Level Plier le niveau - + Unfold Level Déplier le niveau - + Language Langue - + Settings Réglages - + Macro Macro - + Help Aide - + Encoding Encodage - + Main Tool Bar Barre d’outils principale - + &New &Nouveau - + Create a new file Créer un nouveau fichier - + Ctrl+N Ctrl+N - + &Open... &Ouvrir... - + Ctrl+O Ctrl+O - + &Save &Enregistrer - + Save Enregistrer - + Ctrl+S Ctrl+S - + E&xit Quitter - + &Undo Ann&uler - + Ctrl+Z Ctrl+Z - + &Redo &Rétablir - + Ctrl+Y Ctrl+Y - + Cu&t Couper - + Ctrl+X Ctrl+X - + &Copy &Copier - + Ctrl+C Ctrl+C - + &Paste Coller - + Ctrl+V Ctrl+V - + &Delete Supprimer - + Del Suppr - + Copy Full Path Copier le chemin complet - + Copy File Name Copier le nom du fichier - + Copy File Directory Copier le répertoire de fichiers - + &Close Fermer - + Close the current file Fermer le fichier actuel - + Ctrl+W Ctrl+W - + Save &As... Enregistrer sous... - + Ctrl+Alt+S Ctrl+Alt+S - + Save a Copy As... Enregistrer une copie sous... - + Sav&e All Tout &enregistrer - + Ctrl+Shift+S Ctrl+Maj+S - + Select A&ll Tout sé&lectionner - + Ctrl+A Ctrl+A - + Increase Indent Augmenter l’indentation - + Decrease Indent Diminuer l’indentation - + Rename... Renommer... - + Re&load Recharger - + Windows (CR LF) Windows (CR LF) - + Unix (LF) Unix (LF) - + Macintosh (CR) Macintosh (CR) - + UPPER CASE MAJUSCULE - + Convert text to upper case Convertir le texte en majuscule - + lower case minuscules - + Convert text to lower case Convertir le texte en minuscules - + Duplicate Current Line Dupliquer la ligne actuelle - + Alt+Down Alt+Bas - + Split Lines Séparer les lignes - + Join Lines Fusionner les lignes - + Ctrl+J Ctrl+J - + Move Selected Lines Up Déplacer les lignes sélectionnées vers le haut - + Ctrl+Shift+Up Ctrl+Maj+Haut - + Move Selected Lines Down Déplacer les lignes sélectionnées vers le bas - + Ctrl+Shift+Down Ctrl+Maj+Bas - + Clos&e All Tout f&ermer - + Close All files Fermer tous les fichiers - + Ctrl+Shift+W Ctrl+Maj+W - + Close All Except Active Document Fermer tout sauf le document actif - + Close All to the Left Tout fermer à gauche - + Close All to the Right Tout fermer à droite - + Zoom &In Zoom avant - + Ctrl++ Ctrl++ - + Zoom &Out Zoom arrière - + Ctrl+- Ctrl+- - + Reset Zoom Réinitialiser le zoom - + Ctrl+0 Ctrl+0 - + About Qt À propos de Qt - + About Notepad Next À propos de Notepad Next - + Show Whitespace Afficher les espaces - + Show End of Line Afficher la fin de la ligne - + Show All Characters Afficher tous les caractères - + Show Indent Guide Afficher le guide d’indentation - + Show Wrap Symbol Afficher le symbole de retour à la ligne - + Word Wrap Retour à la ligne - + Restore Recently Closed File Restaurer le fichier récemment fermé - + Ctrl+Shift+T Ctrl+Maj+T - + Open All Recent Files Ouvrir tous les fichiers récents - + Clear Recent Files List Effacer la liste des fichiers récents - + &Find... Rechercher... - + Ctrl+F Ctrl+F - + Find in Files... Rechercher dans les fichiers... - + Find &Next Rechercher le suiva&nt - + F3 F3 - + Find &Previous Rechercher le &précédent - + + Shift+F3 + Maj+F3 + + + &Replace... &Remplacer... - + Ctrl+H Ctrl+H - + Full Screen Plein écran - + F11 F11 - - + + Start Recording Démarrer l’enregistrement - + Playback Lecture - + Ctrl+Shift+P Ctrl+Maj+P - + Save Current Recorded Macro... Enregistrer la Macro enregistrée actuelle... - + Run a Macro Multiple Times... Exécuter une macro plusieurs fois... - + Preferences... Préférences... - + Quick Find Recherche rapide - + Ctrl+Alt+I Ctrl+Alt+I - + Select Next Instance Sélectionnez l’instance suivante - + Ctrl+D Ctrl+D - + Move to Trash... Déplacer vers la corbeille... - + Move to Trash Déplacer vers la corbeille - + Check for Updates... Recherche de mises à jour... - + &Go to Line... Aller à la ligne... - + Ctrl+G Ctrl+G - + Print... Imprimer... - + Ctrl+P Ctrl+P - + Open Folder as Workspace... Ouvrir le dossier en tant qu’espace de travail... - + Toggle Single Line Comment Activer/désactiver le commentaire d’une seule ligne - + Ctrl+/ Ctrl+/ - + Single Line Comment Commentaire sur une seule ligne - + Ctrl+K Ctrl+K - + Single Line Uncomment Commentaire sur une seule ligne - + Ctrl+Shift+K Ctrl+Maj+K - + Edit Macros... Modifier les macros... - + This is not currently implemented Ceci n'est pas implémenté actuellement - + Column Mode... Mode colonne... - + Export as HTML... Exporter en HTML... - + Export as RTF... Exporter en format RTF... - + Copy as HTML Copier en tant que HTML - + Copy as RTF Copier en tant que RTF - + Base 64 Encode Encodage Base 64 - + URL Encode Encodage d’URL - + Base 64 Decode Décodage Base 64 - + URL Decode Décodage d’URL - + Copy URL Copier l’URL - + Remove Empty Lines Supprimer les lignes vides - - + + Show in Explorer Afficher dans l'explorateur - + Open %1 Here Ouvrir %1 ici - + Toggle Bookmark Activer/désactiver le favori - + Ctrl+F2 Ctrl+F2 - + Next Bookmark Favori suivant - + F2 F2 - + Previous Bookmark Favori précédent - + Shift+F2 Maj+F2 - + Clear Bookmarks Effacer les favoris - + Invert Bookmarks Inverser les favoris - + Next Tab Onglet suivant - + Ctrl+Tab Ctrl+Tab - + Previous Tab Onglet précédent - + Ctrl+Shift+Tab Ctrl+Maj+Tab - + Fold Level 1 Plier niveau 1 - + Alt+1 Alt+1 - + Fold Level 2 Plier niveau 2 - + Alt+2 Alt+2 - + Fold Level 3 Plier niveau 3 - + Alt+3 Alt+3 - + Fold Level 4 Plier niveau 4 - + Alt+4 Alt+4 - + Unfold Level 1 Déplier niveau 1 - + Alt+Shift+1 Alt+Maj+1 - + Unfold Level 2 Déplier niveau 2 - + Alt+Shift+2 Alt+Maj+2 - + Unfold Level 3 Déplier niveau 3 - + Alt+Shift+3 Alt+Maj+3 - + Unfold Level 4 Déplier niveau 4 - + Alt+Shift+4 Alt+Maj+4 - + Fold All Tout plier - + Alt+0 Alt+0 - + Unfold All Tout déplier - + Alt+Shift+0 Alt+Maj+0 - + Fold Level 5 Plier niveau 5 - + Alt+5 Alt+5 - + Fold Level 6 Plier niveau 6 - + Alt+6 Alt+6 - + Fold Level 7 Plier niveau 7 - + Alt+7 Alt+7 - + Fold Level 8 Plier niveau 8 - + Alt+8 Alt+8 - + Fold Level 9 Plier niveau 9 - + Alt+9 Alt+9 - + Unfold Level 5 Plier niveau 5 - + Alt+Shift+5 Alt+Maj+5 - + Unfold Level 6 Plier niveau 6 - + Alt+Shift+6 Alt+Maj+6 - + Unfold Level 7 Plier niveau 7 - + Alt+Shift+7 Alt+Maj+7 - + Unfold Level 8 Plier niveau 8 - + Alt+Shift+8 Alt+Maj+8 - + Unfold Level 9 Plier niveau 9 - + Alt+Shift+9 Alt+Maj+9 - - + + Toggle Overtype Activer/désactiver le surtypage - + Ins Ins - + Debug Info... Info de débogage... - + Cut Bookmarked Lines Couper les lignes marque-pages - + Copy Bookmarked Lines Copier les lignes marque-pages - + Delete Bookmarked Lines Supprimer les lignes marque-pages - + Mark Style 1 Style de marque 1 - + Mark Style 2 Style de marque 2 - + Clear Style 1 Vider le style 1 - + Clear Style 2 Vider le style 2 - + Mark Style 3 Style de marque 3 - + Clear Style 3 Vider le style 3 - - + + Clear All Styles Effacer tous les styles - + Remove Duplicate Lines Supprimer les lignes dupliquées - + Remove Consecutive Duplicate Lines Supprimer les lignes dupliquées consécutives - + + Sort Lines Ascending + Trier les lignes par ordre croissant + + + + Sort Lines Descending + Trier les lignes par ordre décroissant + + + + Sort Lines Ascending (Case-Insensitive) + Trier les lignes par ordre croissant (Insensible à la casse) + + + + Sort Lines Descending (Case-Insensitive) + Trier les lignes par ordre décroissant (Insensible à la casse) + + + + Sort Lines by Length Ascending + Trier les lignes par longueur croissante + + + + Sort Lines by Length Descending + Trier les lignes par longueur décroissante + + + + Reverse Line Order + Inverser l'ordre des lignes + + + Go to line Aller à la ligne - + Line Number (1 - %1) Numéro de ligne (1 - %1) - + Stop Recording Arrêter l'enregistrement - + Debug Info Infos de débogage - + New %1 Nouveau %1 - + Create File Créer un fichier - + <b>%1</b> does not exist. Do you want to create it? <b>%1</b> n'existe pas. Voulez-vous le créer ? - - + + Save file <b>%1</b>? Enregistrer le fichier <b>%1</b> ? - - + + Save File Enregistrer le fichier - + Open Folder as Workspace Ouvrir le dossier en tant qu’espace de travail - - + + Reload File Recharger le fichier - + Are you sure you want to reload <b>%1</b>? Any unsaved changes will be lost. Êtes-vous sûr de vouloir recharger <b>%1</b> ? Toutes les modifications non enregistrées seront perdues. - + Save a Copy As Enregistrer une copie sous - - + + Rename Renommer - + Name: Nom : - + Delete File Supprimer le fichier - + Are you sure you want to move <b>%1</b> to the trash? Êtes-vous sûr de vouloir déplacer <b>%1</b> vers la corbeille ? - + Error Deleting File Erreur lors de la suppression du fichier - + Something went wrong deleting <b>%1</b>? Quelque chose s’est mal passé en supprimant <b>%1</b> ? - + Administrator Administrateur - + <b>%1</b> has been modified by another program. Do you want to reload it? <b>%1</b> a été modifié par un autre programme. Voulez-vous le recharger ? - + Read error Erreur de lecture - + Write error Erreur d’écriture - + Fatal error Erreur fatale - + Resource error Erreur de ressource - + Open error Erreur lors de l'ouverture - + Abort error Erreur lors de l'annulation - + Timeout error Erreur de délai expiré - + Unspecified error Erreur non spécifiée - + Remove error Erreur de suppression - + Rename error Erreur lors du renommage - + Position error Erreur de position - + Resize error Erreur de redimensionnement - + Permissions error Erreur de permissions - + Copy error Erreur de copie - + Unknown error (%1) Erreur inconnue (%1) - + Error Saving File Erreur lors de l'enregistrement du fichier - + An error occurred when saving <b>%1</b><br><br>Error: %2 Une erreur est survenue lors de la sauvegarde de <b>%1</b><br><br>Erreur : %2 - + Zoom: %1% Zoom : %1% - + No updates are available at this time. Aucune mise à jour n’est disponible pour le moment. diff --git a/i18n/NotepadNext_it.ts b/i18n/NotepadNext_it.ts index 77c85776c..741613f25 100644 --- a/i18n/NotepadNext_it.ts +++ b/i18n/NotepadNext_it.ts @@ -87,17 +87,17 @@ UTF-8 BOM - UTF-8 BOM + UTF-8 BOM UTF-16LE BOM - UTF-16LE BOM + UTF-16LE BOM UTF-16BE BOM - UTF-16BE BOM + UTF-16BE BOM @@ -277,7 +277,7 @@ Contracted Fold Next - Contracted Fold Next + Contracted Fold Next @@ -483,14 +483,6 @@ Cartella come area di lavoro - - HexViewerDock - - - Hex Viewer - Visualizzatore esadecimale - - LanguageInspectorDock @@ -744,7 +736,7 @@ - + Export As Esporta come @@ -779,1270 +771,1310 @@ Operazioni di linea - + Comment/Uncomment Commenta/Decommenta - + Copy As Copia come - + Encoding/Decoding Codifica/Decodifica - + Search Trova - + Bookmarks Segnalibri - + Mark All Occurrences Segna tutte le occorrenze - + Clear Marks Rimuovi segnalibri - + &View &Visualizzazione - + &Zoom &Zoom - + Show Symbol Mostra simbolo - + Fold Level Livello di compressione - + Unfold Level Livello di espansione - + Language Linguaggio - + Settings Impostazioni - + Macro Macro - + Help Aiuto - + Encoding Codifica - + Main Tool Bar Barra degli strumenti principale - + &New &Nuovo - + Create a new file Crea un nuovo file - + Ctrl+N Ctrl+N - + &Open... &Apri... - + Ctrl+O Ctrl+O - + &Save &Salva - + Save Salva - + Ctrl+S Ctrl+S - + E&xit &Esci - + &Undo &Annulla - + Ctrl+Z Ctrl+Z - + &Redo &Rifai - + Ctrl+Y Ctrl+Y - + Cu&t &Taglia - + Ctrl+X Ctrl+X - + &Copy &Copia - + Ctrl+C Ctrl+C - + &Paste &Incolla - + Ctrl+V Ctrl+V - + &Delete &Cancella - + Del Canc - + Copy Full Path Copia percorso completo - + Copy File Name Copia il nome del file - + Copy File Directory Copia directory file - + &Close &Chiudi - + Close the current file Chiudi il file corrente - + Ctrl+W Ctrl+W - + Save &As... Salva co&me... - + Ctrl+Alt+S Ctrl+Alt+S - + Save a Copy As... Salva una copia come... - + Sav&e All Salva &tutto - + Ctrl+Shift+S Ctrl+Maiusc+S - + Select A&ll Selezion&a Tutto - + Ctrl+A Ctrl+A - + Increase Indent Aumenta rientro - + Decrease Indent Diminuisci rientro - + Rename... Rinomina... - + Re&load Ricarica - + Windows (CR LF) Windows (CR LF) - + Unix (LF) Unix (LF) - + Macintosh (CR) Macintosh (CR) - + UPPER CASE MAIUSCOLO - + Convert text to upper case Converti il testo in maiuscolo - + lower case minuscolo - + Convert text to lower case Converti il testo in minuscolo - + Duplicate Current Line Duplica riga corrente - + Alt+Down Alt+Giù - + Split Lines Linee divise - + Join Lines Unisci linee - + Ctrl+J Ctrl+J - + Move Selected Lines Up Sposta le righe selezionate verso l'alto - + Ctrl+Shift+Up Ctrl+Maiusc+Su - + Move Selected Lines Down Sposta le righe selezionate verso il basso - + Ctrl+Shift+Down Ctrl+Maiusc+Giù - + Clos&e All Chiudi tutto - + Close All files Chiudi tutti i file - + Ctrl+Shift+W Ctrl+Maiusc+W - + Close All Except Active Document Chiudi tutto tranne il documento attivo - + Close All to the Left Chiudi tutto a sinistra - + Close All to the Right Chiudi tutto a destra - + Zoom &In Zoom avanti - + Ctrl++ Ctrl++ - + Zoom &Out Zoom indietro - + Ctrl+- Ctrl+- - + Reset Zoom Reimposta Zoom - + Ctrl+0 Ctrl+0 - + About Qt Informazioni su Qt - + About Notepad Next Informazioni su Notepad Next - + Show Whitespace Mostra spazi vuoti - + Show End of Line Mostra fine riga - + Show All Characters Mostra tutti i caratteri - + Show Indent Guide Mostra guide di rientro - + Show Wrap Symbol Mostra simbolo di capo automatico - + Word Wrap A capo automatico - + Restore Recently Closed File Ripristina file chiusi di recente - + Ctrl+Shift+T Ctrl+Maiusc+T - + Open All Recent Files Apri tutti i file recenti - + Clear Recent Files List Cancella l'elenco dei file recenti - + &Find... Tro&va... - + Ctrl+F Ctrl+F - + Find in Files... Trova nei file... - + Find &Next Trova P&rossimo - + F3 F3 - + Find &Previous Trova &Precedente - + + Shift+F3 + + + + &Replace... &Sostituisci... - + Ctrl+H Ctrl+H - + Full Screen A schermo intero - + F11 F11 - - + + Start Recording Inizia la registrazione - + Playback Riproduzione - + Ctrl+Shift+P Ctrl+Maiusc+P - + Save Current Recorded Macro... Salva la macro registrata corrente... - + Run a Macro Multiple Times... Esegui una macro più volte... - + Preferences... Preferenze... - + Quick Find Ricerca rapida - + Ctrl+Alt+I Ctrl+Alt+I - + Select Next Instance Seleziona istanza successiva - + Ctrl+D Ctrl+D - + Move to Trash... Sposta nel cestino... - + Move to Trash Sposta nel cestino - + Check for Updates... Controlla gli aggiornamenti... - + &Go to Line... &Vai alla riga... - + Ctrl+G Ctrl+G - + Print... Stampa... - + Ctrl+P Ctrl+P - + Open Folder as Workspace... Apri cartella come area di lavoro... - + Toggle Single Line Comment Attiva/disattiva commento su riga singola - + Ctrl+/ Ctrl+/ - + Single Line Comment Commento su una sola riga - + Ctrl+K Ctrl+K - + Single Line Uncomment Rimuovi commento riga singola - + Ctrl+Shift+K Ctrl+Maiusc+K - + Edit Macros... Modifica macro... - + This is not currently implemented Questo non è attualmente implementato - + Column Mode... Modalità colonna... - + Export as HTML... Esporta come HTML... - + Export as RTF... Esporta come RTF... - + Copy as HTML Copia come HTML - + Copy as RTF Copia come RTF - + Base 64 Encode Codifica Base 64 - + URL Encode Codifica URL - + Base 64 Decode Decodifica Base 64 - + URL Decode Decodifica URL - + Copy URL Copia URL - + Remove Empty Lines Rimuovi le righe vuote - - + + Show in Explorer Mostra in Explorer - + Open %1 Here Apri %1 qui - + Toggle Bookmark Attiva/disattiva segnalibro - + Ctrl+F2 Ctrl+F2 - + Next Bookmark Segnalibro successivo - + F2 F2 - + Previous Bookmark Segnalibro precedente - + Shift+F2 Maiusc+F2 - + Clear Bookmarks Cancella segnalibri - + Invert Bookmarks Inverti segnalibri - + Next Tab Scheda successiva - + Ctrl+Tab Ctrl+Tab - + Previous Tab Scheda precedente - + Ctrl+Shift+Tab Ctrl+Maiusc+Tab - + Fold Level 1 Comprimi Livello 1 - + Alt+1 Alt+1 - + Fold Level 2 Comprimi Livello 2 - + Alt+2 Alt+2 - + Fold Level 3 Comprimi Livello 3 - + Alt+3 Alt+3 - + Fold Level 4 Comprimi Livello 4 - + Alt+4 Alt+4 - + Unfold Level 1 Espandi Livello 1 - + Alt+Shift+1 Alt+Maiusc+1 - + Unfold Level 2 Espandi Livello 2 - + Alt+Shift+2 Alt+Maiusc+2 - + Unfold Level 3 Espandi Livello 3 - + Alt+Shift+3 Alt+Maiusc+3 - + Unfold Level 4 Espandi livello 4 - + Alt+Shift+4 Alt+Maiusc+4 - + Fold All Comprimi tutto - + Alt+0 Alt+0 - + Unfold All Espandi tutto - + Alt+Shift+0 Alt+Maiusc+0 - + Fold Level 5 Comprimi Livello 5 - + Alt+5 Alt+5 - + Fold Level 6 Comprimi Livello 6 - + Alt+6 Alt+6 - + Fold Level 7 Comprimi Livello 7 - + Alt+7 Alt+7 - + Fold Level 8 Comprimi Livello 8 - + Alt+8 Alt+8 - + Fold Level 9 Comprimi Livello 9 - + Alt+9 Alt+9 - + Unfold Level 5 Espandi Livello 5 - + Alt+Shift+5 Alt+Maiusc+5 - + Unfold Level 6 Espandi livello 6 - + Alt+Shift+6 Alt+Maiusc+6 - + Unfold Level 7 Espandi livello 7 - + Alt+Shift+7 Alt+Maiusc+7 - + Unfold Level 8 Espandi livello 8 - + Alt+Shift+8 Alt+Maiusc+8 - + Unfold Level 9 Espandi livello 9 - + Alt+Shift+9 Alt+Maiusc+9 - - + + Toggle Overtype Attiva/disattiva sovrascrittura - + Ins Ins - + Debug Info... Informazioni di debug... - + Cut Bookmarked Lines Taglia le righe contrassegnate - + Copy Bookmarked Lines Copia le righe contrassegnate - + Delete Bookmarked Lines Elimina le righe contrassegnate - + Mark Style 1 Segna Stile 1 - + Mark Style 2 Segna Stile 2 - + Clear Style 1 Cancella Stile 1 - + Clear Style 2 Cancella Stile 2 - + Mark Style 3 Segna Stile 3 - + Clear Style 3 Cancella Stile 3 - - + + Clear All Styles Cancella tutti gli stili - + Remove Duplicate Lines - Remove Duplicate Lines + Remove Duplicate Lines - + Remove Consecutive Duplicate Lines - Remove Consecutive Duplicate Lines + Remove Consecutive Duplicate Lines + + + + Sort Lines Ascending + + + + + Sort Lines Descending + + + + + Sort Lines Ascending (Case-Insensitive) + + + + + Sort Lines Descending (Case-Insensitive) + + + + + Sort Lines by Length Ascending + - + + Sort Lines by Length Descending + + + + + Reverse Line Order + + + + Go to line Vai alla riga - + Line Number (1 - %1) Numerodi riga (1 - %1) - + Stop Recording Interrompi la registrazione - + Debug Info Informazioni di debug - + New %1 Nuovo %1 - + Create File Crea file - + <b>%1</b> does not exist. Do you want to create it? <b>%1</b> non esiste. Vuoi crearlo? - - + + Save file <b>%1</b>? Salvare il file <b>%1</b>? - - + + Save File Salva file - + Open Folder as Workspace Apri cartella come area di lavoro - - + + Reload File Ricarica file - + Are you sure you want to reload <b>%1</b>? Any unsaved changes will be lost. Vuoi davvero ricaricare <b>%1</b>? Tutte le modifiche non salvate andranno perse. - + Save a Copy As Salva una copia come - - + + Rename Rinomina - + Name: Nome: - + Delete File Elimina file - + Are you sure you want to move <b>%1</b> to the trash? Vuoi davvero spostare <b>%1</b> nel cestino? - + Error Deleting File Errore durante l'eliminazione del file - + Something went wrong deleting <b>%1</b>? Si è verificato un errore durante l'eliminazione di <b>%1</b>? - + Administrator Amministratore - + <b>%1</b> has been modified by another program. Do you want to reload it? - <b>%1</b> has been modified by another program. Do you want to reload it? + <b>%1</b> has been modified by another program. Do you want to reload it? - + Read error - Read error + Read error - + Write error - Write error + Write error - + Fatal error - Fatal error + Fatal error - + Resource error - Resource error + Resource error - + Open error - Open error + Open error - + Abort error - Abort error + Abort error - + Timeout error - Timeout error + Timeout error - + Unspecified error - Unspecified error + Unspecified error - + Remove error - Remove error + Remove error - + Rename error - Rename error + Rename error - + Position error - Position error + Position error - + Resize error - Resize error + Resize error - + Permissions error - Permissions error + Permissions error - + Copy error - Copy error + Copy error - + Unknown error (%1) - Unknown error (%1) + Unknown error (%1) - + Error Saving File Errore durante il salvataggio del file - + An error occurred when saving <b>%1</b><br><br>Error: %2 Si è verificato un errore durante il salvataggio di <b>%1</b><br><br>Errore: %2 - + Zoom: %1% Ingrandimento: %1% - + No updates are available at this time. Al momento non sono disponibili aggiornamenti. diff --git a/i18n/NotepadNext_pt.ts b/i18n/NotepadNext_nl.ts similarity index 72% rename from i18n/NotepadNext_pt.ts rename to i18n/NotepadNext_nl.ts index 8b0c00d32..e52b92acc 100644 --- a/i18n/NotepadNext_pt.ts +++ b/i18n/NotepadNext_nl.ts @@ -1,32 +1,32 @@ - + ColumnEditorDialog Column Mode - Modo de coluna + Kolom modus Text - Texto + Tekst Numbers - Números + Getallen Start: - Iniciar: + Start: Step: - Etapa: + Interval: @@ -34,7 +34,7 @@ Debug Log - Registro de depuração + Debug Log @@ -42,12 +42,12 @@ Length: %L1 Lines: %L2 - Comprimento: %L1 e Quantidade de Linhas: %L2 + Lengte: %L1 Regels: %L2 Sel: N/A - Sel: N/D + Sel: N/A @@ -57,7 +57,7 @@ Ln: %L1 Col: %L2 - Linha: %L1 e Coluna: %L2 + Reg: %L1 Kol: %L2 @@ -87,29 +87,29 @@ UTF-8 BOM - UTF-8 BOM + UTF-8 BOM UTF-16LE BOM - UTF-16LE BOM + UTF-16LE BOM UTF-16BE BOM - UTF-16BE BOM + UTF-16BE BOM OVR This is a short abbreviation to indicate characters will be replaced when typing - Esta é uma abreviação para indicar que os caracteres serão substituídos ao digitar + OVR INS This is a short abbreviation to indicate characters will be inserted when typing - Esta é uma abreviação para indicar que os caracteres serão inseridos ao digitar + INS @@ -117,187 +117,187 @@ Editor Inspector - Inpetor do editor + Editor Inspectie Position Information - Informações da posição + Positie informatie Current Position - Posição atual + Huidige positie Current Position (x, y) - Posição atual (x, y) + Huidige positie (x,y) Column - Coluna + Kolom Current Style - Estilo atual + Huidige stijl Current Line - Linha atual + Huidige regel Line Length - Comprimento da linha + Regellengte Line End Position - Posição final da linha + Regeleinde Line Indentation - Indentação da linha + Inspringing Line Indent Position - Posição da indentação da linha + Inspring positie Selection Information - Informações da seleção + Selectie informatie Mode - Modo + Modus Is Rectangle - É um retângulo + Is rechthoek Selection Empty - A seleção está vazia + Lege selectie Main Selection - A seleção principal de + Hoofdselectie # of Selections - # seleções + Aantal selecties Multiple Selections - Seleção de várias + Meervoudige selecties Document Information - Informações do arquivo + Documentinformatie Length - Comprimento + Lengte Line Count - Contagem de linhas + Regelaantal View Information - Visualizar as informações + Venster informatie Lines on Screen - Linhas na tela + Regels op scherm First Visible Line - Visibilidade da primeira linha + Eerste zichtbare regel X Offset - Desvio do X + Kolomverspringing Fold Information - Informações sobre a dobra + Vouwinformatie Visible From Doc Line - Visível a partir da linha do documento + Zichtbaar vanaf documentregel Doc Line From Visible - A linha do documento a partir da visível + Documentregel van zichtbaar Fold Level - Nível da dobra + Vouwniveau Is Fold Header - É um cabeçalho da dobra + Is vouwtitel Fold Parent - Dobrar acima + Bovenniveau Last Child - Último abaixo + Laatste niveau Contracted Fold Next - Dobrar a contratada seguinte + Ingevouwen volgende niveau Caret - Caractere + Caret Anchor - Ancoragem + Anker Caret Virtual Space - Espaço virtual do caractere + Caret virtuele ruimte Anchor Virtual Space - Espaço virtual da ancoragem + Anker virtuele ruimte @@ -305,7 +305,7 @@ File List - Lista de arquivos + Bestandslijst @@ -315,7 +315,7 @@ Sort by File Name - Ordenar pelo nome do arquivo + Sorteren op bestandsnaam @@ -325,153 +325,153 @@ Find - Localizar + Zoeken Search Mode - Modo de pesquisa + Zoekmodus &Normal - &Normal + &Normaal E&xtended (\n, \r, \t, \0, \x...) - E&stendida (\n, \r, \t, \0, \x...) + &Uitgebreid (\n, \r, \t, \0, \x...) Re&gular expression - Expressão re&gular + Re&guliere expressie &. matches newline - &. corresponde a uma nova linha + &. overeenkomstig regeleinde Transparenc&y - Transparênc&ia + Transparatie On losing focus - Ao perder o foco + Wanneer focus verliest Always - Sempre + Altijd Coun&t - Con&tar + &Tellen &Replace - &Substituir + Ve&rvangen Replace &All - Substituir &tudo + Vervang &Alles Replace All in &Opened Documents - Substituir tudo nos arquivos &abertos + Vervang in alle ge&opende documenten Find All in All &Opened Documents - Localizar tudo em todos os arquivos &abertos + Zoek in alle ge&opende documenten Find All in Current Document - Localizar tudo no arquivo atual + Vind in huidige document Close - Fechar + Sluiten &Find: - &Localizar: + Zoek naar: Replace: - Substituir: + Vervang: Backward direction - No sentido inverso + Achterwaartse richting Match &whole word only - Corresponder apenas à palavra &inteira + Alleen hele &woord zoeken Match &case - Corresponder as letras &minúsculas/maiúsculas + Overeenkomstig boven- en onderkast Wra&p Around - Pesquisar e circular + Doorzoeken naar einde document Replace - Substituir + Vervangen Replaced %Ln matches - Foi substituída %Ln correspondência - Foram substituídas %Ln correspondências + %Ln overeenkomst vervangen + %Ln overeenkomsten vervangen The end of the document has been reached. Found 1st occurrence from the top. - O fim do arquivo foi alcançado. Foi localizada a 1ª ocorrência de cima para baixo. + Het einde van het document is bereikt. Eerste overeenkomst vanaf het begin. No matches found. - Nenhuma correspondência foi encontrada + Geen overeenkomsten gevonden. 1 occurrence was replaced - Uma ocorrência foi substituída + 1 overeenkomst vervangen No more occurrences were found - Não foram localizadas outras ocorrências + Er werden geen overeenkomsten meer gevonden Found %Ln matches - Foi localizada %Ln correspondência - Foram localizadas %Ln correspondências + %Ln overeenkomst gevonden + %Ln overeenkomsten gevonden @@ -480,15 +480,7 @@ Folder as Workspace - Pasta como área de trabalho - - - - HexViewerDock - - - Hex Viewer - Visualizador de hexadecimal + Map als werkomgeving @@ -496,12 +488,12 @@ Language Inspector - Inspetor da linguagem + Taalinspectie Language: - Linguagem: + Taal: @@ -511,53 +503,53 @@ Properties: - Propriedades: + Eigenschappen: Property - Propriedade + Eigenschap Type - Tipo + Type Description - Descrição + Omschrijving Value - Valor + Waarde Keywords: - Palavras-chave: + Sleutelwoorden: ID - Identidade + ID Styles: - Estilos: + Stijlen: TextLabel - Legenda do texto + Tekstlabel Position %1 Style %2 - Posição %1 e Estilo %2 + Positie %1 Stijl %2 @@ -565,7 +557,7 @@ Lua Console - Console da lua + Lua Console @@ -573,67 +565,67 @@ Macro Editor - Editor de macros + Macro Editor Name - Nome + Naam Shortcut - Atalho + Snelkoppeling Steps: - Etapas: + Stappen: Insert Macro Step - Inserir uma etapa no macro + Macro stap invoegen Delete Selected Macro Step - Apagar a etapa que foi selecionada no macro + Wis geselecteerde stap Move Selected Macro Step Up - Mover para cima a etapa que foi selecionada no macro + Verplaats geselecteerde stap omhoog Move Selected Macro Step Down - Mover para baixo a etapa que foi selecionada no macro + Verplaats geselecteerde stap omlaag Copy Selected Macro - Copiar o macro que foi selecionado + Kopieer geselecteerde macro Delete Selected Macro - Apagar o macro que foi selecionado + Verwijder geselecteerde macro Delete Macro - Apagar o macro + Verwijder macro Are you sure you want to delete <b>%1</b>? - Você tem certeza de que quer apagar o <b>%1</b>? + Weet u zeker dat u <b>%1</b> wilt verwijderen? (Copy) - (Copiar) + (Kopieer) @@ -641,7 +633,7 @@ Run a Macro Multiple Times - Executar um macro várias vezes + Macro meerdere keren uitvoeren @@ -651,27 +643,27 @@ Run Until End of File - Executar até ao fim do arquivo + Uitvoeren tot einde bestand Execute... - Executar... + Uitvoeren... times - vezes + keren Run - Executar + Run Cancel - Cancelar + Annuleren @@ -679,17 +671,17 @@ Save Macro - Salvar o macro + Bewaar macro Name: - Nome: + Naam: Shortcut: - Atalho: + Snelkoppeling: @@ -699,7 +691,7 @@ Cancel - Cancelar + Annuleren @@ -707,12 +699,12 @@ Name - Nome + Naam Text - Texto + Tekst @@ -720,7 +712,7 @@ Notepad Next[*] - Notepad Next [*] + Notepad Next[*] @@ -730,1321 +722,1361 @@ &File - &Arquivo + Bestand Close More - Fechar mais + Sluit meer &Recent Files - Arquivos &recentes + &Recente bestanden - + Export As - Exportar como + Exporteer als &Edit - &Editar + B&ewerken Copy More - Copiar mais + Kopieer meer Indent - Indentar + Inspringen EOL Conversion - Conversão do fim da linha + EOL Conversie Convert Case - Converter as letras maiúsculas/minúsculas + Boven/onderkast omzetten Line Operations - Operações de linha + Regelbewerkingen - + Comment/Uncomment - Comentar/Remover o comentário + Opmerking - + Copy As - Copiar como + Kopieer als - + Encoding/Decoding - Codificação/Decodificação + Coderen/decoderen - + Search - Pesquisar + Zoeken - + Bookmarks - Favoritos + Bladwijzers - + Mark All Occurrences - Selecionar todas as ocorrências + Alle overeenkomsten markeren - + Clear Marks - Remover as seleções + Markeringen opheffen - + &View - &Visualizar + Weerga&ve - + &Zoom - &Ampliar ou Reduzir + &Zoomen - + Show Symbol - Exibir o símbolo + Symbool weergeven - + Fold Level - Nível da dobra + Niveau inklappen - + Unfold Level - Nível da desdobra + Niveau uitklappen - + Language - Linguagem + Taal - + Settings - Configurações + Instellingen - + Macro Macro - + Help - Ajuda + Help - + Encoding - Codificação + Coderen - + Main Tool Bar - Barra de ferramentas principal + Werkbalk - + &New - &Novo + &Nieuw - + Create a new file - Criar um novo arquivo + Nieuw bestand - + Ctrl+N Ctrl+N - + &Open... - &Abrir... + &Openen... - + Ctrl+O Ctrl+O - + &Save - &Salvar + Bewaren - + Save - Salvar + Bewaren - + Ctrl+S Ctrl+S - + E&xit - Sa&ir + Afsluiten - + &Undo - Des&fazer + Ongedaan maken - + Ctrl+Z Ctrl+Z - + &Redo - &Refazer + Opnieuw uitvoe&ren - + Ctrl+Y Ctrl+Y - + Cu&t - Cor&tar + Knippen - + Ctrl+X Ctrl+X - + &Copy - &Copiar + Kopiëren - + Ctrl+C Ctrl+C - + &Paste - &Colar + &Plakken - + Ctrl+V Ctrl+V - + &Delete - &Apagar + Verwij&deren - + Del - Del ou Delete + Del - + Copy Full Path - Copiar o caminho completo + Volledige pad kopiëren - + Copy File Name - Copiar o nome do arquivo + Kopieer bestandsnaam - + Copy File Directory - Copiar a pasta de arquivos + Kopieer map - + &Close - &Fechar + Sluiten - + Close the current file - Fechar o arquivo atual + Sluit huidige bestand - + Ctrl+W Ctrl+W - + Save &As... - Salvar &como... + Bewaar &als... - + Ctrl+Alt+S Ctrl+Alt+S - + Save a Copy As... - Salvar uma cópia como... + Bewaar een kopie als... - + Sav&e All - Sal&var todos os arquivos + All&es bewaren - + Ctrl+Shift+S Ctrl+Shift+S - + Select A&ll - Selecionar t&udo + &Alles selecteren - + Ctrl+A Ctrl+A - + Increase Indent - Aumentar o recuo da linha + Inspringing vergroten - + Decrease Indent - Diminuir o recuo da linha + Inspringing verkleinen - + Rename... - Renomear... + Hernoemen... - + Re&load - Re&carregar + Opnieuw &laden - + Windows (CR LF) Windows (CR LF) - + Unix (LF) Unix (LF) - + Macintosh (CR) Macintosh (CR) - + UPPER CASE - MAIÚSCULAS + KAPITALEN - + Convert text to upper case - Converter o texto em letras maiúsculas + Omzetten naar kapitalen - + lower case - minúsculas + Kleine letters - + Convert text to lower case - Converter o texto em letras minúsculas + Omzetten naar kleine letters - + Duplicate Current Line - Duplicar a linha atual + Huidige regel dupliceren - + Alt+Down - Alt+Baixo + Alt+Down - + Split Lines - Dividir as linhas + Regels splitsen - + Join Lines - Juntar as linhas + Regels samenvoegen - + Ctrl+J Ctrl+J - + Move Selected Lines Up - Mover as linhas selecionadas para cima + Selectie naar boven verplaatsen - + Ctrl+Shift+Up - Ctrl+Shift+Cima + Ctrl+Shift+Up - + Move Selected Lines Down - Mover as linhas selecionadas para baixo + Selectie naar beneden verplaatsen - + Ctrl+Shift+Down - Ctrl+Shift+Baixo + Ctrl+Shift+Down - + Clos&e All - Fechar &todos os arquivos + All&es sluiten - + Close All files - Fechar todos os arquivos + Alle bestanden sluiten - + Ctrl+Shift+W Ctrl+Shift+W - + Close All Except Active Document - Fechar todos os arquivos, exceto o atual + Alles sluiten behalve actieve document - + Close All to the Left - Fechar todos os arquivos à esquerda + Alles links sluiten - + Close All to the Right - Fechar todos os arquivos à direita + Alles rechts sluiten - + Zoom &In - Ampl&iar + &Inzoomen - + Ctrl++ Ctrl++ - + Zoom &Out - Red&uzir + Uitz&oomen - + Ctrl+- Ctrl+- - + Reset Zoom - Redefinir a visualização + Zoomniveau herstellen - + Ctrl+0 Ctrl+0 - + About Qt - Sobre o Qt + Over Qt - + About Notepad Next - Sobre o Notepad Next + Over Notepad Next - + Show Whitespace - Exibir os espaços em branco + Witruimte tonen - + Show End of Line - Exibir o fim da linha + Regeleinde tonen - + Show All Characters - Exibir todos os caracteres + Alle tekens tonen - + Show Indent Guide - Exibir a guia de indentação + Toon inspring hulp - + Show Wrap Symbol - Exibir o símbolo da quebra de linha + Toon afbreek symbool - + Word Wrap - Quebra de palavras + Woordafbreking - + Restore Recently Closed File - Restaurar o arquivo que foi fechado recentemente + Recent bestand herstellen - + Ctrl+Shift+T Ctrl+Shift+T - + Open All Recent Files - Abrir todos os arquivos recentes + Alle recente bestanden openen - + Clear Recent Files List - Limpar a lista dos arquivos recentes + Lijst recente bestanden leegmaken - + &Find... - &Localizar... + Vinden... - + Ctrl+F Ctrl+F - + Find in Files... - Localizar nos arquivos... + Vind in bestanden... - + Find &Next - Localizar o &próximo + Zoek volge&nde - + F3 F3 - + Find &Previous - Localizar o &anterior + Zoek vorige - + + Shift+F3 + Shift+F3 + + + &Replace... - &Substituir... + Ver&rvangen... - + Ctrl+H Ctrl+H - + Full Screen - Tela inteira + Volledig scherm - + F11 F11 - - + + Start Recording - Iniciar a gravação + Opname starten - + Playback - Reproduzir + Afspelen - + Ctrl+Shift+P Ctrl+Shift+P - + Save Current Recorded Macro... - Salvar o macro atual que foi gravado... + Opgenomen macro opslaan... - + Run a Macro Multiple Times... - Executar um macro várias vezes... + Macro meerdere keren uitvoeren... - + Preferences... - Preferências... + Voorkeuren... - + Quick Find - Localizar rapidamente + Snel zoeken - + Ctrl+Alt+I Ctrl+Alt+I - + Select Next Instance - Selecionar a próxima instância + Selecteer volgende overeenkomst - + Ctrl+D Ctrl+D - + Move to Trash... - Mover para a lixeira... + Naar prullenbak verplaatsen... - + Move to Trash - Mover para a lixeira + Naar prullenbak verplaatsen - + Check for Updates... - Procurar por atualizações... + Controleer op nieuwe versie... - + &Go to Line... - &Ir para a linha... + &Ga naar regel... - + Ctrl+G Ctrl+G - + Print... - Imprimir... + Afdrukken... - + Ctrl+P Ctrl+P - + Open Folder as Workspace... - Abrir uma pasta como área de trabalho... + Open map als werkomgeving... - + Toggle Single Line Comment - Adicionar ou remover o comentário da linha única + Wissel opmerkingen op enkele regel - + Ctrl+/ Ctrl+/ - + Single Line Comment - Comentário da linha única + Opmerking op enkele regel - + Ctrl+K Ctrl+K - + Single Line Uncomment - Remover o comentário da linha única + Opmerking enkele regel weghalen - + Ctrl+Shift+K Ctrl+Shift+K - + Edit Macros... - Editar os macros... + Bewerken macros... - + This is not currently implemented - Esta funcionalidade ainda não está implementada + Dit is nog niet geïmplementeerd - + Column Mode... - Modo de coluna... + Kolom modus... - + Export as HTML... - Exportar como HTML... + Exporteer als HTML... - + Export as RTF... - Exportar como RTF... + Exporteer als RTF... - + Copy as HTML - Copiar como HTML + Kopieer als HTML... - + Copy as RTF - Copiar como RTF + Kopieer als RTF... - + Base 64 Encode - Codificar para a base 64 + Base 64 coderen - + URL Encode - Codificar para o URL + URL coderen - + Base 64 Decode - Decodificar a partir da base 64 + Base 64 decoderen - + URL Decode - Decodificar a partir do URL + URL decoderen - + Copy URL - Copiar o URL + Kopieer URL - + Remove Empty Lines - Remover as linhas vazias + Lege regels verwijderen - - + + Show in Explorer - Exibir no explorador + Toon in verkenner - + Open %1 Here - Abrir %1 aqui + Open %1 hier - + Toggle Bookmark - Ativar ou desativar os favoritos + Bladwijzer aan/uit - + Ctrl+F2 Ctrl+F2 - + Next Bookmark - Próximo favorito + Volgende bladwijzer - + F2 F2 - + Previous Bookmark - Favorito anterior + Vorige bladwijzer - + Shift+F2 Shift+F2 - + Clear Bookmarks - Limpar os favoritos + Bladwijzers verwijderen - + Invert Bookmarks - Inverter os favoritos + Bladwijzers inverteren - + Next Tab - Próxima aba + Volgende tab - + Ctrl+Tab Ctrl+Tab - + Previous Tab - Aba anterior + Vorige tab - + Ctrl+Shift+Tab Ctrl+Shift+Tab - + Fold Level 1 - Nível da dobra 1 + Niveau 1 inklappen - + Alt+1 Alt+1 - + Fold Level 2 - Nível da dobra 2 + Niveau 2 inklappen - + Alt+2 Alt+2 - + Fold Level 3 - Nível da dobra 3 + Niveau 3 inklappen - + Alt+3 Alt+3 - + Fold Level 4 - Nível da dobra 4 + Niveau 4 inklappen - + Alt+4 Alt+4 - + Unfold Level 1 - Nível da desdobra 1 + Uitklappen niveau 1 - + Alt+Shift+1 Alt+Shift+1 - + Unfold Level 2 - Nível da desdobra 2 + Uitklappen niveau 2 - + Alt+Shift+2 Alt+Shift+2 - + Unfold Level 3 - Nível da desdobra 3 + Uitklappen niveau 3 - + Alt+Shift+3 Alt+Shift+3 - + Unfold Level 4 - Nível da desdobra 4 + Uitklappen niveau 4 - + Alt+Shift+4 Alt+Shift+4 - + Fold All - Dobrar tudo + Alles inklappen - + Alt+0 Alt+0 - + Unfold All - Desdobrar tudo + Alles uitklappen - + Alt+Shift+0 Alt+Shift+0 - + Fold Level 5 - Nível da dobra 5 + Niveau 5 inklappen - + Alt+5 Alt+5 - + Fold Level 6 - Nível da dobra 6 + Niveau 6 inklappen - + Alt+6 Alt+6 - + Fold Level 7 - Nível da dobra 7 + Niveau 7 inklappen - + Alt+7 Alt+7 - + Fold Level 8 - Nível da dobra 8 + Niveau 8 inklappen - + Alt+8 Alt+8 - + Fold Level 9 - Nível da dobra 9 + Niveau 9 inklappen - + Alt+9 Alt+9 - + Unfold Level 5 - Nível da desdobra 5 + Uitklappen niveau 5 - + Alt+Shift+5 Alt+Shift+5 - + Unfold Level 6 - Nível da desdobra 6 + Uitklappen niveau 6 - + Alt+Shift+6 Alt+Shift+6 - + Unfold Level 7 - Nível da desdobra 7 + Uitklappen niveau 7 - + Alt+Shift+7 Alt+Shift+7 - + Unfold Level 8 - Nível da desdobra 8 + Uitklappen niveau 8 - + Alt+Shift+8 Alt+Shift+8 - + Unfold Level 9 - Nível da desdobra 9 + Uitklappen niveau 9 - + Alt+Shift+9 - Alt+Shift+9 + Alt+Shift+8 - - + + Toggle Overtype - Alternar entre os tipos + Overschrijven wisselen - + Ins Ins - + Debug Info... - Informações da depuração... + Debug info... - + Cut Bookmarked Lines - Cortar as linhas dos favoritos + Regels met bladwijzers knippen - + Copy Bookmarked Lines - Copiar as linhas dos favoritos + Regels met bladwijzers kopieren - + Delete Bookmarked Lines - Apagar as linhas dos favoritos + Regels met bladwijzers verwijderen - + Mark Style 1 - Estilo da seleção 1 + Markeerstijl 1 - + Mark Style 2 - Estilo da seleção 2 + Markeerstijl 2 - + Clear Style 1 - Remover o estilo 1 + Stijl 1 wissen - + Clear Style 2 - Remover o estilo 2 + Stijl 2 wissen - + Mark Style 3 - Estilo da seleção 3 + Markeerstijl 3 - + Clear Style 3 - Remover o estilo 3 + Stijl 3 wissen - - + + Clear All Styles - Remover todos os estilos + Alle stijlen wissen - + Remove Duplicate Lines - Remove Duplicate Lines + Duplicaatregels verwijderen - + Remove Consecutive Duplicate Lines - Remove Consecutive Duplicate Lines + Verwijder opvolgende duplicaatregels - + + Sort Lines Ascending + Regels oplopend sorteren + + + + Sort Lines Descending + Regels aflopend sorteren + + + + Sort Lines Ascending (Case-Insensitive) + Sorteer regels oplopend (ongevoelig) + + + + Sort Lines Descending (Case-Insensitive) + Sorteer regels aflopend (ongevoelig) + + + + Sort Lines by Length Ascending + Sorteer regels op lengte oplopend + + + + Sort Lines by Length Descending + Sorteer regels op lengte aflopend + + + + Reverse Line Order + + + + Go to line - Ir para a linha + Ga naar regel - + Line Number (1 - %1) - Número da linha (1 - %1) + Regelnummer (1 - %1) - + Stop Recording - Parar a gravação + Stop opname - + Debug Info - Informações da depuração + Debug info - + New %1 - Novo %1 + Nieuw %1 - + Create File - Criar um arquivo + Bestand maken - + <b>%1</b> does not exist. Do you want to create it? - O <b>%1</b> não existe. Você quer criá-lo agora? + <b>%1</b> bestaat niet. Wilt u deze aanmaken? - - + + Save file <b>%1</b>? - Salvar o arquivo <b>%1</b>? + Bestand <b>%1</b> opslaan? - - + + Save File - Salvar o arquivo + Bestand opslaan - + Open Folder as Workspace - Abrir a pasta como área de trabalho + Open map als werkomgeving - - + + Reload File - Recarregar o arquivo + Bestand opnieuw laden - + Are you sure you want to reload <b>%1</b>? Any unsaved changes will be lost. - Você tem certeza de que quer recarregar o <b>%1</b>? Todas as alterações que não foram salvas serão perdidas. + Weet u zeker dat u <b>%1</b> opnieuw wilt laden? Alle wijzigingen gaan verloren. - + Save a Copy As - Salvar uma cópia como + Bewaar een kopie als - - + + Rename - Renomear + Hernoemen - + Name: - Nome: + Naam: - + Delete File - Apagar o arquivo + Verwijder bestand - + Are you sure you want to move <b>%1</b> to the trash? - Você tem a certeza de que quer mover o <b>%1</b> para a lixeira? + Weet u zeker dat u <b>%1</b> naar de prullenbak wilt verplaatsen? - + Error Deleting File - Ocorreu um erro ao apagar o arquivo + Fout bij verwijderen bestand - + Something went wrong deleting <b>%1</b>? - Ocorreu um problema ao tentar apagar o <b>%1</b>. + Iets ging fout bij het verwijderen van <b>%1</b>? - + Administrator - Administrador + Beheerder - + <b>%1</b> has been modified by another program. Do you want to reload it? - <b>%1</b> has been modified by another program. Do you want to reload it? + <b>%1</b> is veranderd door een andere applicatie. Wilt u het opnieuw laden? - + Read error - Read error + Leesfout - + Write error - Write error + Schrijffout - + Fatal error - Fatal error + Fatale fout - + Resource error - Resource error + Bronfout - + Open error - Open error + Fout bij het openen - + Abort error - Abort error + Fout bij het afbreken - + Timeout error - Timeout error + Fout bij het wachten - + Unspecified error - Unspecified error + Onbekende fout - + Remove error - Remove error + Fout bij het verwijderen - + Rename error - Rename error + Fout bij het hernoemen - + Position error - Position error + Positiefout - + Resize error - Resize error + Fout bij het aanpassen van de grootte - + Permissions error - Permissions error + Rechtenfout - + Copy error - Copy error + Kopieerfout - + Unknown error (%1) - Unknown error (%1) + Onbekende fout (%1) - + Error Saving File - Ocorreu um erro ao tentar salvar o arquivo + Fout bij het opslaan - + An error occurred when saving <b>%1</b><br><br>Error: %2 - Ocorreu um erro ao tentar salvar o <b>%1</b><br><br>. Ocorreu o erro: %2 + Een fout trad op bij het bewaren van <b>%1</b><br><br>Fout: %2 - + Zoom: %1% - Ampliar ou reduzir: %1% + Zoom %1% - + No updates are available at this time. - Não existem atualizações disponíveis neste exato momento + Er zijn geen updates beschikbaar @@ -2052,72 +2084,72 @@ Preferences - Preferências + Voorkeuren Show menu bar - Exibir a barra de menus + Toon menubalk Show toolbar - Exibir a barra de ferramentas + Toon werkbalk Show status bar - Exibir a barra de estado + Toon statusbalk Restore previous session - Restaurar a sessão anterior + Herstel vorige sessie Unsaved changes - As alterações não foram salvas + Niet-opgeslagen wijzigingen Temporary files - Arquivos temporários + Tijdelijke bestanden Recenter find/replace dialog when opened - Centralizar a janela de pesquisar/substituir quando for aberta + Centreren zoek/vervang dialoogvenster Combine search results - Combinar os resultados da pesquisa + Combineer zoekresultaten Translation: - Tradução: + Vertaling: Exit on last tab closed - Sair quando a última aba for fechada + Afsluiten bij sluiten laatste tabblad Default Font - Tipo de letra padrão + Standaard lettertype Font - Tipo de letra + Lettertype Font Size - Tamanho do tipo de letra + Grootte @@ -2127,33 +2159,33 @@ Default Line Endings - Finais de linha padrão + Standaard regeleinde Highlight URLs - Highlight URLs + URL's markeren Show Line Numbers - Show Line Numbers + Toon regelnummers Default Directory - Default Directory + Standaard map Follow Current Document - Follow Current Document + Volg huidige document Last Used Directory - Last Used Directory + Laatst gebruikte map @@ -2163,27 +2195,27 @@ TextLabel - Legenda + Tekstlabel An application restart is required to apply certain settings. - É necessário reiniciar o programa para aplicar algumas configurações. + Een herstart van de applicatie is nodig bij sommige wijzigingen. Warning - Aviso + Waarschuwing This feature is experimental and it should not be considered safe for critically important work. It may lead to possible data loss. Use at your own risk. - Esta funcionalidade é experimental e não deve ser considerada segura para os trabalhos de grande importância. Pode ocorrer a perda dos dados. Utilize-a por sua conta e risco. + Deze functie is experimenteel en is niet veilig voor belangrijk werk. Het kan leiden tot ongewenst verlies van gegevens. Gebruik voor eigen risico. System Default - Padrão do sistema operacional + Systeem standaard @@ -2193,7 +2225,7 @@ Linux (LF) - GNU/Linux (LF) + Linux (LF) @@ -2203,7 +2235,7 @@ <System Default> - <Padrão do sistema operacional> + <Overnemen van systeem> @@ -2211,17 +2243,17 @@ Frame - Moldura + Frame Find... - Localizar... + Zoeken... Match case - Corresponder as letras minúsculas/maiúsculas + Overeenkomstig boven- en onderkast @@ -2231,7 +2263,7 @@ Match whole word - Corresponder a palavra inteira + Overeenkomstig hele woord @@ -2241,12 +2273,12 @@ Use regular expression - Utilizar uma expressão regular + Gebruik reguliere expressie . * - . * + .* @@ -2264,32 +2296,32 @@ Search Results - Resultados da pesquisa + Zoekresultaten Copy Results to Clipboard - Copiar os resultados para a área de transferência + Kopieer resultaten naar klembord Collapse All - Recolher tudo + Alles inklappen Expand All - Expandir tudo + Alles uitklappen Delete Entry - Apagar a entrada + Verwijder item Delete All - Apagar tudo + Alles verwijderen diff --git a/i18n/NotepadNext_pl.ts b/i18n/NotepadNext_pl.ts index a58c9f069..40c5381b6 100644 --- a/i18n/NotepadNext_pl.ts +++ b/i18n/NotepadNext_pl.ts @@ -87,29 +87,29 @@ UTF-8 BOM - UTF-8 BOM + UTF-8 BOM UTF-16LE BOM - UTF-16LE BOM + UTF-16LE BOM UTF-16BE BOM - UTF-16BE BOM + UTF-16BE BOM OVR This is a short abbreviation to indicate characters will be replaced when typing - OVR + OVR INS This is a short abbreviation to indicate characters will be inserted when typing - INS + INS @@ -310,12 +310,12 @@ ... - ... + ... Sort by File Name - Sort by File Name + Sort by File Name @@ -441,7 +441,7 @@ Replaced %Ln matches - + Zamieniono %Ln wystąpienie Zamieniono %Ln wystąpienia Zamieniono %Ln wystąpień @@ -471,7 +471,7 @@ Found %Ln matches - + Znaleziono %Ln wystąpienie Znaleziono %Ln wystąpienia Znaleziono %Ln wystąpień @@ -487,14 +487,6 @@ Folder jako obszar roboczy - - HexViewerDock - - - Hex Viewer - Podgląd heksadecymalny - - LanguageInspectorDock @@ -748,7 +740,7 @@ - + Export As Eksportuj jako @@ -783,1270 +775,1310 @@ Operacje na wierszach - + Comment/Uncomment Komentowanie/odkomentowanie - + Copy As Kopiuj jako - + Encoding/Decoding Kodowanie/dekodowanie - + Search Szukaj - + Bookmarks Zakładki - + Mark All Occurrences - Mark All Occurrences + Mark All Occurrences - + Clear Marks - Clear Marks + Clear Marks - + &View Widok - + &Zoom Powięks&zenie - + Show Symbol Pokaż symbole - + Fold Level Poziom zagnieżdżenia - + Unfold Level - Unfold Level + Unfold Level - + Language Język - + Settings Ustawienia - + Macro Makra - + Help Pomoc - + Encoding Kodowanie - + Main Tool Bar Główny pasek narzędziowy - + &New &Nowy - + Create a new file Utwórz nowy plik - + Ctrl+N Ctrl+N - + &Open... &Otwórz... - + Ctrl+O Ctrl+O - + &Save Zapi&sz - + Save Zapisz - + Ctrl+S Ctrl+S - + E&xit Wyjdź - + &Undo Cofnij - + Ctrl+Z Ctrl+Z - + &Redo Ponów - + Ctrl+Y Ctrl+Y - + Cu&t Wy&tnij - + Ctrl+X Ctrl+X - + &Copy Kopiuj - + Ctrl+C Ctrl+C - + &Paste Wklej - + Ctrl+V Ctrl+V - + &Delete Usuń - + Del Del - + Copy Full Path Kopiuj pełną ścieżkę - + Copy File Name Kopiuj nazwę pliku - + Copy File Directory Kopiuj folder pliku - + &Close Zamknij - + Close the current file Zamknij bieżący plik - + Ctrl+W Ctrl+W - + Save &As... Z&apisz jako... - + Ctrl+Alt+S Ctrl+Alt+S - + Save a Copy As... Zapisz kopię jako... - + Sav&e All Zapisz wszystko - + Ctrl+Shift+S Ctrl+Shift+S - + Select A&ll Zaznacz wszystko - + Ctrl+A Ctrl+A - + Increase Indent Zwiększ wcięcie - + Decrease Indent Zmniejsz wcięcie - + Rename... Zmień nazwę... - + Re&load Wczytaj ponownie - + Windows (CR LF) Windows (CR LF) - + Unix (LF) Unix (LF) - + Macintosh (CR) Macintosh (CR) - + UPPER CASE WIELKIE LITERY - + Convert text to upper case Konwersja do wielkich liter - + lower case małe litery - + Convert text to lower case Konwersja do małych liter - + Duplicate Current Line Powiel bieżący wiersz - + Alt+Down Alt+Down - + Split Lines Podziel wiersze - + Join Lines Połącz wiersze - + Ctrl+J Ctrl+J - + Move Selected Lines Up Przenieś zaznaczone wiersze w górę - + Ctrl+Shift+Up Ctrl+Shift+Up - + Move Selected Lines Down Przenieś zaznaczone wiersze w dół - + Ctrl+Shift+Down Ctrl+Shift+Down - + Clos&e All Zamknij wszystko - + Close All files Zamknij wszystkie pliki - + Ctrl+Shift+W Ctrl+Shift+W - + Close All Except Active Document Zamknij wszystko poza aktywnym dokumentem - + Close All to the Left Zamknij wszystko po lewej - + Close All to the Right Zamknij wszystko po prawej - + Zoom &In Zw&iększ - + Ctrl++ Ctrl++ - + Zoom &Out Zmniejsz - + Ctrl+- Ctrl+- - + Reset Zoom Przywróć domyślne - + Ctrl+0 Ctrl+0 - + About Qt O Qt - + About Notepad Next O Notepad Next - + Show Whitespace Pokaż znaki niedrukowalne - + Show End of Line Pokaż znaki końca wiersza - + Show All Characters Pokaż wszystkie znaki - + Show Indent Guide Pokaż linie wcięcia - + Show Wrap Symbol Pokaż symbol zawijania - + Word Wrap Zawijanie wierszy - + Restore Recently Closed File Przywróć ostatnio zamknięty plik - + Ctrl+Shift+T Ctrl+Shift+T - + Open All Recent Files Otwórz wszystkie ostatnie pliki - + Clear Recent Files List Wyczyść listę ostatnich plików - + &Find... Znajdź... - + Ctrl+F Ctrl+F - + Find in Files... Znajdź w plikach... - + Find &Next Znajdź &następne - + F3 F3 - + Find &Previous Znajdź &poprzednie - + + Shift+F3 + + + + &Replace... Zamień - + Ctrl+H Ctrl+H - + Full Screen Pełny ekran - + F11 F11 - - + + Start Recording Rozpocznij nagrywanie - + Playback Odtwórz - + Ctrl+Shift+P Ctrl+Shift+P - + Save Current Recorded Macro... Zapisz bieżące makro... - + Run a Macro Multiple Times... Uruchom makro wiele razy... - + Preferences... Preferencje... - + Quick Find Szybkie wyszukiwanie - + Ctrl+Alt+I Ctrl+Alt+I - + Select Next Instance Zaznacz następne wystąpienie - + Ctrl+D Ctrl+D - + Move to Trash... Przenieś do kosza... - + Move to Trash Przenieś do kosza - + Check for Updates... Sprawdź aktualizacje... - + &Go to Line... Idź do wiersza... - + Ctrl+G Ctrl+G - + Print... Drukuj... - + Ctrl+P Ctrl+P - + Open Folder as Workspace... Otwórz folder jako obszar roboczy... - + Toggle Single Line Comment Przełącz komentarz pojedynczego wiersza - + Ctrl+/ Ctrl+/ - + Single Line Comment Zakomentuj wiersz - + Ctrl+K Ctrl+K - + Single Line Uncomment Odkomentuj wiersz - + Ctrl+Shift+K Ctrl+Shift+K - + Edit Macros... Edytor makr... - + This is not currently implemented Ta funkcja nie jest obecnie zaimplementowana - + Column Mode... Tryb kolumnowy... - + Export as HTML... Eksportuj jako HTML... - + Export as RTF... Eksportuj jako RTF... - + Copy as HTML Kopiuj jako HTML - + Copy as RTF Kopiuj jako RTF - + Base 64 Encode Kodowanie Base 64 - + URL Encode Kodowanie URL - + Base 64 Decode Dekodowanie Base 64 - + URL Decode Dekodowanie URL - + Copy URL Kopiuj URL - + Remove Empty Lines Usuń puste wiersze - - + + Show in Explorer Pokaż w eksploratorze - + Open %1 Here - Open %1 Here + Open %1 Here - + Toggle Bookmark Przełącz zakładki - + Ctrl+F2 Ctrl+F2 - + Next Bookmark Następna zakładka - + F2 F2 - + Previous Bookmark Poprzednia zakładka - + Shift+F2 Shift+F2 - + Clear Bookmarks Wyczyść zakładki - + Invert Bookmarks Odwróć zakładki - + Next Tab - Next Tab + Next Tab - + Ctrl+Tab - Ctrl+Tab + Ctrl+Tab - + Previous Tab - Previous Tab + Previous Tab - + Ctrl+Shift+Tab - Ctrl+Shift+Tab + Ctrl+Shift+Tab - + Fold Level 1 - Fold Level 1 + Fold Level 1 - + Alt+1 - Alt+1 + Alt+1 - + Fold Level 2 - Fold Level 2 + Fold Level 2 - + Alt+2 - Alt+2 + Alt+2 - + Fold Level 3 - Fold Level 3 + Fold Level 3 - + Alt+3 - Alt+3 + Alt+3 - + Fold Level 4 - Fold Level 4 + Fold Level 4 - + Alt+4 - Alt+4 + Alt+4 - + Unfold Level 1 - Unfold Level 1 + Unfold Level 1 - + Alt+Shift+1 - Alt+Shift+1 + Alt+Shift+1 - + Unfold Level 2 - Unfold Level 2 + Unfold Level 2 - + Alt+Shift+2 - Alt+Shift+2 + Alt+Shift+2 - + Unfold Level 3 - Unfold Level 3 + Unfold Level 3 - + Alt+Shift+3 - Alt+Shift+3 + Alt+Shift+3 - + Unfold Level 4 - Unfold Level 4 + Unfold Level 4 - + Alt+Shift+4 - Alt+Shift+4 + Alt+Shift+4 - + Fold All - Fold All + Fold All - + Alt+0 - Alt+0 + Alt+0 - + Unfold All - Unfold All + Unfold All - + Alt+Shift+0 - Alt+Shift+0 + Alt+Shift+0 - + Fold Level 5 - Fold Level 5 + Fold Level 5 - + Alt+5 - Alt+5 + Alt+5 - + Fold Level 6 - Fold Level 6 + Fold Level 6 - + Alt+6 - Alt+6 + Alt+6 - + Fold Level 7 - Fold Level 7 + Fold Level 7 - + Alt+7 - Alt+7 + Alt+7 - + Fold Level 8 - Fold Level 8 + Fold Level 8 - + Alt+8 - Alt+8 + Alt+8 - + Fold Level 9 - Fold Level 9 + Fold Level 9 - + Alt+9 - Alt+9 + Alt+9 - + Unfold Level 5 - Unfold Level 5 + Unfold Level 5 - + Alt+Shift+5 - Alt+Shift+5 + Alt+Shift+5 - + Unfold Level 6 - Unfold Level 6 + Unfold Level 6 - + Alt+Shift+6 - Alt+Shift+6 + Alt+Shift+6 - + Unfold Level 7 - Unfold Level 7 + Unfold Level 7 - + Alt+Shift+7 - Alt+Shift+7 + Alt+Shift+7 - + Unfold Level 8 - Unfold Level 8 + Unfold Level 8 - + Alt+Shift+8 - Alt+Shift+8 + Alt+Shift+8 - + Unfold Level 9 - Unfold Level 9 + Unfold Level 9 - + Alt+Shift+9 - Alt+Shift+9 + Alt+Shift+9 - - + + Toggle Overtype - Toggle Overtype + Toggle Overtype - + Ins - Ins + Ins - + Debug Info... - Debug Info... + Debug Info... - + Cut Bookmarked Lines - Cut Bookmarked Lines + Cut Bookmarked Lines - + Copy Bookmarked Lines - Copy Bookmarked Lines + Copy Bookmarked Lines - + Delete Bookmarked Lines - Delete Bookmarked Lines + Delete Bookmarked Lines - + Mark Style 1 - Mark Style 1 + Mark Style 1 - + Mark Style 2 - Mark Style 2 + Mark Style 2 - + Clear Style 1 - Clear Style 1 + Clear Style 1 - + Clear Style 2 - Clear Style 2 + Clear Style 2 - + Mark Style 3 - Mark Style 3 + Mark Style 3 - + Clear Style 3 - Clear Style 3 + Clear Style 3 - - + + Clear All Styles - Clear All Styles + Clear All Styles - + Remove Duplicate Lines - Remove Duplicate Lines + Remove Duplicate Lines - + Remove Consecutive Duplicate Lines - Remove Consecutive Duplicate Lines + Remove Consecutive Duplicate Lines + + + + Sort Lines Ascending + + + + + Sort Lines Descending + + + + + Sort Lines Ascending (Case-Insensitive) + + + + + Sort Lines Descending (Case-Insensitive) + + + + + Sort Lines by Length Ascending + - + + Sort Lines by Length Descending + + + + + Reverse Line Order + + + + Go to line Idź do wiersza - + Line Number (1 - %1) Numer wiersza (1-%1) - + Stop Recording Zakończ nagrywanie - + Debug Info - Debug Info + Debug Info - + New %1 Nowy %1 - + Create File Utwórz plik - + <b>%1</b> does not exist. Do you want to create it? <b>%1</b> nie istnieje. Czy chcesz go utworzyć? - - + + Save file <b>%1</b>? Zapisać plik <b>%1</b>? - - + + Save File Zapisz plik - + Open Folder as Workspace Otwórz folder jako obszar roboczy - - + + Reload File Wczytaj plik ponownie - + Are you sure you want to reload <b>%1</b>? Any unsaved changes will be lost. Czy na pewno chcesz ponownie wczytać<b>%1</b>? Niezapisane zmiany zostaną utracone. - + Save a Copy As Zapisz kopię jako - - + + Rename Zmień nazwę - + Name: Nazwa: - + Delete File Usuń plik - + Are you sure you want to move <b>%1</b> to the trash? Czy na pewno chcesz przenieść <b>%1</b> do kosza? - + Error Deleting File Błąd podczas usuwania pliku - + Something went wrong deleting <b>%1</b>? Coś poszło nie tak przy próbie usunięcia <b>%1</b>? - + Administrator Administrator - + <b>%1</b> has been modified by another program. Do you want to reload it? - <b>%1</b> has been modified by another program. Do you want to reload it? + <b>%1</b> has been modified by another program. Do you want to reload it? - + Read error - Read error + Read error - + Write error - Write error + Write error - + Fatal error - Fatal error + Fatal error - + Resource error - Resource error + Resource error - + Open error - Open error + Open error - + Abort error - Abort error + Abort error - + Timeout error - Timeout error + Timeout error - + Unspecified error - Unspecified error + Unspecified error - + Remove error - Remove error + Remove error - + Rename error - Rename error + Rename error - + Position error - Position error + Position error - + Resize error - Resize error + Resize error - + Permissions error - Permissions error + Permissions error - + Copy error - Copy error + Copy error - + Unknown error (%1) - Unknown error (%1) + Unknown error (%1) - + Error Saving File Błąd podczas zapisywania pliku - + An error occurred when saving <b>%1</b><br><br>Error: %2 Pojawił się błąd podczas próby zapisania <b>%1</b><br><br>Błąd: %2 - + Zoom: %1% Powiększenie: %1% - + No updates are available at this time. Brak dostępnych aktualizacji. @@ -2091,7 +2123,7 @@ Recenter find/replace dialog when opened - Recenter find/replace dialog when opened + Recenter find/replace dialog when opened @@ -2106,63 +2138,63 @@ Exit on last tab closed - Exit on last tab closed + Exit on last tab closed Default Font - Default Font + Default Font Font - Font + Font Font Size - Font Size + Font Size pt - pt + pt Default Line Endings - Default Line Endings + Default Line Endings Highlight URLs - Highlight URLs + Highlight URLs Show Line Numbers - Show Line Numbers + Show Line Numbers Default Directory - Default Directory + Default Directory Follow Current Document - Follow Current Document + Follow Current Document Last Used Directory - Last Used Directory + Last Used Directory ... - ... + ... @@ -2187,7 +2219,7 @@ System Default - System Default + System Default @@ -2197,7 +2229,7 @@ Linux (LF) - Linux (LF) + Linux (LF) @@ -2260,7 +2292,7 @@ %L1/%L2 - %L1/%L2 + %L1/%L2 @@ -2273,7 +2305,7 @@ Copy Results to Clipboard - Copy Results to Clipboard + Copy Results to Clipboard diff --git a/i18n/NotepadNext_pt_BR.ts b/i18n/NotepadNext_pt_BR.ts index 582834c03..13fce402e 100644 --- a/i18n/NotepadNext_pt_BR.ts +++ b/i18n/NotepadNext_pt_BR.ts @@ -1,2722 +1,2327 @@ - - - AuthenticateDialog - - - Dialog - Caixa de diálogo - - - - Please provide the user name and password for the download location. - Por favor, indique o nome do usuário, a senha e o local para baixar. - - - - &User name: - Nome do &usuário: - - - - &Password: - &Senha: - - - + + ColumnEditorDialog - - Column Mode - Modo de coluna + + Column Mode + Modo de coluna - - Text - Texto + + Text + Texto - - Numbers - Números + + Numbers + Números - - Start: - Iniciar: + + Start: + Iniciar: - - Step: - Etapa: + + Step: + Etapa: - - + + DebugLogDock - - Debug Log - Registro de depuração - - - - Downloader - - - - Updater - Atualizador - - - - - - Downloading updates - As atualizações estão sendo baixadas - - - - Time remaining: 0 minutes - Tempo restante: 0 minutos - - - - Open - Abrir - - - - - Stop - Parar - - - - - Time remaining - Tempo restante - - - - unknown - desconhecido - - - - Error - Ocorreu um erro - - - - Cannot find downloaded update! - Não foi possível localizar a atualização que foi baixada. - - - - Close - Fechar - - - - Download complete! - A transferência foi concluída com sucesso. - - - - The installer will open separately - O instalador será aberto separadamente - - - - Click "OK" to begin installing the update - Clique no botão ‘OK’ para iniciar a instalação da atualização - - - - In order to install the update, you may need to quit the application. - Para instalar a atualização, talvez seja necessário necessário sair do programa. - - - In order to install the update, you may need to quit the application. This is a mandatory update, exiting now will close the application - Para instalar a atualização, talvez seja necessário sair do programa. Esta é uma atualização obrigatória, se você sair agora fechará o programa - - - - In order to install the update, you may need to quit the application. This is a mandatory update, exiting now will close the application. - Para instalar a atualização, talvez seja necessário sair do programa. Esta é uma atualização obrigatória, se você sair agora fechará o programa. - - - - Click the "Open" button to apply the update - Clique no botão ‘Abrir’ para aplicar a atualização - - - - Are you sure you want to cancel the download? - Você tem certeza de que quer cancelar a transferência? - - - - Are you sure you want to cancel the download? This is a mandatory update, exiting now will close the application - Você tem certeza de que quer cancelar a transferência? Esta é uma atualização obrigatória, se você sair agora fechará o programa - - - - - %1 bytes - %1 bytes - - - - - %1 KB - %1 KB - - - - - %1 MB - %1 MB - - - - of - de - - - - Downloading Updates - As atualizações estão sendo baixadas - - - - Time Remaining - Tempo Restante - - - - Unknown - Desconhecido - - - - about %1 hours - cerca de %1 horas - - - - about one hour - cerca de 1 hora - - - - %1 minutes - %1 minutos + + Debug Log + Registro de depuração + + + EditorInfoStatusBar - - 1 minute - 1 minuto + + Length: %L1 Lines: %L2 + Comprimento: %L1 e Quantidade de Linhas: %L2 - - %1 seconds - %1 segundos + + Sel: N/A + Sel: N/D - - 1 second - 1 segundo + + Sel: %L1 | %L2 + Sel: %L1 | %L2 - - - EditorInfoStatusBar - - Length: %L1 Lines: %L2 - Comprimento: %L1 e Quantidade de Linhas: %L2 + + Ln: %L1 Col: %L2 + Linha: %L1 e Coluna: %L2 - - Sel: N/A - Sel: N/D + + Macintosh (CR) + Macintosh (CR) - - Sel: %L1 | %L2 - Sel: %L1 | %L2 + + Windows (CR LF) + Windows (CR LF) - - Ln: %L1 Col: %L2 - Linha: %L1 e Coluna: %L2 + + Unix (LF) + Unix (LF) - - Macintosh (CR) - Macintosh (CR) + + ANSI + ANSI - - Windows (CR LF) - Windows (CR LF) + + UTF-8 + UTF-8 - - Unix (LF) - Unix (LF) + + UTF-8 BOM + - - ANSI - ANSI + + UTF-16LE BOM + - - UTF-8 - UTF-8 + + UTF-16BE BOM + - - OVR - This is a short abbreviation to indicate characters will be replaced when typing - Esta é uma abreviação para indicar que os caracteres serão substituídos ao digitar + + OVR + This is a short abbreviation to indicate characters will be replaced when typing + Esta é uma abreviação para indicar que os caracteres serão substituídos ao digitar - - INS - This is a short abbreviation to indicate characters will be inserted when typing - Esta é uma abreviação para indicar que os caracteres serão inseridos ao digitar + + INS + This is a short abbreviation to indicate characters will be inserted when typing + Esta é uma abreviação para indicar que os caracteres serão inseridos ao digitar - - + + EditorInspectorDock - - Editor Inspector - Inpetor do editor + + Editor Inspector + Inpetor do editor - - Position Information - Informações da posição + + Position Information + Informações da posição - - Current Position - Posição atual + + Current Position + Posição atual - - Current Position (x, y) - Posição atual (x, y) + + Current Position (x, y) + Posição atual (x, y) - - Column - Coluna + + Column + Coluna - - Current Style - Estilo atual + + Current Style + Estilo atual - - Current Line - Linha atual + + Current Line + Linha atual - - Line Length - Comprimento da linha + + Line Length + Comprimento da linha - - Line End Position - Posição final da linha + + Line End Position + Posição final da linha - - Line Indentation - Indentação da linha + + Line Indentation + Indentação da linha - - Line Indent Position - Posição da indentação da linha + + Line Indent Position + Posição da indentação da linha - - Selection Information - Informações da seleção + + Selection Information + Informações da seleção - - Mode - Modo + + Mode + Modo - - Is Rectangle - É um retângulo + + Is Rectangle + É um retângulo - - Selection Empty - A seleção está vazia + + Selection Empty + A seleção está vazia - - Main Selection - A seleção principal de + + Main Selection + A seleção principal de - - # of Selections - # seleções + + # of Selections + # seleções - - Multiple Selections - Seleção de várias + + Multiple Selections + Seleção de várias - - Document Information - Informações do arquivo + + Document Information + Informações do arquivo - - Length - Comprimento + + Length + Comprimento - - Line Count - Contagem de linhas + + Line Count + Contagem de linhas - - View Information - Visualizar as informações + + View Information + Visualizar as informações - - Lines on Screen - Linhas na tela + + Lines on Screen + Linhas na tela - - First Visible Line - Visibilidade da primeira linha + + First Visible Line + Visibilidade da primeira linha - - X Offset - Desvio do X + + X Offset + Desvio do X - - Fold Information - Informações sobre a dobra + + Fold Information + Informações sobre a dobra - - Visible From Doc Line - Visível a partir da linha do documento + + Visible From Doc Line + Visível a partir da linha do documento - - Doc Line From Visible - A linha do documento a partir da visível + + Doc Line From Visible + A linha do documento a partir da visível - - Fold Level - Nível da dobra + + Fold Level + Nível da dobra - - Is Fold Header - É um cabeçalho da dobra + + Is Fold Header + É um cabeçalho da dobra - - Fold Parent - Dobrar acima + + Fold Parent + Dobrar acima - - Last Child - Último abaixo + + Last Child + Último abaixo - - Contracted Fold Next - Dobrar a contratada seguinte + + Contracted Fold Next + Dobrar a contratada seguinte - - Caret - Caractere + + Caret + Caractere - - Anchor - Ancoragem + + Anchor + Ancoragem - - Caret Virtual Space - Espaço virtual do caractere + + Caret Virtual Space + Espaço virtual do caractere - - Anchor Virtual Space - Espaço virtual da ancoragem + + Anchor Virtual Space + Espaço virtual da ancoragem - - + + FileList - - File List - Lista de arquivos + + File List + Lista de arquivos - - ... - ... + + ... + ... - - Sort by File Name - Ordenar pelo nome do arquivo + + Sort by File Name + Ordenar pelo nome do arquivo - - + + FindReplaceDialog - - - - Find - Localizar + + + + Find + Localizar - - Search Mode - Modo de pesquisa + + Search Mode + Modo de pesquisa - - &Normal - &Normal + + &Normal + &Normal - - E&xtended (\n, \r, \t, \0, \x...) - E&stendida (\n, \r, \t, \0, \x...) + + E&xtended (\n, \r, \t, \0, \x...) + E&stendida (\n, \r, \t, \0, \x...) - - Re&gular expression - Expressão re&gular + + Re&gular expression + Expressão re&gular - - &. matches newline - &. corresponde a uma nova linha + + &. matches newline + &. corresponde a uma nova linha - - Transparenc&y - Transparênc&ia + + Transparenc&y + Transparênc&ia - - On losing focus - Ao perder o foco + + On losing focus + Ao perder o foco - - Always - Sempre + + Always + Sempre - - Coun&t - Con&tar + + Coun&t + Con&tar - - &Replace - &Substituir + + &Replace + &Substituir - - Replace &All - Substituir &tudo + + Replace &All + Substituir &tudo - - Replace All in &Opened Documents - Substituir tudo nos arquivos &abertos + + Replace All in &Opened Documents + Substituir tudo nos arquivos &abertos - - Find All in All &Opened Documents - Localizar tudo em todos os arquivos &abertos + + Find All in All &Opened Documents + Localizar tudo em todos os arquivos &abertos - - Find All in Current Document - Localizar tudo no arquivo atual + + Find All in Current Document + Localizar tudo no arquivo atual - - Close - Fechar + + Close + Fechar - - &Find: - &Localizar: + + &Find: + &Localizar: - - Replace: - Substituir: + + Replace: + Substituir: - - Backward direction - No sentido inverso + + Backward direction + No sentido inverso - - Match &whole word only - Corresponder apenas à palavra &inteira + + Match &whole word only + Corresponder apenas à palavra &inteira - - Match &case - Corresponder as letras &minúsculas/maiúsculas + + Match &case + Corresponder as letras &minúsculas/maiúsculas - - Wra&p Around - Pesquisar e circular + + Wra&p Around + Pesquisar e circular - - Replace - Substituir + + Replace + Substituir - - - Replaced %Ln matches - - Foi substituída %Ln correspondência - Foram substituídas %Ln correspondências - + + + Replaced %Ln matches + + Foi substituída %Ln correspondência + Foram substituídas %Ln correspondências + - - The end of the document has been reached. Found 1st occurrence from the top. - O fim do arquivo foi alcançado. Foi localizada a 1ª ocorrência de cima para baixo. + + The end of the document has been reached. Found 1st occurrence from the top. + O fim do arquivo foi alcançado. Foi localizada a 1ª ocorrência de cima para baixo. - - No matches found. - Nenhuma correspondência foi encontrada + + No matches found. + Nenhuma correspondência foi encontrada - - 1 occurrence was replaced - Uma ocorrência foi substituída + + 1 occurrence was replaced + Uma ocorrência foi substituída - - No more occurrences were found - Não foram localizadas outras ocorrências + + No more occurrences were found + Não foram localizadas outras ocorrências - - Found %Ln matches - - Foi localizada %Ln correspondência - Foram localizadas %Ln correspondências - - - - + + Found %Ln matches + + Foi localizada %Ln correspondência + Foram localizadas %Ln correspondências + + + + FolderAsWorkspaceDock - - Folder as Workspace - Pasta como área de trabalho + + Folder as Workspace + Pasta como área de trabalho - - - HexViewerDock - - - Hex Viewer - Visualizador de hexadecimal - - - + + LanguageInspectorDock - - Language Inspector - Inspetor da linguagem + + Language Inspector + Inspetor da linguagem - - Language: - Linguagem: + + Language: + Linguagem: - - Lexer: - Lexer: + + Lexer: + Lexer: - - Properties: - Propriedades: + + Properties: + Propriedades: - - Property - Propriedade + + Property + Propriedade - - Type - Tipo + + Type + Tipo - - - Description - Descrição + + + Description + Descrição - - Value - Valor + + Value + Valor - - Keywords: - Palavras-chave: + + Keywords: + Palavras-chave: - - ID - Identidade + + ID + Identidade - - Styles: - Estilos: + + Styles: + Estilos: - - TextLabel - Legenda do texto + + TextLabel + Legenda do texto - - Position %1 Style %2 - Posição %1 e Estilo %2 + + Position %1 Style %2 + Posição %1 e Estilo %2 - - + + LuaConsoleDock - - Lua Console - Console da lua + + Lua Console + Console da lua - - + + MacroEditorDialog - - Macro Editor - Editor de macros + + Macro Editor + Editor de macros - - Name - Nome + + Name + Nome - - Shortcut - Atalho + + Shortcut + Atalho - - Steps: - Etapas: + + Steps: + Etapas: - - Insert Macro Step - Inserir uma etapa no macro + + Insert Macro Step + Inserir uma etapa no macro - - Delete Selected Macro Step - Apagar a etapa que foi selecionada no macro + + Delete Selected Macro Step + Apagar a etapa que foi selecionada no macro - - Move Selected Macro Step Up - Mover para cima a etapa que foi selecionada no macro + + Move Selected Macro Step Up + Mover para cima a etapa que foi selecionada no macro - - Move Selected Macro Step Down - Mover para baixo a etapa que foi selecionada no macro + + Move Selected Macro Step Down + Mover para baixo a etapa que foi selecionada no macro - - Copy Selected Macro - Copiar o macro que foi selecionado + + Copy Selected Macro + Copiar o macro que foi selecionado - - Delete Selected Macro - Apagar o macro que foi selecionado + + Delete Selected Macro + Apagar o macro que foi selecionado - - Delete Macro - Apagar o macro + + Delete Macro + Apagar o macro - - Are you sure you want to delete <b>%1</b>? - Você tem certeza de que quer apagar o <b>%1</b>? + + Are you sure you want to delete <b>%1</b>? + Você tem certeza de que quer apagar o <b>%1</b>? - - (Copy) - (Copiar) + + (Copy) + (Copiar) - - + + MacroRunDialog - - Run a Macro Multiple Times - Executar um macro várias vezes + + Run a Macro Multiple Times + Executar um macro várias vezes - - Macro: - Macro: + + Macro: + Macro: - - Run Until End of File - Executar até ao fim do arquivo + + Run Until End of File + Executar até ao fim do arquivo - - Execute... - Executar... + + Execute... + Executar... - - times - vezes + + times + vezes - - Run - Executar + + Run + Executar - - Cancel - Cancelar + + Cancel + Cancelar - - + + MacroSaveDialog - - Save Macro - Salvar o macro + + Save Macro + Salvar o macro - - Name: - Nome: + + Name: + Nome: - - Shortcut: - Atalho: + + Shortcut: + Atalho: - - OK - OK + + OK + OK - - Cancel - Cancelar + + Cancel + Cancelar - - + + MacroStepTableModel - - Name - Nome + + Name + Nome - - Text - Texto + + Text + Texto - - + + MainWindow - - Notepad Next[*] - Notepad Next [*] - - - - + - + - - - - &File - &Arquivo - - - - Close More - Fechar mais - - - - &Recent Files - Arquivos &recentes - - - - - Export As - Exportar como - - - - &Edit - &Editar - - - - Copy More - Copiar mais - - - - Indent - Indentar - - - - EOL Conversion - Conversão do fim da linha - - - - Convert Case - Converter as letras maiúsculas/minúsculas - - - - Line Operations - Operações de linha - - - - Comment/Uncomment - Comentar/Remover o comentário + + Notepad Next[*] + Notepad Next [*] - - Copy As - Copiar como + + + + + - - Encoding/Decoding - Codificação/Decodificação + + &File + &Arquivo - - Search - Pesquisar + + Close More + Fechar mais - - Bookmarks - Favoritos + + &Recent Files + Arquivos &recentes - - Mark All Occurrences - Selecionar todas as ocorrências + + + Export As + Exportar como - - Clear Marks - Remover as seleções + + &Edit + &Editar - - &View - &Visualizar + + Copy More + Copiar mais - - &Zoom - &Ampliar ou Reduzir + + Indent + Indentar - - Show Symbol - Exibir o símbolo + + EOL Conversion + Conversão do fim da linha - - Fold Level - Nível da dobra + + Convert Case + Converter as letras maiúsculas/minúsculas - - Unfold Level - Nível da desdobra + + Line Operations + Operações de linha - - Language - Linguagem + + Comment/Uncomment + Comentar/Remover o comentário - - Settings - Configurações + + Copy As + Copiar como - - Macro - Macro + + Encoding/Decoding + Codificação/Decodificação - - Help - Ajuda + + Search + Pesquisar - - Encoding - Codificação + + Bookmarks + Favoritos - - Main Tool Bar - Barra de ferramentas principal + + Mark All Occurrences + Selecionar todas as ocorrências - - &New - &Novo + + Clear Marks + Remover as seleções - - Create a new file - Criar um novo arquivo + + &View + &Visualizar - - Ctrl+N - Ctrl+N + + &Zoom + &Ampliar ou Reduzir - - &Open... - &Abrir... + + Show Symbol + Exibir o símbolo - - Ctrl+O - Ctrl+O + + Fold Level + Nível da dobra - - &Save - &Salvar + + Unfold Level + Nível da desdobra - - Save - Salvar + + Language + Linguagem - - Ctrl+S - Ctrl+S + + Settings + Configurações - - E&xit - Sa&ir + + Macro + Macro - - &Undo - Des&fazer + + Help + Ajuda - - Ctrl+Z - Ctrl+Z + + Encoding + Codificação - - &Redo - &Refazer + + Main Tool Bar + Barra de ferramentas principal - - Ctrl+Y - Ctrl+Y + + &New + &Novo - - Cu&t - Cor&tar + + Create a new file + Criar um novo arquivo - - Ctrl+X - Ctrl+X + + Ctrl+N + Ctrl+N - - &Copy - &Copiar + + &Open... + &Abrir... - - Ctrl+C - Ctrl+C + + Ctrl+O + Ctrl+O - - &Paste - &Colar + + &Save + &Salvar - - Ctrl+V - Ctrl+V + + Save + Salvar - - &Delete - &Apagar + + Ctrl+S + Ctrl+S - - Del - Del ou Delete + + E&xit + Sa&ir - - Copy Full Path - Copiar o caminho completo + + &Undo + Des&fazer - - Copy File Name - Copiar o nome do arquivo + + Ctrl+Z + Ctrl+Z - - Copy File Directory - Copiar a pasta de arquivos + + &Redo + &Refazer - - &Close - &Fechar + + Ctrl+Y + Ctrl+Y - - Close the current file - Fechar o arquivo atual + + Cu&t + Cor&tar - - Ctrl+W - Ctrl+W + + Ctrl+X + Ctrl+X - - Save &As... - Salvar &como... + + &Copy + &Copiar - - Ctrl+Alt+S - Ctrl+Alt+S + + Ctrl+C + Ctrl+C - - Save a Copy As... - Salvar uma cópia como... + + &Paste + &Colar - - Sav&e All - Sal&var todos os arquivos + + Ctrl+V + Ctrl+V - - Ctrl+Shift+S - Ctrl+Shift+S + + &Delete + &Apagar - - Select A&ll - Selecionar t&udo + + Del + Del ou Delete - - Ctrl+A - Ctrl+A + + Copy Full Path + Copiar o caminho completo - - Increase Indent - Aumentar o recuo da linha + + Copy File Name + Copiar o nome do arquivo - - Decrease Indent - Diminuir o recuo da linha + + Copy File Directory + Copiar a pasta de arquivos - - Rename... - Renomear... + + &Close + &Fechar - - Re&load - Re&carregar + + Close the current file + Fechar o arquivo atual - - Windows (CR LF) - Windows (CR LF) + + Ctrl+W + Ctrl+W - - Unix (LF) - Unix (LF) + + Save &As... + Salvar &como... - - Macintosh (CR) - Macintosh (CR) + + Ctrl+Alt+S + Ctrl+Alt+S - - UPPER CASE - MAIÚSCULAS + + Save a Copy As... + Salvar uma cópia como... - - Convert text to upper case - Converter o texto em letras maiúsculas + + Sav&e All + Sal&var todos os arquivos - - lower case - minúsculas + + Ctrl+Shift+S + Ctrl+Shift+S - - Convert text to lower case - Converter o texto em letras minúsculas + + Select A&ll + Selecionar t&udo - - Duplicate Current Line - Duplicar a linha atual + + Ctrl+A + Ctrl+A - - Alt+Down - Alt+Baixo + + Increase Indent + Aumentar o recuo da linha - - Split Lines - Dividir as linhas + + Decrease Indent + Diminuir o recuo da linha - - Join Lines - Juntar as linhas + + Rename... + Renomear... - - Ctrl+J - Ctrl+J + + Re&load + Re&carregar - - Move Selected Lines Up - Mover as linhas selecionadas para cima + + Windows (CR LF) + Windows (CR LF) - - Ctrl+Shift+Up - Ctrl+Shift+Cima + + Unix (LF) + Unix (LF) - - Move Selected Lines Down - Mover as linhas selecionadas para baixo + + Macintosh (CR) + Macintosh (CR) - - Ctrl+Shift+Down - Ctrl+Shift+Baixo + + UPPER CASE + MAIÚSCULAS - - Clos&e All - Fechar &todos os arquivos + + Convert text to upper case + Converter o texto em letras maiúsculas - - Close All files - Fechar todos os arquivos + + lower case + minúsculas - - Ctrl+Shift+W - Ctrl+Shift+W + + Convert text to lower case + Converter o texto em letras minúsculas - - Close All Except Active Document - Fechar todos os arquivos, exceto o atual + + Duplicate Current Line + Duplicar a linha atual - - Close All to the Left - Fechar todos os arquivos à esquerda + + Alt+Down + Alt+Baixo - - Close All to the Right - Fechar todos os arquivos à direita + + Split Lines + Dividir as linhas - - Zoom &In - Ampl&iar + + Join Lines + Juntar as linhas - - Ctrl++ - Ctrl++ + + Ctrl+J + Ctrl+J - - Zoom &Out - Red&uzir + + Move Selected Lines Up + Mover as linhas selecionadas para cima - - Ctrl+- - Ctrl+- + + Ctrl+Shift+Up + Ctrl+Shift+Cima - - Reset Zoom - Redefinir a visualização + + Move Selected Lines Down + Mover as linhas selecionadas para baixo - - Ctrl+0 - Ctrl+0 + + Ctrl+Shift+Down + Ctrl+Shift+Baixo - - About Qt - Sobre o Qt + + Clos&e All + Fechar &todos os arquivos - - About Notepad Next - Sobre o Notepad Next + + Close All files + Fechar todos os arquivos - - Show Whitespace - Exibir os espaços em branco + + Ctrl+Shift+W + Ctrl+Shift+W - - Show End of Line - Exibir o fim da linha + + Close All Except Active Document + Fechar todos os arquivos, exceto o atual - - Show All Characters - Exibir todos os caracteres + + Close All to the Left + Fechar todos os arquivos à esquerda - - Show Indent Guide - Exibir a guia de indentação + + Close All to the Right + Fechar todos os arquivos à direita - - Show Wrap Symbol - Exibir o símbolo da quebra de linha + + Zoom &In + Ampl&iar - - Word Wrap - Quebra de palavras + + Ctrl++ + Ctrl++ - - Restore Recently Closed File - Restaurar o arquivo que foi fechado recentemente + + Zoom &Out + Red&uzir - - Ctrl+Shift+T - Ctrl+Shift+T + + Ctrl+- + Ctrl+- - - Open All Recent Files - Abrir todos os arquivos recentes + + Reset Zoom + Redefinir a visualização - - Clear Recent Files List - Limpar a lista dos arquivos recentes + + Ctrl+0 + Ctrl+0 - - &Find... - &Localizar... + + About Qt + Sobre o Qt - - Ctrl+F - Ctrl+F + + About Notepad Next + Sobre o Notepad Next - - Find in Files... - Localizar nos arquivos... + + Show Whitespace + Exibir os espaços em branco - - Find &Next - Localizar o &próximo + + Show End of Line + Exibir o fim da linha - - F3 - F3 + + Show All Characters + Exibir todos os caracteres - - Find &Previous - Localizar o &anterior + + Show Indent Guide + Exibir a guia de indentação - - &Replace... - &Substituir... + + Show Wrap Symbol + Exibir o símbolo da quebra de linha - - Ctrl+H - Ctrl+H + + Word Wrap + Quebra de palavras - - Full Screen - Tela inteira + + Restore Recently Closed File + Restaurar o arquivo que foi fechado recentemente - - F11 - F11 + + Ctrl+Shift+T + Ctrl+Shift+T - - - Start Recording - Iniciar a gravação + + Open All Recent Files + Abrir todos os arquivos recentes - - Playback - Reproduzir + + Clear Recent Files List + Limpar a lista dos arquivos recentes - - Ctrl+Shift+P - Ctrl+Shift+P + + &Find... + &Localizar... - - Save Current Recorded Macro... - Salvar o macro atual que foi gravado... + + Ctrl+F + Ctrl+F - - Run a Macro Multiple Times... - Executar um macro várias vezes... + + Find in Files... + Localizar nos arquivos... - - Preferences... - Preferências... + + Find &Next + Localizar o &próximo - - Quick Find - Localizar rapidamente + + F3 + F3 - - Ctrl+Alt+I - Ctrl+Alt+I + + Find &Previous + Localizar o &anterior - - Select Next Instance - Selecionar a próxima instância + + Shift+F3 + - - Ctrl+D - Ctrl+D + + &Replace... + &Substituir... - - Move to Trash... - Mover para a lixeira... + + Ctrl+H + Ctrl+H - - Move to Trash - Mover para a lixeira + + Full Screen + Tela inteira - - Check for Updates... - Procurar por atualizações... + + F11 + F11 - - &Go to Line... - &Ir para a linha... + + + Start Recording + Iniciar a gravação - - Ctrl+G - Ctrl+G + + Playback + Reproduzir - - Print... - Imprimir... + + Ctrl+Shift+P + Ctrl+Shift+P - - Ctrl+P - Ctrl+P + + Save Current Recorded Macro... + Salvar o macro atual que foi gravado... - - Open Folder as Workspace... - Abrir uma pasta como área de trabalho... + + Run a Macro Multiple Times... + Executar um macro várias vezes... - - Toggle Single Line Comment - Adicionar ou remover o comentário da linha única + + Preferences... + Preferências... - - Ctrl+/ - Ctrl+/ + + Quick Find + Localizar rapidamente - - Single Line Comment - Comentário da linha única + + Ctrl+Alt+I + Ctrl+Alt+I - - Ctrl+K - Ctrl+K + + Select Next Instance + Selecionar a próxima instância - - Single Line Uncomment - Remover o comentário da linha única + + Ctrl+D + Ctrl+D - - Ctrl+Shift+K - Ctrl+Shift+K + + Move to Trash... + Mover para a lixeira... - - Edit Macros... - Editar os macros... + + Move to Trash + Mover para a lixeira - - This is not currently implemented - Esta funcionalidade ainda não está implementada + + Check for Updates... + Procurar por atualizações... - - Column Mode... - Modo de coluna... + + &Go to Line... + &Ir para a linha... - - Export as HTML... - Exportar como HTML... + + Ctrl+G + Ctrl+G - - Export as RTF... - Exportar como RTF... + + Print... + Imprimir... - - Copy as HTML - Copiar como HTML + + Ctrl+P + Ctrl+P - - Copy as RTF - Copiar como RTF + + Open Folder as Workspace... + Abrir uma pasta como área de trabalho... - - Base 64 Encode - Codificar para a base 64 + + Toggle Single Line Comment + Adicionar ou remover o comentário da linha única - - URL Encode - Codificar para o URL + + Ctrl+/ + Ctrl+/ - - Base 64 Decode - Decodificar a partir da base 64 + + Single Line Comment + Comentário da linha única - - URL Decode - Decodificar a partir do URL + + Ctrl+K + Ctrl+K - - Copy URL - Copiar o URL + + Single Line Uncomment + Remover o comentário da linha única - - Remove Empty Lines - Remover as linhas vazias + + Ctrl+Shift+K + Ctrl+Shift+K - - - Show in Explorer - Exibir no explorador + + Edit Macros... + Editar os macros... - - Open %1 Here - Abrir %1 aqui + + This is not currently implemented + Esta funcionalidade ainda não está implementada - - Mark Style 1 - Estilo da seleção 1 + + Column Mode... + Modo de coluna... - - Mark Style 2 - Estilo da seleção 2 + + Export as HTML... + Exportar como HTML... - - Clear Style 1 - Remover o estilo 1 + + Export as RTF... + Exportar como RTF... - - Clear Style 2 - Remover o estilo 2 + + Copy as HTML + Copiar como HTML - - Mark Style 3 - Estilo da seleção 3 + + Copy as RTF + Copiar como RTF - - Clear Style 3 - Remover o estilo 3 + + Base 64 Encode + Codificar para a base 64 - - - Clear All Styles - Remover todos os estilos + + URL Encode + Codificar para o URL - - Remove Duplicate Lines - + + Base 64 Decode + Decodificar a partir da base 64 - - Remove Consecutive Duplicate Lines - + + URL Decode + Decodificar a partir do URL - Open Command Prompt Here - Abrir o emulador de terminal aqui + + Copy URL + Copiar o URL - - Toggle Bookmark - Ativar ou desativar os favoritos + + Remove Empty Lines + Remover as linhas vazias - - Ctrl+F2 - Ctrl+F2 + + + Show in Explorer + Exibir no explorador - - Next Bookmark - Próximo favorito + + Open %1 Here + Abrir %1 aqui - - F2 - F2 + + Toggle Bookmark + Ativar ou desativar os favoritos - - Previous Bookmark - Favorito anterior + + Ctrl+F2 + Ctrl+F2 - - Shift+F2 - Shift+F2 + + Next Bookmark + Próximo favorito - - Clear Bookmarks - Limpar os favoritos + + F2 + F2 - - Invert Bookmarks - Inverter os favoritos + + Previous Bookmark + Favorito anterior - - Next Tab - Próxima aba + + Shift+F2 + Shift+F2 - - Ctrl+Tab - Ctrl+Tab + + Clear Bookmarks + Limpar os favoritos - - Previous Tab - Aba anterior + + Invert Bookmarks + Inverter os favoritos - - Ctrl+Shift+Tab - Ctrl+Shift+Tab + + Next Tab + Próxima aba - - Fold Level 1 - Nível da dobra 1 + + Ctrl+Tab + Ctrl+Tab - - Alt+1 - Alt+1 + + Previous Tab + Aba anterior - - Fold Level 2 - Nível da dobra 2 + + Ctrl+Shift+Tab + Ctrl+Shift+Tab - - Alt+2 - Alt+2 + + Fold Level 1 + Nível da dobra 1 - - Fold Level 3 - Nível da dobra 3 + + Alt+1 + Alt+1 - - Alt+3 - Alt+3 + + Fold Level 2 + Nível da dobra 2 - - Fold Level 4 - Nível da dobra 4 + + Alt+2 + Alt+2 - - Alt+4 - Alt+4 - Alt+4 + + Fold Level 3 + Nível da dobra 3 - - Unfold Level 1 - Nível da desdobra 1 + + Alt+3 + Alt+3 - - Alt+Shift+1 - Alt+Shift+1 + + Fold Level 4 + Nível da dobra 4 - - Unfold Level 2 - Nível da desdobra 2 + + Alt+4 + Alt+4 - - Alt+Shift+2 - Alt+Shift+2 + + Unfold Level 1 + Nível da desdobra 1 - - Unfold Level 3 - Nível da desdobra 3 + + Alt+Shift+1 + Alt+Shift+1 - - Alt+Shift+3 - Alt+Shift+3 + + Unfold Level 2 + Nível da desdobra 2 - - Unfold Level 4 - Nível da desdobra 4 + + Alt+Shift+2 + Alt+Shift+2 - - Alt+Shift+4 - Alt+Shift+4 + + Unfold Level 3 + Nível da desdobra 3 - - Fold All - Dobrar tudo + + Alt+Shift+3 + Alt+Shift+3 - - Alt+0 - Alt+0 - Alt+0 + + Unfold Level 4 + Nível da desdobra 4 - - Unfold All - Desdobrar tudo + + Alt+Shift+4 + Alt+Shift+4 - - Alt+Shift+0 - Alt+Shift+0 + + Fold All + Dobrar tudo - - Fold Level 5 - Nível da dobra 5 + + Alt+0 + Alt+0 - - Alt+5 - Alt+5 + + Unfold All + Desdobrar tudo - - Fold Level 6 - Nível da dobra 6 + + Alt+Shift+0 + Alt+Shift+0 - - Alt+6 - Alt+6 + + Fold Level 5 + Nível da dobra 5 - - Fold Level 7 - Nível da dobra 7 + + Alt+5 + Alt+5 - - Alt+7 - Alt+7 + + Fold Level 6 + Nível da dobra 6 - - Fold Level 8 - Nível da dobra 8 + + Alt+6 + Alt+6 - - Alt+8 - Alt+8 + + Fold Level 7 + Nível da dobra 7 - - Fold Level 9 - Nível da dobra 9 + + Alt+7 + Alt+7 - - Alt+9 - Alt+9 + + Fold Level 8 + Nível da dobra 8 - - Unfold Level 5 - Nível da desdobra 5 + + Alt+8 + Alt+8 - - Alt+Shift+5 - Alt+Shift+5 + + Fold Level 9 + Nível da dobra 9 - - Unfold Level 6 - Nível da desdobra 6 + + Alt+9 + Alt+9 - - Alt+Shift+6 - Alt+Shift+6 + + Unfold Level 5 + Nível da desdobra 5 - - Unfold Level 7 - Nível da desdobra 7 + + Alt+Shift+5 + Alt+Shift+5 - - Alt+Shift+7 - Alt+Shift+7 + + Unfold Level 6 + Nível da desdobra 6 - - Unfold Level 8 - Nível da desdobra 8 + + Alt+Shift+6 + Alt+Shift+6 - - Alt+Shift+8 - Alt+Shift+8 + + Unfold Level 7 + Nível da desdobra 7 - - Unfold Level 9 - Nível da desdobra 9 + + Alt+Shift+7 + Alt+Shift+7 - - Alt+Shift+9 - Alt+Shift+9 + + Unfold Level 8 + Nível da desdobra 8 - - - Toggle Overtype - Alternar entre os tipos + + Alt+Shift+8 + Alt+Shift+8 - - Ins - Ins + + Unfold Level 9 + Nível da desdobra 9 - - Debug Info... - Informações da depuração... + + Alt+Shift+9 + Alt+Shift+9 - - Cut Bookmarked Lines - Cortar as linhas dos favoritos + + + Toggle Overtype + Alternar entre os tipos - - Copy Bookmarked Lines - Copiar as linhas dos favoritos + + Ins + Ins - - Delete Bookmarked Lines - Apagar as linhas dos favoritos + + Debug Info... + Informações da depuração... - - Go to line - Ir para a linha + + Cut Bookmarked Lines + Cortar as linhas dos favoritos - - Line Number (1 - %1) - Número da linha (1 - %1) + + Copy Bookmarked Lines + Copiar as linhas dos favoritos - - Stop Recording - Parar a gravação + + Delete Bookmarked Lines + Apagar as linhas dos favoritos - - Debug Info - Informações da depuração + + Mark Style 1 + Estilo da seleção 1 - - New %1 - Novo %1 + + Mark Style 2 + Estilo da seleção 2 - - Create File - Criar um arquivo + + Clear Style 1 + Remover o estilo 1 - - <b>%1</b> does not exist. Do you want to create it? - O <b>%1</b> não existe. Você quer criá-lo agora? + + Clear Style 2 + Remover o estilo 2 - - - Save file <b>%1</b>? - Salvar o arquivo <b>%1</b>? + + Mark Style 3 + Estilo da seleção 3 - - - Save File - Salvar o arquivo + + Clear Style 3 + Remover o estilo 3 - - Open Folder as Workspace - Abrir a pasta como área de trabalho + + + Clear All Styles + Remover todos os estilos - - - Reload File - Recarregar o arquivo + + Remove Duplicate Lines + - - Are you sure you want to reload <b>%1</b>? Any unsaved changes will be lost. - Você tem certeza de que quer recarregar o <b>%1</b>? Todas as alterações que não foram salvas serão perdidas. + + Remove Consecutive Duplicate Lines + - - Save a Copy As - Salvar uma cópia como + + Sort Lines Ascending + - - - Rename - Renomear + + Sort Lines Descending + - - Name: - Nome: + + Sort Lines Ascending (Case-Insensitive) + - - Delete File - Apagar o arquivo + + Sort Lines Descending (Case-Insensitive) + - - Are you sure you want to move <b>%1</b> to the trash? - Você tem a certeza de que quer mover o <b>%1</b> para a lixeira? + + Sort Lines by Length Ascending + - - Error Deleting File - Ocorreu um erro ao apagar o arquivo + + Sort Lines by Length Descending + - - Something went wrong deleting <b>%1</b>? - Ocorreu um problema ao tentar apagar o <b>%1</b>. + + Reverse Line Order + - - Administrator - Administrador + + Go to line + Ir para a linha - - <b>%1</b> has been modified by another program. Do you want to reload it? - + + Line Number (1 - %1) + Número da linha (1 - %1) - - Read error - + + Stop Recording + Parar a gravação - - Write error - + + Debug Info + Informações da depuração - - Fatal error - + + New %1 + Novo %1 - - Resource error - + + Create File + Criar um arquivo - - Open error - + + <b>%1</b> does not exist. Do you want to create it? + O <b>%1</b> não existe. Você quer criá-lo agora? - - Abort error - + + + Save file <b>%1</b>? + Salvar o arquivo <b>%1</b>? - - Timeout error - + + + Save File + Salvar o arquivo - - Unspecified error - + + Open Folder as Workspace + Abrir a pasta como área de trabalho - - Remove error - + + + Reload File + Recarregar o arquivo - - Rename error - + + Are you sure you want to reload <b>%1</b>? Any unsaved changes will be lost. + Você tem certeza de que quer recarregar o <b>%1</b>? Todas as alterações que não foram salvas serão perdidas. - - Position error - - - - - Resize error - - - - - Permissions error - - - - - Copy error - - - - - Unknown error (%1) - - - - - Error Saving File - Ocorreu um erro ao tentar salvar o arquivo - - - - An error occurred when saving <b>%1</b><br><br>Error: %2 - Ocorreu um erro ao tentar salvar o <b>%1</b><br><br>. Ocorreu o erro: %2 - - - - Zoom: %1% - Ampliar ou reduzir: %1% - - - - No updates are available at this time. - Não existem atualizações disponíveis neste exato momento - - - - PreferencesDialog - - - Preferences - Preferências + + Save a Copy As + Salvar uma cópia como - - Show menu bar - Exibir a barra de menus + + + Rename + Renomear - - Show toolbar - Exibir a barra de ferramentas + + Name: + Nome: - - Show status bar - Exibir a barra de estado + + Delete File + Apagar o arquivo - - Restore previous session - Restaurar a sessão anterior + + Are you sure you want to move <b>%1</b> to the trash? + Você tem a certeza de que quer mover o <b>%1</b> para a lixeira? - - Unsaved changes - As alterações não foram salvas + + Error Deleting File + Ocorreu um erro ao apagar o arquivo - - Temporary files - Arquivos temporários + + Something went wrong deleting <b>%1</b>? + Ocorreu um problema ao tentar apagar o <b>%1</b>. - - Recenter find/replace dialog when opened - Centralizar a janela de pesquisar/substituir quando for aberta + + Administrator + Administrador - - Combine search results - Combinar os resultados da pesquisa + + <b>%1</b> has been modified by another program. Do you want to reload it? + - - Translation: - Tradução: + + Read error + - - Exit on last tab closed - Sair quando a última aba for fechada + + Write error + - - Default Font - Tipo de letra padrão + + Fatal error + - - Font - Tipo de letra + + Resource error + - - Font Size - Tamanho do tipo de letra + + Open error + - - pt - pt + + Abort error + - - Default Line Endings - Finais de linha padrão + + Timeout error + - - Highlight URLs - + + Unspecified error + - - Show Line Numbers - + + Remove error + - - - Default Directory - + + Rename error + - - Follow Current Document - + + Position error + - - Last Used Directory - + + Resize error + - - ... - ... + + Permissions error + - - TextLabel - Legenda + + Copy error + - - An application restart is required to apply certain settings. - É necessário reiniciar o programa para aplicar algumas configurações. + + Unknown error (%1) + - - Warning - Aviso + + Error Saving File + Ocorreu um erro ao tentar salvar o arquivo - - This feature is experimental and it should not be considered safe for critically important work. It may lead to possible data loss. Use at your own risk. - Esta funcionalidade é experimental e não deve ser considerada segura para os trabalhos de grande importância. Pode ocorrer a perda dos dados. Utilize-a por sua conta e risco. + + An error occurred when saving <b>%1</b><br><br>Error: %2 + Ocorreu um erro ao tentar salvar o <b>%1</b><br><br>. Ocorreu o erro: %2 - - System Default - Padrão do sistema operacional + + Zoom: %1% + Ampliar ou reduzir: %1% - - Windows (CR LF) - Windows (CR LF) - - - - Linux (LF) - GNU/Linux (LF) - - - - Macintosh (CR) - Macintosh (CR) - - - - <System Default> - <Padrão do sistema operacional> - - - - QObject - - - List All Tabs - Exibir todas as abas - - - - Detach Group - Retirar o grupo - - - - Minimize - Minimizar - - - - Close Tab - Fechar a aba - - - - QuickFindWidget - - - Frame - Moldura - - - - Match case - Corresponder as letras minúsculas/maiúsculas - - - - Aa - Aa - - - - Match whole word - Corresponder a palavra inteira - - - - |A| - |A| - - - - Use regular expression - Utilizar uma expressão regular - - - - . * - . * - - - - Alt+E - Alt+E - - - - Find... - Localizar... + + No updates are available at this time. + Não existem atualizações disponíveis neste exato momento + + + PreferencesDialog - - %L1/%L2 - %L1/%L2 + + Preferences + Preferências - - - SearchResultsDock - - Search Results - Resultados da pesquisa + + Show menu bar + Exibir a barra de menus - - Copy Results to Clipboard - Copiar os resultados para a área de transferência + + Show toolbar + Exibir a barra de ferramentas - - Collapse All - Recolher tudo + + Show status bar + Exibir a barra de estado - - Expand All - Expandir tudo + + Restore previous session + Restaurar a sessão anterior - - Delete Entry - Apagar a entrada + + Unsaved changes + As alterações não foram salvas - - Delete All - Apagar tudo + + Temporary files + Arquivos temporários - - - Updater - - Would you like to download the update now? - Você quer baixar a atualização agora? + + Recenter find/replace dialog when opened + Centralizar a janela de pesquisar/substituir quando for aberta - Would you like to download the update now? This is a mandatory update, exiting now will close the application - Você quer baixar a atualização agora? Esta é uma atualização obrigatória, se você sair agora fechará o programa + + Combine search results + Combinar os resultados da pesquisa - - Would you like to download the update now?<br />This is a mandatory update, exiting now will close the application. - Você quer baixar a atualização agora?<br />Esta é uma atualização obrigatória, se você sair agora fechará o programa + + Translation: + Tradução: - - <strong>Change log:</strong><br/>%1 - <strong>Registro das alterações: </strong><br/>%1 + + Exit on last tab closed + Sair quando a última aba for fechada - - Version %1 of %2 has been released! - A versão %1 de %2 foi lançada. + + Default Font + Tipo de letra padrão - - No updates are available for the moment - Não existem atualizações disponíveis neste exato momento + + Font + Tipo de letra - - Congratulations! You are running the latest version of %1 - Você está executando a versão mais recente do %1 + + Font Size + Tamanho do tipo de letra - - - ads::CAutoHideTab - - Detach - Retirar + + pt + pt - - Pin To... - Fixar na... + + Default Line Endings + Finais de linha padrão - - Top - Superior + + Highlight URLs + - - Left - Esquerda + + Show Line Numbers + - - Right - Direita + + + Default Directory + - - Bottom - Inferior + + Follow Current Document + - - Unpin (Dock) - Desafixar a Doca + + Last Used Directory + - - Close - Fechar + + ... + ... - - - ads::CDockAreaTitleBar - - Detach - Retirar + + TextLabel + Legenda - - Detach Group - Retirar o grupo + + An application restart is required to apply certain settings. + É necessário reiniciar o programa para aplicar algumas configurações. - - - Unpin (Dock) - Desafixar a doca + + Warning + Aviso - - - Pin Group - Fixar o grupo + + This feature is experimental and it should not be considered safe for critically important work. It may lead to possible data loss. Use at your own risk. + Esta funcionalidade é experimental e não deve ser considerada segura para os trabalhos de grande importância. Pode ocorrer a perda dos dados. Utilize-a por sua conta e risco. - - Pin Group To... - Fixar o grupo na... + + System Default + Padrão do sistema operacional - - Top - Superior + + Windows (CR LF) + Windows (CR LF) - - Left - Esquerda + + Linux (LF) + GNU/Linux (LF) - - Right - Direita + + Macintosh (CR) + Macintosh (CR) - - Bottom - Inferior + + <System Default> + <Padrão do sistema operacional> + + + QuickFindWidget - - - Minimize - Minimizar + + Frame + Moldura - - - - Close - Fechar + + Find... + Localizar... - - - Close Group - Fechar o grupo + + Match case + Corresponder as letras minúsculas/maiúsculas - - Close Other Groups - Fechar os outros grupos + + Aa + Aa - - Pin Active Tab (Press Ctrl to Pin Group) - Fixar a aba atual (Pressione a tecla ‘Ctrl’ para fixar o grupo) + + Match whole word + Corresponder a palavra inteira - - Close Active Tab - Fechar a aba atual + + |A| + |A| - - - ads::CDockManager - - Show View - Modo de visualização + + Use regular expression + Utilizar uma expressão regular - - - ads::CDockWidgetTab - - Detach - Retirar + + . * + . * - - Pin - Fixar + + Alt+E + Alt+E - - Pin To... - Fixar na... + + %L1/%L2 + %L1/%L2 + + + SearchResultsDock - - Top - Superior + + Search Results + Resultados da pesquisa - - Left - Esquerda + + Copy Results to Clipboard + Copiar os resultados para a área de transferência - - Right - Direita + + Collapse All + Recolher tudo - - Bottom - Inferior + + Expand All + Expandir tudo - - Close - Fechar + + Delete Entry + Apagar a entrada - - Close Others - Fechar os outros + + Delete All + Apagar tudo - + diff --git a/i18n/NotepadNext_pt_PT.ts b/i18n/NotepadNext_pt_PT.ts index 2fb3aaba9..6e7368c99 100644 --- a/i18n/NotepadNext_pt_PT.ts +++ b/i18n/NotepadNext_pt_PT.ts @@ -1,2724 +1,2327 @@ - - - AuthenticateDialog - - - Dialog - Caixa de diálogo - - - - Please provide the user name and password for the download location. - Indique o nome de utilizador e a palavra-passe do local de transferência. - - - - &User name: - Nome de &utilizador: - - - - &Password: - &Palavra-passe: - - - + + ColumnEditorDialog - - Column Mode - Modo de coluna + + Column Mode + Modo de coluna - - Text - Texto + + Text + Texto - - Numbers - Números + + Numbers + Números - - Start: - Iniciar: + + Start: + Iniciar: - - Step: - Etapa: + + Step: + Etapa: - - + + DebugLogDock - - Debug Log - Registo de depuração - - - - Downloader - - - - Updater - Atualizador - - - - - - Downloading updates - A transferir atualizações - - - - Time remaining: 0 minutes - Tempo restante: 0 minutos - - - - Open - Abrir - - - - - Stop - Parar - - - - - Time remaining - Tempo restante - - - - unknown - desconhecido - - - - Error - Erro - - - - Cannot find downloaded update! - Não é possível encontrar a atualização transferida! - - - - Close - Fechar - - - - Download complete! - Transferência concluída! - - - - The installer will open separately - O instalador será aberto separadamente - - - - Click "OK" to begin installing the update - Clique em “OK” para começar a instalar a atualização - - - - In order to install the update, you may need to quit the application. - Para instalar a atualização, poderá ser necessário sair da aplicação. - - - In order to install the update, you may need to quit the application. This is a mandatory update, exiting now will close the application - Para instalar a atualização, poderá ser necessário sair da aplicação. Esta é uma atualização obrigatória, sair agora fechará a aplicação - - - - In order to install the update, you may need to quit the application. This is a mandatory update, exiting now will close the application. - Para instalar a atualização, poderá ser necessário sair da aplicação. Esta é uma atualização obrigatória, pelo que sair agora fechará a aplicação. - - - - Click the "Open" button to apply the update - Clique no botão “Abrir” para aplicar a atualização - - - - Are you sure you want to cancel the download? - Tem a certeza de que pretende cancelar a transferência? - - - - Are you sure you want to cancel the download? This is a mandatory update, exiting now will close the application - Tem a certeza de que pretende cancelar a transferência? Esta é uma atualização obrigatória, sair agora irá fechar a aplicação - - - - - %1 bytes - %1 bytes - - - - - %1 KB - %1 KB - - - - - %1 MB - %1 MB - - - - of - de - - - - Downloading Updates - Transferir Atualizações - - - - Time Remaining - Tempo Restante - - - - Unknown - Desconhecido - - - - about %1 hours - cerca de %1 horas - - - - about one hour - cerca de 1 hora - - - - %1 minutes - %1 minutos + + Debug Log + Registo de depuração + + + EditorInfoStatusBar - - 1 minute - 1 minuto + + Length: %L1 Lines: %L2 + Comprimento: %L1 Linhas: %L2 - - %1 seconds - %1 segundos + + Sel: N/A + Sel: N/D - - 1 second - 1 segundo + + Sel: %L1 | %L2 + Sel: %L1 | %L2 - - - EditorInfoStatusBar - - Length: %L1 Lines: %L2 - Comprimento: %L1 Linhas: %L2 + + Ln: %L1 Col: %L2 + Ln: %L1 Col: %L2 - - Sel: N/A - Sel: N/D + + Macintosh (CR) + Macintosh (CR) - - Sel: %L1 | %L2 - Sel: %L1 | %L2 + + Windows (CR LF) + Windows (CR LF) - - Ln: %L1 Col: %L2 - Ln: %L1 Col: %L2 + + Unix (LF) + Unix (LF) - - Macintosh (CR) - Macintosh (CR) + + ANSI + ANSI - - Windows (CR LF) - Windows (CR LF) + + UTF-8 + UTF-8 - - Unix (LF) - Unix (LF) + + UTF-8 BOM + - - ANSI - ANSI + + UTF-16LE BOM + - - UTF-8 - UTF-8 + + UTF-16BE BOM + - - OVR - This is a short abbreviation to indicate characters will be replaced when typing - Trata-se de uma abreviatura para indicar que os caracteres serão substituídos ao digitar - SUB + + OVR + This is a short abbreviation to indicate characters will be replaced when typing + SUB - - INS - This is a short abbreviation to indicate characters will be inserted when typing - Trata-se de uma abreviatura para indicar que os caracteres serão inseridos ao digitar - INS + + INS + This is a short abbreviation to indicate characters will be inserted when typing + INS - - + + EditorInspectorDock - - Editor Inspector - Inpetor de editor + + Editor Inspector + Inpetor de editor - - Position Information - Informação da posição + + Position Information + Informação da posição - - Current Position - Posição atual + + Current Position + Posição atual - - Current Position (x, y) - Posição atual (x, y) + + Current Position (x, y) + Posição atual (x, y) - - Column - Coluna + + Column + Coluna - - Current Style - Estilo atual + + Current Style + Estilo atual - - Current Line - Linha atual + + Current Line + Linha atual - - Line Length - Comprimento da linha + + Line Length + Comprimento da linha - - Line End Position - Posição final da linha + + Line End Position + Posição final da linha - - Line Indentation - Indentação de linha + + Line Indentation + Indentação de linha - - Line Indent Position - Posição de indentação de linha + + Line Indent Position + Posição de indentação de linha - - Selection Information - Informação de seleção + + Selection Information + Informação de seleção - - Mode - Modo + + Mode + Modo - - Is Rectangle - É retângulo + + Is Rectangle + É retângulo - - Selection Empty - Seleção vazia + + Selection Empty + Seleção vazia - - Main Selection - Seleção principal + + Main Selection + Seleção principal - - # of Selections - # de seleções + + # of Selections + # de seleções - - Multiple Selections - Seleções múltiplas + + Multiple Selections + Seleções múltiplas - - Document Information - Informação sobre o documento + + Document Information + Informação sobre o documento - - Length - Comprimento + + Length + Comprimento - - Line Count - Contagem de linhas + + Line Count + Contagem de linhas - - View Information - Ver informação + + View Information + Ver informação - - Lines on Screen - Linhas no ecrã + + Lines on Screen + Linhas no ecrã - - First Visible Line - Primeira linha visível + + First Visible Line + Primeira linha visível - - X Offset - Desvio X + + X Offset + Desvio X - - Fold Information - Informações sobre a dobra + + Fold Information + Informações sobre a dobra - - Visible From Doc Line - Visível a partir da linha Doc + + Visible From Doc Line + Visível a partir da linha Doc - - Doc Line From Visible - Linha Doc a partir de Visível + + Doc Line From Visible + Linha Doc a partir de Visível - - Fold Level - Nível de dobra + + Fold Level + Nível de dobra - - Is Fold Header - É cabeçalho de dobra + + Is Fold Header + É cabeçalho de dobra - - Fold Parent - Dobrar acima + + Fold Parent + Dobrar acima - - Last Child - Último abaixo + + Last Child + Último abaixo - - Contracted Fold Next - Dobra contratada Seguinte + + Contracted Fold Next + Dobra contratada Seguinte - - Caret - Carácter + + Caret + Carácter - - Anchor - Ancoragem + + Anchor + Ancoragem - - Caret Virtual Space - Espaço virtual do carácter + + Caret Virtual Space + Espaço virtual do carácter - - Anchor Virtual Space - Espaço virtual da ancoragem + + Anchor Virtual Space + Espaço virtual da ancoragem - - + + FileList - - File List - Lista de ficheiros + + File List + Lista de ficheiros - - ... - ... + + ... + ... - - Sort by File Name - Ordenar por nome de ficheiro + + Sort by File Name + Ordenar por nome de ficheiro - - + + FindReplaceDialog - - - - Find - Localizar + + + + Find + Localizar - - Search Mode - Modo de pesquisa + + Search Mode + Modo de pesquisa - - &Normal - &Normal + + &Normal + &Normal - - E&xtended (\n, \r, \t, \0, \x...) - A&largada (\n, \r, \t, \0, \x...) + + E&xtended (\n, \r, \t, \0, \x...) + A&largada (\n, \r, \t, \0, \x...) - - Re&gular expression - Expressão re&gular + + Re&gular expression + Expressão re&gular - - &. matches newline - &. corresponde a uma nova linha + + &. matches newline + &. corresponde a uma nova linha - - Transparenc&y - Transparênc&ia + + Transparenc&y + Transparênc&ia - - On losing focus - Sobre perder o foco + + On losing focus + Sobre perder o foco - - Always - Sempre + + Always + Sempre - - Coun&t - Con&tar + + Coun&t + Con&tar - - &Replace - &Substituir + + &Replace + &Substituir - - Replace &All - Substituir &tudo + + Replace &All + Substituir &tudo - - Replace All in &Opened Documents - Substituir tudo em documentos &abertos + + Replace All in &Opened Documents + Substituir tudo em documentos &abertos - - Find All in All &Opened Documents - Localizar tudo em todos os documentos &abertos + + Find All in All &Opened Documents + Localizar tudo em todos os documentos &abertos - - Find All in Current Document - Localizar tudo no documento atual + + Find All in Current Document + Localizar tudo no documento atual - - Close - Fechar + + Close + Fechar - - &Find: - &Localizar: + + &Find: + &Localizar: - - Replace: - Substituir: + + Replace: + Substituir: - - Backward direction - Sentido inverso + + Backward direction + Sentido inverso - - Match &whole word only - Corresponder apenas à palavra &inteira + + Match &whole word only + Corresponder apenas à palavra &inteira - - Match &case - Corresponder &minúsculas/maiúsculas + + Match &case + Corresponder &minúsculas/maiúsculas - - Wra&p Around - En&volvente + + Wra&p Around + En&volvente - - Replace - Substituir + + Replace + Substituir - - - Replaced %Ln matches - - Substituído %Ln correspondência - Substituído %Ln correspondências - + + + Replaced %Ln matches + + Substituído %Ln correspondência + Substituído %Ln correspondências + - - The end of the document has been reached. Found 1st occurrence from the top. - O fim do documento foi atingido. Localizada a 1ª ocorrência a partir do topo. + + The end of the document has been reached. Found 1st occurrence from the top. + O fim do documento foi atingido. Localizada a 1ª ocorrência a partir do topo. - - No matches found. - Não foram localizadas correspondências. + + No matches found. + Não foram localizadas correspondências. - - 1 occurrence was replaced - 1 ocorrência foi substituída + + 1 occurrence was replaced + 1 ocorrência foi substituída - - No more occurrences were found - + + No more occurrences were found + - - Found %Ln matches - - Localizado %Ln correspondência - Localizado %Ln correspondências - - - - + + Found %Ln matches + + Localizado %Ln correspondência + Localizado %Ln correspondências + + + + FolderAsWorkspaceDock - - Folder as Workspace - Pasta como área de trabalho + + Folder as Workspace + Pasta como área de trabalho - - - HexViewerDock - - - Hex Viewer - Visualizador Hexadecimal - - - + + LanguageInspectorDock - - Language Inspector - Inspetor de linguagem + + Language Inspector + Inspetor de linguagem - - Language: - Linguagem: + + Language: + Linguagem: - - Lexer: - Lexer: + + Lexer: + Lexer: - - Properties: - Propriedades: + + Properties: + Propriedades: - - Property - Propriedade + + Property + Propriedade - - Type - Tipo + + Type + Tipo - - - Description - Descrição + + + Description + Descrição - - Value - Valor + + Value + Valor - - Keywords: - Palavras-chave: + + Keywords: + Palavras-chave: - - ID - ID + + ID + ID - - Styles: - Estilos: + + Styles: + Estilos: - - TextLabel - Legenda do texto + + TextLabel + Legenda do texto - - Position %1 Style %2 - Posição %1 Estilo %2 + + Position %1 Style %2 + Posição %1 Estilo %2 - - + + LuaConsoleDock - - Lua Console - Consola Lua + + Lua Console + Consola Lua - - + + MacroEditorDialog - - Macro Editor - Editor de macros + + Macro Editor + Editor de macros - - Name - Nome + + Name + Nome - - Shortcut - Atalho + + Shortcut + Atalho - - Steps: - Etapas: + + Steps: + Etapas: - - Insert Macro Step - Inserir etapa da macro + + Insert Macro Step + Inserir etapa da macro - - Delete Selected Macro Step - Eliminar a etapa da macro selecionada + + Delete Selected Macro Step + Eliminar a etapa da macro selecionada - - Move Selected Macro Step Up - Mover a etapa da macro selecionada para cima + + Move Selected Macro Step Up + Mover a etapa da macro selecionada para cima - - Move Selected Macro Step Down - Mover a etapa da macro selecionada para baixo + + Move Selected Macro Step Down + Mover a etapa da macro selecionada para baixo - - Copy Selected Macro - Copiar a macro selecionada + + Copy Selected Macro + Copiar a macro selecionada - - Delete Selected Macro - Eliminar a macro selecionada + + Delete Selected Macro + Eliminar a macro selecionada - - Delete Macro - Eliminar macro + + Delete Macro + Eliminar macro - - Are you sure you want to delete <b>%1</b>? - Tem a certeza de que pretende eliminar <b>%1</b>? + + Are you sure you want to delete <b>%1</b>? + Tem a certeza de que pretende eliminar <b>%1</b>? - - (Copy) - (Copiar) + + (Copy) + (Copiar) - - + + MacroRunDialog - - Run a Macro Multiple Times - Executar uma macro várias vezes + + Run a Macro Multiple Times + Executar uma macro várias vezes - - Macro: - Macro: + + Macro: + Macro: - - Run Until End of File - Executar até ao fim do ficheiro + + Run Until End of File + Executar até ao fim do ficheiro - - Execute... - Executar... + + Execute... + Executar... - - times - vezes + + times + vezes - - Run - Executar + + Run + Executar - - Cancel - Cancelar + + Cancel + Cancelar - - + + MacroSaveDialog - - Save Macro - Guardar macro + + Save Macro + Guardar macro - - Name: - Nome: + + Name: + Nome: - - Shortcut: - Atalho: + + Shortcut: + Atalho: - - OK - OK + + OK + OK - - Cancel - Cancelar + + Cancel + Cancelar - - + + MacroStepTableModel - - Name - Nome + + Name + Nome - - Text - Texto + + Text + Texto - - + + MainWindow - - Notepad Next[*] - Notepad Next[*] - - - - + - + - - - - &File - &Ficheiro - - - - Close More - Fechar mais - - - - &Recent Files - Ficheiros &recentes - - - - - Export As - Exportar como - - - - &Edit - &Editar - - - - Copy More - Copiar mais - - - - Indent - Indentação - - - - EOL Conversion - Conversão de fim de linha - - - - Convert Case - Converter maiúsculas/minúsculas - - - - Line Operations - Operações de linha - - - - Comment/Uncomment - Comentar/Não comentar + + Notepad Next[*] + Notepad Next[*] - - Copy As - Copiar como + + + + + - - Encoding/Decoding - Codificação/Decodificação + + &File + &Ficheiro - - Search - Procurar + + Close More + Fechar mais - - Bookmarks - Marcadores + + &Recent Files + Ficheiros &recentes - - Mark All Occurrences - Selecionar todas as ocorrências + + + Export As + Exportar como - - Clear Marks - Remover as seleções + + &Edit + &Editar - - &View - &Ver + + Copy More + Copiar mais - - &Zoom - &Zoom + + Indent + Indentação - - Show Symbol - Mostrar símbolo + + EOL Conversion + Conversão de fim de linha - - Fold Level - Nível de dobra + + Convert Case + Converter maiúsculas/minúsculas - - Unfold Level - Nível de desdobra + + Line Operations + Operações de linha - - Language - Linguagem + + Comment/Uncomment + Comentar/Não comentar - - Settings - Definições + + Copy As + Copiar como - - Macro - Macro + + Encoding/Decoding + Codificação/Decodificação - - Help - Ajuda + + Search + Procurar - - Encoding - Codificação + + Bookmarks + Marcadores - - Main Tool Bar - Barra de ferramentas principal + + Mark All Occurrences + Selecionar todas as ocorrências - - &New - &Novo + + Clear Marks + Remover as seleções - - Create a new file - Criar um novo ficheiro + + &View + &Ver - - Ctrl+N - Ctrl+N + + &Zoom + &Zoom - - &Open... - &Abrir... + + Show Symbol + Mostrar símbolo - - Ctrl+O - Ctrl+O + + Fold Level + Nível de dobra - - &Save - &Guardar + + Unfold Level + Nível de desdobra - - Save - Guardar + + Language + Linguagem - - Ctrl+S - Ctrl+S + + Settings + Definições - - E&xit - Sa&ir + + Macro + Macro - - &Undo - An&ular + + Help + Ajuda - - Ctrl+Z - Ctrl+Z + + Encoding + Codificação - - &Redo - &Refazer + + Main Tool Bar + Barra de ferramentas principal - - Ctrl+Y - Ctrl+Y + + &New + &Novo - - Cu&t - Cor&tar + + Create a new file + Criar um novo ficheiro - - Ctrl+X - Ctrl+X + + Ctrl+N + Ctrl+N - - &Copy - &Copiar + + &Open... + &Abrir... - - Ctrl+C - Ctrl+C + + Ctrl+O + Ctrl+O - - &Paste - &Colar + + &Save + &Guardar - - Ctrl+V - Ctrl+V + + Save + Guardar - - &Delete - &Eliminar + + Ctrl+S + Ctrl+S - - Del - Ctrl+V + + E&xit + Sa&ir - - Copy Full Path - Copiar localização completa + + &Undo + An&ular - - Copy File Name - Copiar nome de ficheiro + + Ctrl+Z + Ctrl+Z - - Copy File Directory - Copiar diretório de ficheiros + + &Redo + &Refazer - - &Close - &Fechar + + Ctrl+Y + Ctrl+Y - - Close the current file - Fechar o ficheiro atual + + Cu&t + Cor&tar - - Ctrl+W - Ctrl+W + + Ctrl+X + Ctrl+X - - Save &As... - Guardar &como... + + &Copy + &Copiar - - Ctrl+Alt+S - Ctrl+Alt+S + + Ctrl+C + Ctrl+C - - Save a Copy As... - Guardar uma cópia como... + + &Paste + &Colar - - Sav&e All - Guar&dar tudo + + Ctrl+V + Ctrl+V - - Ctrl+Shift+S - Ctrl+Shift+S + + &Delete + &Eliminar - - Select A&ll - Selecionar t&udo + + Del + Ctrl+V - - Ctrl+A - Ctrl+A + + Copy Full Path + Copiar localização completa - - Increase Indent - Aumentar a indentação + + Copy File Name + Copiar nome de ficheiro - - Decrease Indent - Diminuir a indentação + + Copy File Directory + Copiar diretório de ficheiros - - Rename... - Renomear... + + &Close + &Fechar - - Re&load - Re&carregar + + Close the current file + Fechar o ficheiro atual - - Windows (CR LF) - Windows (CR LF) + + Ctrl+W + Ctrl+W - - Unix (LF) - Unix (LF) + + Save &As... + Guardar &como... - - Macintosh (CR) - Macintosh (CR) + + Ctrl+Alt+S + Ctrl+Alt+S - - UPPER CASE - MAIÚSCULAS + + Save a Copy As... + Guardar uma cópia como... - - Convert text to upper case - Converter texto em maiúsculas + + Sav&e All + Guar&dar tudo - - lower case - minúsculas + + Ctrl+Shift+S + Ctrl+Shift+S - - Convert text to lower case - Converter texto em minúsculas + + Select A&ll + Selecionar t&udo - - Duplicate Current Line - Duplicar linha atual + + Ctrl+A + Ctrl+A - - Alt+Down - Alt+Baixo + + Increase Indent + Aumentar a indentação - - Split Lines - Dividir linhas + + Decrease Indent + Diminuir a indentação - - Join Lines - Juntar linhas + + Rename... + Renomear... - - Ctrl+J - Ctrl+J + + Re&load + Re&carregar - - Move Selected Lines Up - Mover as linhas selecionadas para cima + + Windows (CR LF) + Windows (CR LF) - - Ctrl+Shift+Up - Ctrl+Shift+Cima + + Unix (LF) + Unix (LF) - - Move Selected Lines Down - Mover as linhas selecionadas para baixo + + Macintosh (CR) + Macintosh (CR) - - Ctrl+Shift+Down - Ctrl+Shift+Baixo + + UPPER CASE + MAIÚSCULAS - - Clos&e All - Fechar &tudo + + Convert text to upper case + Converter texto em maiúsculas - - Close All files - Fechar todos os ficheiros + + lower case + minúsculas - - Ctrl+Shift+W - Ctrl+Shift+W + + Convert text to lower case + Converter texto em minúsculas - - Close All Except Active Document - Fechar tudo exceto o documento ativo + + Duplicate Current Line + Duplicar linha atual - - Close All to the Left - Fechar tudo à esquerda + + Alt+Down + Alt+Baixo - - Close All to the Right - Fechar tudo à direita + + Split Lines + Dividir linhas - - Zoom &In - A&umentar + + Join Lines + Juntar linhas - - Ctrl++ - Ctrl++ + + Ctrl+J + Ctrl+J - - Zoom &Out - &Reduzir + + Move Selected Lines Up + Mover as linhas selecionadas para cima - - Ctrl+- - Ctrl+- + + Ctrl+Shift+Up + Ctrl+Shift+Cima - - Reset Zoom - Repor + + Move Selected Lines Down + Mover as linhas selecionadas para baixo - - Ctrl+0 - Ctrl+0 + + Ctrl+Shift+Down + Ctrl+Shift+Baixo - - About Qt - Acerca do Qt + + Clos&e All + Fechar &tudo - - About Notepad Next - Acerca do Notepad Next + + Close All files + Fechar todos os ficheiros - - Show Whitespace - Mostrar espaço em branco + + Ctrl+Shift+W + Ctrl+Shift+W - - Show End of Line - Mostrar fim de linha + + Close All Except Active Document + Fechar tudo exceto o documento ativo - - Show All Characters - Mostrar todos os caracteres + + Close All to the Left + Fechar tudo à esquerda - - Show Indent Guide - Mostrar guia de indentação + + Close All to the Right + Fechar tudo à direita - - Show Wrap Symbol - Mostrar o símbolo de quebra de linha + + Zoom &In + A&umentar - - Word Wrap - Quebra de palavras + + Ctrl++ + Ctrl++ - - Restore Recently Closed File - Restaurar ficheiro fechado recentemente + + Zoom &Out + &Reduzir - - Ctrl+Shift+T - Ctrl+Shift+T + + Ctrl+- + Ctrl+- - - Open All Recent Files - Abrir todos os ficheiros recentes + + Reset Zoom + Repor - - Clear Recent Files List - Limpar a lista dos ficheiros recentes + + Ctrl+0 + Ctrl+0 - - &Find... - &Localizar... + + About Qt + Acerca do Qt - - Ctrl+F - Ctrl+F + + About Notepad Next + Acerca do Notepad Next - - Find in Files... - Localizar em Ficheiros... + + Show Whitespace + Mostrar espaço em branco - - Find &Next - Localizar &seguinte + + Show End of Line + Mostrar fim de linha - - F3 - F3 + + Show All Characters + Mostrar todos os caracteres - - Find &Previous - Localizar &anterior + + Show Indent Guide + Mostrar guia de indentação - - &Replace... - &Substituir... + + Show Wrap Symbol + Mostrar o símbolo de quebra de linha - - Ctrl+H - Ctrl+H + + Word Wrap + Quebra de palavras - - Full Screen - Ecrã inteiro + + Restore Recently Closed File + Restaurar ficheiro fechado recentemente - - F11 - F11 + + Ctrl+Shift+T + Ctrl+Shift+T - - - Start Recording - Iniciar gravação + + Open All Recent Files + Abrir todos os ficheiros recentes - - Playback - Reproduzir + + Clear Recent Files List + Limpar a lista dos ficheiros recentes - - Ctrl+Shift+P - Ctrl+Shift+P + + &Find... + &Localizar... - - Save Current Recorded Macro... - Guardar a macro gravada atual... + + Ctrl+F + Ctrl+F - - Run a Macro Multiple Times... - Executar uma macro várias vezes... + + Find in Files... + Localizar em Ficheiros... - - Preferences... - Preferências... + + Find &Next + Localizar &seguinte - - Quick Find - Pesquisa rápida + + F3 + F3 - - Ctrl+Alt+I - Ctrl+Alt+I + + Find &Previous + Localizar &anterior - - Select Next Instance - Selecionar a instância seguinte + + Shift+F3 + - - Ctrl+D - Ctrl+D + + &Replace... + &Substituir... - - Move to Trash... - Mover para o Lixo... + + Ctrl+H + Ctrl+H - - Move to Trash - Mover para o Lixo + + Full Screen + Ecrã inteiro - - Check for Updates... - Procurar por atualizações... + + F11 + F11 - - &Go to Line... - &Ir para a linha... + + + Start Recording + Iniciar gravação - - Ctrl+G - Ctrl+G + + Playback + Reproduzir - - Print... - Imprimir... + + Ctrl+Shift+P + Ctrl+Shift+P - - Ctrl+P - Ctrl+P + + Save Current Recorded Macro... + Guardar a macro gravada atual... - - Open Folder as Workspace... - Abrir pasta como área de trabalho... + + Run a Macro Multiple Times... + Executar uma macro várias vezes... - - Toggle Single Line Comment - Alternar comentário de linha única + + Preferences... + Preferências... - - Ctrl+/ - Ctrl+/ + + Quick Find + Pesquisa rápida - - Single Line Comment - Comentário de linha única + + Ctrl+Alt+I + Ctrl+Alt+I - - Ctrl+K - Ctrl+K + + Select Next Instance + Selecionar a instância seguinte - - Single Line Uncomment - Sem comentário de linha única + + Ctrl+D + Ctrl+D - - Ctrl+Shift+K - Ctrl+Shift+K + + Move to Trash... + Mover para o Lixo... - - Edit Macros... - Editar macros... + + Move to Trash + Mover para o Lixo - - This is not currently implemented - Atualmente não está implementado + + Check for Updates... + Procurar por atualizações... - - Column Mode... - Modo de coluna... + + &Go to Line... + &Ir para a linha... - - Export as HTML... - Exportar como HTML... + + Ctrl+G + Ctrl+G - - Export as RTF... - Exportar como RTF... + + Print... + Imprimir... - - Copy as HTML - Copiar como HTML + + Ctrl+P + Ctrl+P - - Copy as RTF - Copiar como RTF + + Open Folder as Workspace... + Abrir pasta como área de trabalho... - - Base 64 Encode - Codificação Base 64 + + Toggle Single Line Comment + Alternar comentário de linha única - - URL Encode - Codificação URL + + Ctrl+/ + Ctrl+/ - - Base 64 Decode - Descodificação Base 64 + + Single Line Comment + Comentário de linha única - - URL Decode - Descodificação URL + + Ctrl+K + Ctrl+K - - Copy URL - Copiar URL + + Single Line Uncomment + Sem comentário de linha única - - Remove Empty Lines - Remover linhas vazias + + Ctrl+Shift+K + Ctrl+Shift+K - - - Show in Explorer - Mostrar no Explorador + + Edit Macros... + Editar macros... - - Open %1 Here - Abrir %1 aqui + + This is not currently implemented + Atualmente não está implementado - - Mark Style 1 - Estilo da seleção 1 + + Column Mode... + Modo de coluna... - - Mark Style 2 - Estilo da seleção 2 + + Export as HTML... + Exportar como HTML... - - Clear Style 1 - Remover o estilo 1 + + Export as RTF... + Exportar como RTF... - - Clear Style 2 - Remover o estilo 2 + + Copy as HTML + Copiar como HTML - - Mark Style 3 - Estilo da seleção 3 + + Copy as RTF + Copiar como RTF - - Clear Style 3 - Remover o estilo 3 + + Base 64 Encode + Codificação Base 64 - - - Clear All Styles - Remover todos os estilos + + URL Encode + Codificação URL - - Remove Duplicate Lines - + + Base 64 Decode + Descodificação Base 64 - - Remove Consecutive Duplicate Lines - + + URL Decode + Descodificação URL - Open Command Prompt Here - Abrir a janela de comandos aqui + + Copy URL + Copiar URL - - Toggle Bookmark - Alternar marcador + + Remove Empty Lines + Remover linhas vazias - - Ctrl+F2 - Ctrl+F2 + + + Show in Explorer + Mostrar no Explorador - - Next Bookmark - Marcador seguinte + + Open %1 Here + Abrir %1 aqui - - F2 - F2 + + Toggle Bookmark + Alternar marcador - - Previous Bookmark - Marcador anterior + + Ctrl+F2 + Ctrl+F2 - - Shift+F2 - Shift+F2 + + Next Bookmark + Marcador seguinte - - Clear Bookmarks - Limpar marcadores + + F2 + F2 - - Invert Bookmarks - Inverter marcadores + + Previous Bookmark + Marcador anterior - - Next Tab - Separarador seguinte + + Shift+F2 + Shift+F2 - - Ctrl+Tab - Ctrl+Tab + + Clear Bookmarks + Limpar marcadores - - Previous Tab - Separador anterior + + Invert Bookmarks + Inverter marcadores - - Ctrl+Shift+Tab - Ctrl+Shift+Tab + + Next Tab + Separarador seguinte - - Fold Level 1 - Nível de dobra 1 + + Ctrl+Tab + Ctrl+Tab - - Alt+1 - Alt+1 + + Previous Tab + Separador anterior - - Fold Level 2 - Nível de dobra 2 + + Ctrl+Shift+Tab + Ctrl+Shift+Tab - - Alt+2 - Alt+2 + + Fold Level 1 + Nível de dobra 1 - - Fold Level 3 - Nível de dobra 3 + + Alt+1 + Alt+1 - - Alt+3 - Alt+3 + + Fold Level 2 + Nível de dobra 2 - - Fold Level 4 - Nível de dobra 4 + + Alt+2 + Alt+2 - - Alt+4 - Alt+4 - Alt+4 + + Fold Level 3 + Nível de dobra 3 - - Unfold Level 1 - Nível de desdobra 1 + + Alt+3 + Alt+3 - - Alt+Shift+1 - Alt+Shift+1 + + Fold Level 4 + Nível de dobra 4 - - Unfold Level 2 - Nível de desdobra 2 + + Alt+4 + Alt+4 - - Alt+Shift+2 - Alt+Shift+2 + + Unfold Level 1 + Nível de desdobra 1 - - Unfold Level 3 - Nível de desdobra 3 + + Alt+Shift+1 + Alt+Shift+1 - - Alt+Shift+3 - Alt+Shift+3 + + Unfold Level 2 + Nível de desdobra 2 - - Unfold Level 4 - Nível de desdobra 4 + + Alt+Shift+2 + Alt+Shift+2 - - Alt+Shift+4 - Alt+Shift+4 + + Unfold Level 3 + Nível de desdobra 3 - - Fold All - Dobrar tudo + + Alt+Shift+3 + Alt+Shift+3 - - Alt+0 - Alt+0 - Alt+0 + + Unfold Level 4 + Nível de desdobra 4 - - Unfold All - Desdobrar tudo + + Alt+Shift+4 + Alt+Shift+4 - - Alt+Shift+0 - Alt+Shift+0 + + Fold All + Dobrar tudo - - Fold Level 5 - Nível de dobra 5 + + Alt+0 + Alt+0 - - Alt+5 - Alt+5 + + Unfold All + Desdobrar tudo - - Fold Level 6 - Nível de dobra 6 + + Alt+Shift+0 + Alt+Shift+0 - - Alt+6 - Alt+6 + + Fold Level 5 + Nível de dobra 5 - - Fold Level 7 - Nível de dobra 7 + + Alt+5 + Alt+5 - - Alt+7 - Alt+7 + + Fold Level 6 + Nível de dobra 6 - - Fold Level 8 - Nível de dobra 8 + + Alt+6 + Alt+6 - - Alt+8 - Alt+8 + + Fold Level 7 + Nível de dobra 7 - - Fold Level 9 - Nível de dobra 9 + + Alt+7 + Alt+7 - - Alt+9 - Alt+9 + + Fold Level 8 + Nível de dobra 8 - - Unfold Level 5 - Nível de desdobra 5 + + Alt+8 + Alt+8 - - Alt+Shift+5 - Alt+Shift+5 + + Fold Level 9 + Nível de dobra 9 - - Unfold Level 6 - Nível de desdobra 6 + + Alt+9 + Alt+9 - - Alt+Shift+6 - Alt+Shift+6 + + Unfold Level 5 + Nível de desdobra 5 - - Unfold Level 7 - Nível de desdobra 7 + + Alt+Shift+5 + Alt+Shift+5 - - Alt+Shift+7 - Alt+Shift+7 + + Unfold Level 6 + Nível de desdobra 6 - - Unfold Level 8 - Nível de desdobra 8 + + Alt+Shift+6 + Alt+Shift+6 - - Alt+Shift+8 - Alt+Shift+8 + + Unfold Level 7 + Nível de desdobra 7 - - Unfold Level 9 - Nível de desdobra 9 + + Alt+Shift+7 + Alt+Shift+7 - - Alt+Shift+9 - Alt+Shift+9 + + Unfold Level 8 + Nível de desdobra 8 - - - Toggle Overtype - Alternar entre tipos + + Alt+Shift+8 + Alt+Shift+8 - - Ins - Ins + + Unfold Level 9 + Nível de desdobra 9 - - Debug Info... - Informações de depuração... + + Alt+Shift+9 + Alt+Shift+9 - - Cut Bookmarked Lines - Cortar linhas com marcadores + + + Toggle Overtype + Alternar entre tipos - - Copy Bookmarked Lines - Copiar linhas com marcadores + + Ins + Ins - - Delete Bookmarked Lines - Eliminar linhas com marcadores + + Debug Info... + Informações de depuração... - - Go to line - Ir para a linha + + Cut Bookmarked Lines + Cortar linhas com marcadores - - Line Number (1 - %1) - Número da linha (1 - %1) + + Copy Bookmarked Lines + Copiar linhas com marcadores - - Stop Recording - Parar gravação + + Delete Bookmarked Lines + Eliminar linhas com marcadores - - Debug Info - Informações de depuração + + Mark Style 1 + Estilo da seleção 1 - - New %1 - Novo %1 + + Mark Style 2 + Estilo da seleção 2 - - Create File - Criar ficheiro + + Clear Style 1 + Remover o estilo 1 - - <b>%1</b> does not exist. Do you want to create it? - <b>%1</b> não existe. Pretende criá-lo? + + Clear Style 2 + Remover o estilo 2 - - - Save file <b>%1</b>? - Guardar ficheiro <b>%1</b>? + + Mark Style 3 + Estilo da seleção 3 - - - Save File - Guardar ficheiro + + Clear Style 3 + Remover o estilo 3 - - Open Folder as Workspace - Abrir pasta como área de trabalho + + + Clear All Styles + Remover todos os estilos - - - Reload File - Recarregar ficheiro + + Remove Duplicate Lines + - - Are you sure you want to reload <b>%1</b>? Any unsaved changes will be lost. - Tem certeza de que pretende recarregar o <b>%1</b>? Todas as alterações não guardadas serão perdidas. + + Remove Consecutive Duplicate Lines + - - Save a Copy As - Guardar uma cópia como + + Sort Lines Ascending + - - - Rename - Renomear + + Sort Lines Descending + - - Name: - Nome: + + Sort Lines Ascending (Case-Insensitive) + - - Delete File - Eliminar ficheiro + + Sort Lines Descending (Case-Insensitive) + - - Are you sure you want to move <b>%1</b> to the trash? - Tem a certeza de que pretende mover <b>%1</b> para o lixo? + + Sort Lines by Length Ascending + - - Error Deleting File - Erro ao eliminar ficheiro + + Sort Lines by Length Descending + - - Something went wrong deleting <b>%1</b>? - Algo correu mal ao eliminar <b>%1</b>? + + Reverse Line Order + - - Administrator - Administrador + + Go to line + Ir para a linha - - <b>%1</b> has been modified by another program. Do you want to reload it? - <b>%1</b> foi modificado por outro programa. Deseja recarregá-lo? + + Line Number (1 - %1) + Número da linha (1 - %1) - - Read error - + + Stop Recording + Parar gravação - - Write error - + + Debug Info + Informações de depuração - - Fatal error - + + New %1 + Novo %1 - - Resource error - + + Create File + Criar ficheiro - - Open error - + + <b>%1</b> does not exist. Do you want to create it? + <b>%1</b> não existe. Pretende criá-lo? - - Abort error - + + + Save file <b>%1</b>? + Guardar ficheiro <b>%1</b>? - - Timeout error - + + + Save File + Guardar ficheiro - - Unspecified error - + + Open Folder as Workspace + Abrir pasta como área de trabalho - - Remove error - + + + Reload File + Recarregar ficheiro - - Rename error - + + Are you sure you want to reload <b>%1</b>? Any unsaved changes will be lost. + Tem certeza de que pretende recarregar o <b>%1</b>? Todas as alterações não guardadas serão perdidas. - - Position error - - - - - Resize error - - - - - Permissions error - - - - - Copy error - - - - - Unknown error (%1) - - - - - Error Saving File - Erro ao guardar ficheiro - - - - An error occurred when saving <b>%1</b><br><br>Error: %2 - Ocorreu um erro ao guardar <b>%1</b><br><br>Erro: %2 - - - - Zoom: %1% - Zoom: %1% - - - - No updates are available at this time. - De momento, não há atualizações disponíveis. - - - - PreferencesDialog - - - Preferences - Preferências + + Save a Copy As + Guardar uma cópia como - - Show menu bar - Mostrar barra de menus + + + Rename + Renomear - - Show toolbar - Mostrar barra de ferramentas + + Name: + Nome: - - Show status bar - Mostrar barra de estado + + Delete File + Eliminar ficheiro - - Restore previous session - Restaurar a sessão anterior + + Are you sure you want to move <b>%1</b> to the trash? + Tem a certeza de que pretende mover <b>%1</b> para o lixo? - - Unsaved changes - Alterações não guardadas + + Error Deleting File + Erro ao eliminar ficheiro - - Temporary files - Ficheiros temporários + + Something went wrong deleting <b>%1</b>? + Algo correu mal ao eliminar <b>%1</b>? - - Recenter find/replace dialog when opened - Recolocar a janela localizar/substituir quando aberta + + Administrator + Administrador - - Combine search results - Combinar resultados de pesquisa + + <b>%1</b> has been modified by another program. Do you want to reload it? + <b>%1</b> foi modificado por outro programa. Deseja recarregá-lo? - - Translation: - Tradução: + + Read error + - - Exit on last tab closed - Sair no último separador fechado + + Write error + - - Default Font - Tipo de letra predefinida + + Fatal error + - - Font - Tipo de letra + + Resource error + - - Font Size - Tamanho do tipo de letra + + Open error + - - pt - pt + + Abort error + - - Default Line Endings - Finais de linha predefinidos + + Timeout error + - - Highlight URLs - Destacar URLs + + Unspecified error + - - Show Line Numbers - Mostrar números de linha + + Remove error + - - - Default Directory - + + Rename error + - - Follow Current Document - + + Position error + - - Last Used Directory - + + Resize error + - - ... - ... + + Permissions error + - - TextLabel - Legenda + + Copy error + - - An application restart is required to apply certain settings. - É necessário reiniciar a aplicação para aplicar determinadas definições. + + Unknown error (%1) + - - Warning - Aviso + + Error Saving File + Erro ao guardar ficheiro - - This feature is experimental and it should not be considered safe for critically important work. It may lead to possible data loss. Use at your own risk. - Esta funcionalidade é experimental e não deve ser considerada segura para trabalhos de importância crítica. Pode levar a uma possível perda de dados. Utilize-a por sua conta e risco. + + An error occurred when saving <b>%1</b><br><br>Error: %2 + Ocorreu um erro ao guardar <b>%1</b><br><br>Erro: %2 - - System Default - Predefinição do sistema + + Zoom: %1% + Zoom: %1% - - Windows (CR LF) - Windows (CR LF) - - - - Linux (LF) - Linux (LF) - - - - Macintosh (CR) - Macintosh (CR) - - - - <System Default> - <System Default> - - - - QObject - - - List All Tabs - Listar todos os separadores - - - - Detach Group - Retirar grupo - - - - Minimize - Minimizar - - - - Close Tab - Fechar separador - - - - QuickFindWidget - - - Frame - Moldura - - - - Match case - Corresponder minúsculas/maiúsculas - - - - Aa - Aa - - - - Match whole word - Corresponder palavra inteira - - - - |A| - |A| - - - - Use regular expression - Usar expressão regular - - - - . * - . * - - - - Alt+E - Alt+E - - - - Find... - Localizar... + + No updates are available at this time. + De momento, não há atualizações disponíveis. + + + PreferencesDialog - - %L1/%L2 - %L1/%L2 + + Preferences + Preferências - - - SearchResultsDock - - Search Results - Resultados da pesquisa + + Show menu bar + Mostrar barra de menus - - Copy Results to Clipboard - Copiar resultados para a área de transferência + + Show toolbar + Mostrar barra de ferramentas - - Collapse All - Recolher tudo + + Show status bar + Mostrar barra de estado - - Expand All - Expandir tudo + + Restore previous session + Restaurar a sessão anterior - - Delete Entry - Eliminar entrada + + Unsaved changes + Alterações não guardadas - - Delete All - Eliminar tudo + + Temporary files + Ficheiros temporários - - - Updater - - Would you like to download the update now? - Gostaria de transferir a atualização agora? + + Recenter find/replace dialog when opened + Recolocar a janela localizar/substituir quando aberta - Would you like to download the update now? This is a mandatory update, exiting now will close the application - Gostaria de transferir a atualização agora? Esta é uma atualização obrigatória, sair agora fechará a aplicação + + Combine search results + Combinar resultados de pesquisa - - Would you like to download the update now?<br />This is a mandatory update, exiting now will close the application. - Gostaria de transferir a atualização agora?<br />Esta é uma atualização obrigatória, sair agora fechará a aplicação. + + Translation: + Tradução: - - <strong>Change log:</strong><br/>%1 - <strong>Registo de alterações:</strong><br/>%1 + + Exit on last tab closed + Sair no último separador fechado - - Version %1 of %2 has been released! - A versão %1 de %2 foi lançada! + + Default Font + Tipo de letra predefinida - - No updates are available for the moment - De momento, não há atualizações disponíveis + + Font + Tipo de letra - - Congratulations! You are running the latest version of %1 - Parabéns! Está a executar a versão mais recente do %1 + + Font Size + Tamanho do tipo de letra - - - ads::CAutoHideTab - - Detach - Retirar + + pt + pt - - Pin To... - Fixar na... + + Default Line Endings + Finais de linha predefinidos - - Top - Superior + + Highlight URLs + Destacar URLs - - Left - Esquerda + + Show Line Numbers + Mostrar números de linha - - Right - Direita + + + Default Directory + - - Bottom - Inferior + + Follow Current Document + - - Unpin (Dock) - Desafixar (Doca) + + Last Used Directory + - - Close - Fechar + + ... + ... - - - ads::CDockAreaTitleBar - - Detach - Retirar + + TextLabel + Legenda - - Detach Group - Retirar grupo + + An application restart is required to apply certain settings. + É necessário reiniciar a aplicação para aplicar determinadas definições. - - - Unpin (Dock) - Desafixar (Doca) + + Warning + Aviso - - - Pin Group - Fixar grupo + + This feature is experimental and it should not be considered safe for critically important work. It may lead to possible data loss. Use at your own risk. + Esta funcionalidade é experimental e não deve ser considerada segura para trabalhos de importância crítica. Pode levar a uma possível perda de dados. Utilize-a por sua conta e risco. - - Pin Group To... - Fixar grupo na... + + System Default + Predefinição do sistema - - Top - Superior + + Windows (CR LF) + Windows (CR LF) - - Left - Esquerda + + Linux (LF) + Linux (LF) - - Right - Direita + + Macintosh (CR) + Macintosh (CR) - - Bottom - Inferior + + <System Default> + <System Default> + + + QuickFindWidget - - - Minimize - Minimizar + + Frame + Moldura - - - - Close - Fechar + + Find... + Localizar... - - - Close Group - Fechar grupo + + Match case + Corresponder minúsculas/maiúsculas - - Close Other Groups - Fechar outros grupos + + Aa + Aa - - Pin Active Tab (Press Ctrl to Pin Group) - Fixar separadores ativos (Premir Ctrl para fixar grupo) + + Match whole word + Corresponder palavra inteira - - Close Active Tab - Fechar separador ativo + + |A| + |A| - - - ads::CDockManager - - Show View - Mostrar visualização + + Use regular expression + Usar expressão regular - - - ads::CDockWidgetTab - - Detach - Retirar + + . * + . * - - Pin - Fixar + + Alt+E + Alt+E - - Pin To... - Fixar na... + + %L1/%L2 + %L1/%L2 + + + SearchResultsDock - - Top - Superior + + Search Results + Resultados da pesquisa - - Left - Esquerda + + Copy Results to Clipboard + Copiar resultados para a área de transferência - - Right - Direita + + Collapse All + Recolher tudo - - Bottom - Inferior + + Expand All + Expandir tudo - - Close - Fechar + + Delete Entry + Eliminar entrada - - Close Others - Fechar outros + + Delete All + Eliminar tudo - + diff --git a/i18n/NotepadNext_ru.ts b/i18n/NotepadNext_ru.ts index fe05161d5..2bcf12679 100644 --- a/i18n/NotepadNext_ru.ts +++ b/i18n/NotepadNext_ru.ts @@ -1,3055 +1,2331 @@ - - - AuthenticateDialog - - - Dialog - - - - - Please provide the user name and password for the download location. - - - - - &User name: - - - - - &Password: - - - - + + ColumnEditorDialog - - Column Mode - Режим столбцов + + Column Mode + Режим столбцов - - Text - Текст + + Text + Текст - - Numbers - Числа + + Numbers + Числа - - Start: - Начало: + + Start: + Начало: - - Step: - Шаг: + + Step: + Шаг: - - + + DebugLogDock - - Debug Log - Журнал отладки - - - - Downloader - - - - Updater - - - - - - - Downloading updates - - - - - Time remaining: 0 minutes - - - - - Open - - - - - - Stop - - - - - - Time remaining - - - - - unknown - - - - - Error - - - - - Cannot find downloaded update! - - - - - Close - Закрыть - - - - Download complete! - - - - - The installer will open separately - - - - - Click "OK" to begin installing the update - - - - - In order to install the update, you may need to quit the application. - + + Debug Log + Журнал отладки - - - In order to install the update, you may need to quit the application. This is a mandatory update, exiting now will close the application. - - - - - Click the "Open" button to apply the update - - - - - Are you sure you want to cancel the download? - - - - - Are you sure you want to cancel the download? This is a mandatory update, exiting now will close the application - - - - - - %1 bytes - - - - - - %1 KB - - - - - - %1 MB - - - - - of - - - - - Downloading Updates - - - - - Time Remaining - - - - - Unknown - - - - - about %1 hours - - - - - about one hour - - - - - %1 minutes - - - - - 1 minute - - - - - %1 seconds - - - - - 1 second - - - - + + EditorInfoStatusBar - - Length: %L1 Lines: %L2 - Длина: %L1 Строк: %L2 + + Length: %L1 Lines: %L2 + Длина: %L1 Строк: %L2 - - Sel: N/A - Выб: Н/Д + + Sel: N/A + Выб: Н/Д - - Sel: %L1 | %L2 - Выб: %L1 | %L2 + + Sel: %L1 | %L2 + Выб: %L1 | %L2 - - Ln: %L1 Col: %L2 - Стр: %L1 Стл: %L2 + + Ln: %L1 Col: %L2 + Стр: %L1 Стл: %L2 - - Macintosh (CR) - Macintosh (CR) + + Macintosh (CR) + Macintosh (CR) - - Windows (CR LF) - Windows (CR LF) + + Windows (CR LF) + Windows (CR LF) - - Unix (LF) - Unix (LF) + + Unix (LF) + Unix (LF) - - ANSI - ANSI + + ANSI + ANSI - - UTF-8 - UTF-8 + + UTF-8 + UTF-8 - - UTF-8 BOM - UTF-8 BOM + + UTF-8 BOM + UTF-8 BOM - - UTF-16LE BOM - UTF-16LE BOM + + UTF-16LE BOM + UTF-16LE BOM - - UTF-16BE BOM - UTF-16BE BOM + + UTF-16BE BOM + UTF-16BE BOM - - OVR - This is a short abbreviation to indicate characters will be replaced when typing - OVR + + OVR + This is a short abbreviation to indicate characters will be replaced when typing + OVR - - INS - This is a short abbreviation to indicate characters will be inserted when typing - INS + + INS + This is a short abbreviation to indicate characters will be inserted when typing + INS - - + + EditorInspectorDock - - Editor Inspector - Инспектор редактора + + Editor Inspector + Инспектор редактора - - Position Information - Информация о положении + + Position Information + Информация о положении - - Current Position - Текущее положение + + Current Position + Текущее положение - - Current Position (x, y) - Текущее положение (x, y) + + Current Position (x, y) + Текущее положение (x, y) - - Column - Столбец + + Column + Столбец - - Current Style - Текущий стиль + + Current Style + Текущий стиль - - Current Line - Текущая строка + + Current Line + Текущая строка - - Line Length - Длина строки + + Line Length + Длина строки - - Line End Position - Положение конца строки + + Line End Position + Положение конца строки - - Line Indentation - Отступ строки + + Line Indentation + Отступ строки - - Line Indent Position - Положение отступа строки + + Line Indent Position + Положение отступа строки - - Selection Information - Информация о выделении + + Selection Information + Информация о выделении - - Mode - Режим + + Mode + Режим - - Is Rectangle - Прямоугольник + + Is Rectangle + Прямоугольник - - Selection Empty - Выделение пусто + + Selection Empty + Выделение пусто - - Main Selection - Основное выделение + + Main Selection + Основное выделение - - # of Selections - # выделений + + # of Selections + # выделений - - Multiple Selections - Множественные выделения + + Multiple Selections + Множественные выделения - - Document Information - Информация о документе + + Document Information + Информация о документе - - Length - Длина + + Length + Длина - - Line Count - Количество строк + + Line Count + Количество строк - - View Information - Сведения об области просмотра + + View Information + Сведения об области просмотра - - Lines on Screen - Строк на экране + + Lines on Screen + Строк на экране - - First Visible Line - Первая видимая строка + + First Visible Line + Первая видимая строка - - X Offset - Смещение по X + + X Offset + Смещение по X - - Fold Information - Информация о сворачивании + + Fold Information + Информация о сворачивании - - Visible From Doc Line - Отображаемая от строки документа + + Visible From Doc Line + Отображаемая от строки документа - - Doc Line From Visible - Строка документа от отображаемой + + Doc Line From Visible + Строка документа от отображаемой - - Fold Level - Уровень вложенности + + Fold Level + Уровень вложенности - - Is Fold Header - Заголовок вложения + + Is Fold Header + Заголовок вложения - - Fold Parent - Родитель вложения + + Fold Parent + Родитель вложения - - Last Child - Последний дочерний + + Last Child + Последний дочерний - - Contracted Fold Next - Следующее свернутое вложение + + Contracted Fold Next + Следующее свернутое вложение - - Caret - Каретка + + Caret + Каретка - - Anchor - Якорь + + Anchor + Якорь - - Caret Virtual Space - Виртуальное пространство каретки + + Caret Virtual Space + Виртуальное пространство каретки - - Anchor Virtual Space - Виртуальное пространство якоря + + Anchor Virtual Space + Виртуальное пространство якоря - - + + FileList - - File List - Список файлов + + File List + Список файлов - - ... - ... + + ... + ... - - Sort by File Name - Sort by File Name + + Sort by File Name + Sort by File Name - - + + FindReplaceDialog - - - - Find - Поиск + + + + Find + Поиск - - Search Mode - Режим поиска + + Search Mode + Режим поиска - - &Normal - &Нормальный + + &Normal + &Нормальный - - E&xtended (\n, \r, \t, \0, \x...) - Р&асширенный (\n, \r, \t, \0, \x...) + + E&xtended (\n, \r, \t, \0, \x...) + Р&асширенный (\n, \r, \t, \0, \x...) - - Re&gular expression - &Регулярное выражение + + Re&gular expression + &Регулярное выражение - - &. matches newline - &. - новая строка + + &. matches newline + &. - новая строка - - Transparenc&y - Про&зрачность + + Transparenc&y + Про&зрачность - - On losing focus - При потере фокуса + + On losing focus + При потере фокуса - - Always - Всегда + + Always + Всегда - - Coun&t - &Подсчитать + + Coun&t + &Подсчитать - - &Replace - &Заменить + + &Replace + &Заменить - - Replace &All - Заменить &все + + Replace &All + Заменить &все - - Replace All in &Opened Documents - Заменить все во всех о&ткрытых документах + + Replace All in &Opened Documents + Заменить все во всех о&ткрытых документах - - Find All in All &Opened Documents - Найти все во всех откр&ытых документах + + Find All in All &Opened Documents + Найти все во всех откр&ытых документах - - Find All in Current Document - Найти все в текущем документе + + Find All in Current Document + Найти все в текущем документе - - Close - Закрыть + + Close + Закрыть - - &Find: - &Найти: + + &Find: + &Найти: - - Replace: - Заменить: + + Replace: + Заменить: - - Backward direction - Обратное направление поиска + + Backward direction + Обратное направление поиска - - Match &whole word only - Только целые &слова + + Match &whole word only + Только целые &слова - - Match &case - Учитывать &регистр + + Match &case + Учитывать &регистр - - Wra&p Around - За&циклить поиск + + Wra&p Around + За&циклить поиск - - Replace - Замена + + Replace + Замена - - - Replaced %Ln matches - - Заменено %Ln соответствие - Заменено %Ln соответствия - Заменено %Ln соответствий - + + + Replaced %Ln matches + + Заменено %Ln соответствие + Заменено %Ln соответствия + Заменено %Ln соответствий + Replaced %Ln matches + - - The end of the document has been reached. Found 1st occurrence from the top. - Достигнут конец документа. Обнаружено первое соответствие сверху. + + The end of the document has been reached. Found 1st occurrence from the top. + Достигнут конец документа. Обнаружено первое соответствие сверху. - - No matches found. - Не найдено соответствий. + + No matches found. + Не найдено соответствий. - - 1 occurrence was replaced - 1 совпадение заменено + + 1 occurrence was replaced + 1 совпадение заменено - - No more occurrences were found - Больше совпадений не обнаружено + + No more occurrences were found + Больше совпадений не обнаружено - - Found %Ln matches - - Найдено %Ln соответствие - Найдено %Ln соответствия - Найдено %Ln соответствий - - - - + + Found %Ln matches + + Найдено %Ln соответствие + Найдено %Ln соответствия + Найдено %Ln соответствий + Found %Ln matches + + + + FolderAsWorkspaceDock - - Folder as Workspace - Папка как Проект - - - - HexViewerDock - - Hex Viewer - Просмотр Hex + + Folder as Workspace + Папка как Проект - - + + LanguageInspectorDock - - Language Inspector - Инспектор языка + + Language Inspector + Инспектор языка - - Language: - Язык: + + Language: + Язык: - - Lexer: - Лексер: + + Lexer: + Лексер: - - Properties: - Свойства: + + Properties: + Свойства: - - Property - Свойство + + Property + Свойство - - Type - Тип + + Type + Тип - - - Description - Описание + + + Description + Описание - - Value - Значение + + Value + Значение - - Keywords: - Ключевые слова: + + Keywords: + Ключевые слова: - - ID - ID + + ID + ID - - Styles: - Стили: + + Styles: + Стили: - - TextLabel - TextLabel + + TextLabel + TextLabel - - Position %1 Style %2 - Положение %1 Стиль %2 + + Position %1 Style %2 + Положение %1 Стиль %2 - - + + LuaConsoleDock - - Lua Console - Консоль Lua + + Lua Console + Консоль Lua - - + + MacroEditorDialog - - Macro Editor - Редактор макросов + + Macro Editor + Редактор макросов - - Name - Имя + + Name + Имя - - Shortcut - Комбинация клавиш + + Shortcut + Комбинация клавиш - - Steps: - Шаги: + + Steps: + Шаги: - - Insert Macro Step - Вставить шаг макроса + + Insert Macro Step + Вставить шаг макроса - - Delete Selected Macro Step - Удалить выбранный шаг макроса + + Delete Selected Macro Step + Удалить выбранный шаг макроса - - Move Selected Macro Step Up - Переместить выбранный шаг макроса вверх + + Move Selected Macro Step Up + Переместить выбранный шаг макроса вверх - - Move Selected Macro Step Down - Переместить выбранный шаг макроса вниз + + Move Selected Macro Step Down + Переместить выбранный шаг макроса вниз - - Copy Selected Macro - Копировать выбранный макрос + + Copy Selected Macro + Копировать выбранный макрос - - Delete Selected Macro - Удалить выбранный макрос + + Delete Selected Macro + Удалить выбранный макрос - - Delete Macro - Удалить макрос + + Delete Macro + Удалить макрос - - Are you sure you want to delete <b>%1</b>? - Вы действительно хотите удалить <b>%1</b>? + + Are you sure you want to delete <b>%1</b>? + Вы действительно хотите удалить <b>%1</b>? - - (Copy) - (копия) + + (Copy) + (копия) - - + + MacroRunDialog - - Run a Macro Multiple Times - Многократный запуск + + Run a Macro Multiple Times + Многократный запуск - - Macro: - Макрос: + + Macro: + Макрос: - - Run Until End of File - Выполнять до конца файла + + Run Until End of File + Выполнять до конца файла - - Execute... - Выполнить... + + Execute... + Выполнить... - - times - раз(а) + + times + раз(а) - - Run - Запускать + + Run + Запускать - - Cancel - Отмена + + Cancel + Отмена - - + + MacroSaveDialog - - Save Macro - Сохранение макроса + + Save Macro + Сохранение макроса - - Name: - Имя: + + Name: + Имя: - - Shortcut: - Комбинация клавиш: + + Shortcut: + Комбинация клавиш: - - OK - ОК + + OK + ОК - - Cancel - Отмена + + Cancel + Отмена - - + + MacroStepTableModel - - Name - Имя + + Name + Имя - - Text - Текст + + Text + Текст - - + + MainWindow - - Notepad Next[*] - Notepad Next[*] + + Notepad Next[*] + Notepad Next[*] - - + - + + + + + + - - &File - &Файл + + &File + &Файл - - Close More - Закрытие вкладок + + Close More + Закрытие вкладок - - &Recent Files - &Последние файлы + + &Recent Files + &Последние файлы - - - Export As - Экспортировать как + + + Export As + Экспортировать как - - &Edit - &Правка + + &Edit + &Правка - - Copy More - Копировать в буфер + + Copy More + Копировать в буфер - - Indent - Отступ + + Indent + Отступ - - EOL Conversion - Конвертация конца строк + + EOL Conversion + Конвертация конца строк - - Convert Case - Конвертация регистра + + Convert Case + Конвертация регистра - - Line Operations - Операции со строками + + Line Operations + Операции со строками - - Comment/Uncomment - Комментирование + + Comment/Uncomment + Комментирование - - Copy As - Копировать как + + Copy As + Копировать как - - Encoding/Decoding - Кодирование/декодирование + + Encoding/Decoding + Кодирование/декодирование - - Search - Поиск + + Search + Поиск - - Bookmarks - Закладки + + Bookmarks + Закладки - - Mark All Occurrences - Mark All Occurrences + + Mark All Occurrences + Mark All Occurrences - - Clear Marks - Clear Marks + + Clear Marks + Clear Marks - - &View - &Вид + + &View + &Вид - - &Zoom - &Масштаб + + &Zoom + &Масштаб - - Show Symbol - Показать символ + + Show Symbol + Показать символ - - Fold Level - Уровень вложенности + + Fold Level + Уровень вложенности - - Unfold Level - Unfold Level + + Unfold Level + Unfold Level - - Language - Язык + + Language + Язык - - Settings - Опции + + Settings + Опции - - Macro - Макросы + + Macro + Макросы - - Help - Справка + + Help + Справка - - Encoding - Кодировка + + Encoding + Кодировка - - Main Tool Bar - Основная панель инструментов + + Main Tool Bar + Основная панель инструментов - - &New - &Новый + + &New + &Новый - - Create a new file - Создать новый файл + + Create a new file + Создать новый файл - - Ctrl+N - Ctrl+N + + Ctrl+N + Ctrl+N - - &Open... - &Открыть... + + &Open... + &Открыть... - - Ctrl+O - Ctrl+O + + Ctrl+O + Ctrl+O - - &Save - &Сохранить + + &Save + &Сохранить - - Save - Сохранить + + Save + Сохранить - - Ctrl+S - Ctrl+S + + Ctrl+S + Ctrl+S - - E&xit - &Выход + + E&xit + &Выход - - &Undo - &Отмена + + &Undo + &Отмена - - Ctrl+Z - Ctrl+Z + + Ctrl+Z + Ctrl+Z - - &Redo - &Повтор + + &Redo + &Повтор - - Ctrl+Y - Ctrl+Y + + Ctrl+Y + Ctrl+Y - - Cu&t - В&ырезать + + Cu&t + В&ырезать - - Ctrl+X - Ctrl+X + + Ctrl+X + Ctrl+X - - &Copy - &Копировать + + &Copy + &Копировать - - Ctrl+C - Ctrl+C + + Ctrl+C + Ctrl+C - - &Paste - В&ставить + + &Paste + В&ставить - - Ctrl+V - Ctrl+V + + Ctrl+V + Ctrl+V - - &Delete - &Удалить + + &Delete + &Удалить - - Del - Del + + Del + Del - - Copy Full Path - Копировать полный путь + + Copy Full Path + Копировать полный путь - - Copy File Name - Копировать имя файла + + Copy File Name + Копировать имя файла - - Copy File Directory - Копировать путь к файлу + + Copy File Directory + Копировать путь к файлу - - &Close - &Закрыть + + &Close + &Закрыть - - Close the current file - Закрыть текущий файл + + Close the current file + Закрыть текущий файл - - Ctrl+W - Ctrl+W + + Ctrl+W + Ctrl+W - - Save &As... - Сох&ранить как... + + Save &As... + Сох&ранить как... - - Ctrl+Alt+S - Ctrl+Alt+S + + Ctrl+Alt+S + Ctrl+Alt+S - - Save a Copy As... - Сохранить копию как... + + Save a Copy As... + Сохранить копию как... - - Sav&e All - Сохра&нить все + + Sav&e All + Сохра&нить все - - Ctrl+Shift+S - Ctrl+Shift+S + + Ctrl+Shift+S + Ctrl+Shift+S - - Select A&ll - Выделить &все + + Select A&ll + Выделить &все - - Ctrl+A - Ctrl+A + + Ctrl+A + Ctrl+A - - Increase Indent - Увеличить отступ + + Increase Indent + Увеличить отступ - - Decrease Indent - Уменьшить отступ + + Decrease Indent + Уменьшить отступ - - Rename... - Переименовать... + + Rename... + Переименовать... - - Re&load - &Перезагрузить + + Re&load + &Перезагрузить - - Windows (CR LF) - Windows (CR LF) + + Windows (CR LF) + Windows (CR LF) - - Unix (LF) - Unix (LF) + + Unix (LF) + Unix (LF) - - Macintosh (CR) - Macintosh (CR) + + Macintosh (CR) + Macintosh (CR) - - UPPER CASE - ВЕРХНИЙ РЕГИСТР + + UPPER CASE + ВЕРХНИЙ РЕГИСТР - - Convert text to upper case - Конвертировать текст в верхний регистр + + Convert text to upper case + Конвертировать текст в верхний регистр - - lower case - нижний регистр + + lower case + нижний регистр - - Convert text to lower case - Конвертировать текст в нижний регистр + + Convert text to lower case + Конвертировать текст в нижний регистр - - Duplicate Current Line - Дублировать текущую строку + + Duplicate Current Line + Дублировать текущую строку - - Alt+Down - Alt+Down + + Alt+Down + Alt+Down - - Split Lines - Разбить строки + + Split Lines + Разбить строки - - Join Lines - Объединить строки + + Join Lines + Объединить строки - - Ctrl+J - Ctrl+J + + Ctrl+J + Ctrl+J - - Move Selected Lines Up - Переместить выбранные строки вверх + + Move Selected Lines Up + Переместить выбранные строки вверх - - Ctrl+Shift+Up - Ctrl+Shift+Up + + Ctrl+Shift+Up + Ctrl+Shift+Up - - Move Selected Lines Down - Переместить выбранные строки вниз + + Move Selected Lines Down + Переместить выбранные строки вниз - - Ctrl+Shift+Down - Ctrl+Shift+Down + + Ctrl+Shift+Down + Ctrl+Shift+Down - - Clos&e All - Зак&рыть все + + Clos&e All + Зак&рыть все - - Close All files - Закрыть все файлы + + Close All files + Закрыть все файлы - - Ctrl+Shift+W - Ctrl+Shift+W + + Ctrl+Shift+W + Ctrl+Shift+W - - Close All Except Active Document - Закрыть все кроме текущей + + Close All Except Active Document + Закрыть все кроме текущей - - Close All to the Left - Закрыть все вкладки слева + + Close All to the Left + Закрыть все вкладки слева - - Close All to the Right - Закрыть все вкладки справа + + Close All to the Right + Закрыть все вкладки справа - - Zoom &In - У&величить масштаб + + Zoom &In + У&величить масштаб - - Ctrl++ - Ctrl++ + + Ctrl++ + Ctrl++ - - Zoom &Out - &Уменьшить масштаб + + Zoom &Out + &Уменьшить масштаб - - Ctrl+- - Ctrl+- + + Ctrl+- + Ctrl+- - - Reset Zoom - Сбросить масштаб + + Reset Zoom + Сбросить масштаб - - Ctrl+0 - Ctrl+0 + + Ctrl+0 + Ctrl+0 - - About Qt - О Qt + + About Qt + О Qt - - About Notepad Next - О Notepad Next + + About Notepad Next + О Notepad Next - - Show Whitespace - Показывать пустое пространство + + Show Whitespace + Показывать пустое пространство - - Show End of Line - Показывать символ конца строки + + Show End of Line + Показывать символ конца строки - - Show All Characters - Показывать все символы + + Show All Characters + Показывать все символы - - Show Indent Guide - Показывать направляющие отступов + + Show Indent Guide + Показывать направляющие отступов - - Show Wrap Symbol - Отображать знак Перенос строк + + Show Wrap Symbol + Отображать знак Перенос строк - - Word Wrap - Перенос строк + + Word Wrap + Перенос строк - - Restore Recently Closed File - Открыть последний закрытый файл + + Restore Recently Closed File + Открыть последний закрытый файл - - Ctrl+Shift+T - Ctrl+Shift+T + + Ctrl+Shift+T + Ctrl+Shift+T - - Open All Recent Files - Открыть все недавние файлы + + Open All Recent Files + Открыть все недавние файлы - - Clear Recent Files List - Очистить список недавних файлов + + Clear Recent Files List + Очистить список недавних файлов - - &Find... - &Найти... + + &Find... + &Найти... - - Ctrl+F - Ctrl+F + + Ctrl+F + Ctrl+F - - Find in Files... - Найти в файлах... + + Find in Files... + Найти в файлах... - - Find &Next - Искать &далее + + Find &Next + Искать &далее - - F3 - F3 + + F3 + F3 - - Find &Previous - Искать &ранее + + Find &Previous + Искать &ранее - - Shift+F3 - + + Shift+F3 + - - &Replace... - &Заменить... + + &Replace... + &Заменить... - - Ctrl+H - Ctrl+H + + Ctrl+H + Ctrl+H - - Full Screen - Полный экран + + Full Screen + Полный экран - - F11 - F11 + + F11 + F11 - - - Start Recording - Начать запись + + + Start Recording + Начать запись - - Playback - Воспроизвести + + Playback + Воспроизвести - - Ctrl+Shift+P - Ctrl+Shift+ + + Ctrl+Shift+P + Ctrl+Shift+ - - Save Current Recorded Macro... - Сохранить записанный макрос... + + Save Current Recorded Macro... + Сохранить записанный макрос... - - Run a Macro Multiple Times... - Многократный запуск... + + Run a Macro Multiple Times... + Многократный запуск... - - Preferences... - Настройки... + + Preferences... + Настройки... - - Quick Find - Быстрый поиск + + Quick Find + Быстрый поиск - - Ctrl+Alt+I - Ctrl+Alt+I + + Ctrl+Alt+I + Ctrl+Alt+I - - Select Next Instance - Выделить следующий экземпляр + + Select Next Instance + Выделить следующий экземпляр - - Ctrl+D - Ctrl+D + + Ctrl+D + Ctrl+D - - Move to Trash... - Убрать в корзину... + + Move to Trash... + Убрать в корзину... - - Move to Trash - Убрать в корзину + + Move to Trash + Убрать в корзину - - Check for Updates... - Проверить обновления... + + Check for Updates... + Проверить обновления... - - &Go to Line... - &Перейти к строке... + + &Go to Line... + &Перейти к строке... - - Ctrl+G - Ctrl+G + + Ctrl+G + Ctrl+G - - Print... - Печать... + + Print... + Печать... - - Ctrl+P - Ctrl+P + + Ctrl+P + Ctrl+P - - Open Folder as Workspace... - Открыть папку как Проект... + + Open Folder as Workspace... + Открыть папку как Проект... - - Toggle Single Line Comment - Комментирование строки (включить/выключить) + + Toggle Single Line Comment + Комментирование строки (включить/выключить) - - Ctrl+/ - Ctrl+/ + + Ctrl+/ + Ctrl+/ - - Single Line Comment - Комментировать строку + + Single Line Comment + Комментировать строку - - Ctrl+K - Ctrl+K + + Ctrl+K + Ctrl+K - - Single Line Uncomment - Раскомментировать строку + + Single Line Uncomment + Раскомментировать строку - - Ctrl+Shift+K - Ctrl+Shift+K + + Ctrl+Shift+K + Ctrl+Shift+K - - Edit Macros... - Редактирование макросов... + + Edit Macros... + Редактирование макросов... - - This is not currently implemented - Это еще не реализовано + + This is not currently implemented + Это еще не реализовано - - Column Mode... - Режим столбцов... + + Column Mode... + Режим столбцов... - - Export as HTML... - Экспортировать как HTML... + + Export as HTML... + Экспортировать как HTML... - - Export as RTF... - Экспортировать как RTF... + + Export as RTF... + Экспортировать как RTF... - - Copy as HTML - Копировать как HTML + + Copy as HTML + Копировать как HTML - - Copy as RTF - Копировать как RTF + + Copy as RTF + Копировать как RTF - - Base 64 Encode - Кодирование Base 64 + + Base 64 Encode + Кодирование Base 64 - - URL Encode - Кодирование URL + + URL Encode + Кодирование URL - - Base 64 Decode - Декодирование Base 64 + + Base 64 Decode + Декодирование Base 64 - - URL Decode - Декодирование URL + + URL Decode + Декодирование URL - - Copy URL - Копировать URL + + Copy URL + Копировать URL - - Remove Empty Lines - Удалить пустые строки + + Remove Empty Lines + Удалить пустые строки - - - Show in Explorer - Открыть в Проводнике + + + Show in Explorer + Открыть в Проводнике - - Open %1 Here - Open %1 Here + + Open %1 Here + Open %1 Here - - Toggle Bookmark - Закладка (поставить/снять) + + Toggle Bookmark + Закладка (поставить/снять) - - Ctrl+F2 - Ctrl+F2 + + Ctrl+F2 + Ctrl+F2 - - Next Bookmark - Следующая закладка + + Next Bookmark + Следующая закладка - - F2 - F2 + + F2 + F2 - - Previous Bookmark - Предыдущая закладка + + Previous Bookmark + Предыдущая закладка - - Shift+F2 - Shift+F2 + + Shift+F2 + Shift+F2 - - Clear Bookmarks - Очистить закладки + + Clear Bookmarks + Очистить закладки - - Invert Bookmarks - Инвертировать закладки + + Invert Bookmarks + Инвертировать закладки - - Next Tab - Следующая вкладка + + Next Tab + Next Tab - - Ctrl+Tab - Ctrl+Tab + + Ctrl+Tab + Ctrl+Tab - - Previous Tab - Предыдущая вкладка + + Previous Tab + Previous Tab - - Ctrl+Shift+Tab - Ctrl+Shift+Tab + + Ctrl+Shift+Tab + Ctrl+Shift+Tab - - Fold Level 1 - Свернуть первый уровень + + Fold Level 1 + Fold Level 1 - - Alt+1 - Alt+1 + + Alt+1 + Alt+1 - - Fold Level 2 - Свернуть второй уровень + + Fold Level 2 + Fold Level 2 - - Alt+2 - Alt+2 + + Alt+2 + Alt+2 - - Fold Level 3 - Свернуть третий уровень + + Fold Level 3 + Fold Level 3 - - Alt+3 - Alt+3 + + Alt+3 + Alt+3 - - Fold Level 4 - Свернуть четвёртый уровень + + Fold Level 4 + Fold Level 4 - - Alt+4 - Alt+4 + + Alt+4 + Alt+4 - - Unfold Level 1 - Развернуть первый уровень + + Unfold Level 1 + Unfold Level 1 - - Alt+Shift+1 - Alt+Shift+1 + + Alt+Shift+1 + Alt+Shift+1 - - Unfold Level 2 - Развернуть второй уровень + + Unfold Level 2 + Unfold Level 2 - - Alt+Shift+2 - Alt+Shift+2 + + Alt+Shift+2 + Alt+Shift+2 - - Unfold Level 3 - Развернуть третий уровень + + Unfold Level 3 + Unfold Level 3 - - Alt+Shift+3 - Alt+Shift+3 + + Alt+Shift+3 + Alt+Shift+3 - - Unfold Level 4 - Развернуть четвёртый уровень + + Unfold Level 4 + Unfold Level 4 - - Alt+Shift+4 - Alt+Shift+4 + + Alt+Shift+4 + Alt+Shift+4 - - Fold All - Свернуть все + + Fold All + Fold All - - Alt+0 - Alt+0 + + Alt+0 + Alt+0 - - Unfold All - Развернуть все + + Unfold All + Unfold All - - Alt+Shift+0 - Alt+Shift+0 + + Alt+Shift+0 + Alt+Shift+0 - - Fold Level 5 - Свернуть пятый уровень + + Fold Level 5 + Fold Level 5 - - Alt+5 - Alt+5 + + Alt+5 + Alt+5 - - Fold Level 6 - Свернуть шестой уровень + + Fold Level 6 + Fold Level 6 - - Alt+6 - Alt+6 + + Alt+6 + Alt+6 - - Fold Level 7 - Свернуть седьмой уровень + + Fold Level 7 + Fold Level 7 - - Alt+7 - Alt+7 + + Alt+7 + Alt+7 - - Fold Level 8 - Свернуть восьмой уровень + + Fold Level 8 + Fold Level 8 - - Alt+8 - Alt+8 + + Alt+8 + Alt+8 - - Fold Level 9 - Свернуть девятый уровень + + Fold Level 9 + Fold Level 9 - - Alt+9 - Alt+9 + + Alt+9 + Alt+9 - - Unfold Level 5 - Развернуть пятый уровень + + Unfold Level 5 + Unfold Level 5 - - Alt+Shift+5 - Alt+Shift+5 + + Alt+Shift+5 + Alt+Shift+5 - - Unfold Level 6 - Развернуть шестой уровень + + Unfold Level 6 + Unfold Level 6 - - Alt+Shift+6 - Alt+Shift+6 + + Alt+Shift+6 + Alt+Shift+6 - - Unfold Level 7 - Развернуть седьмой уровень + + Unfold Level 7 + Unfold Level 7 - - Alt+Shift+7 - Alt+Shift+7 + + Alt+Shift+7 + Alt+Shift+7 - - Unfold Level 8 - Развернуть восьмой уровень + + Unfold Level 8 + Unfold Level 8 - - Alt+Shift+8 - Alt+Shift+8 + + Alt+Shift+8 + Alt+Shift+8 - - Unfold Level 9 - Развернуть девятый уровень + + Unfold Level 9 + Unfold Level 9 - - Alt+Shift+9 - Alt+Shift+9 + + Alt+Shift+9 + Alt+Shift+9 - - - Toggle Overtype - Toggle Overtype + + + Toggle Overtype + Toggle Overtype - - Ins - Ins + + Ins + Ins - - Debug Info... - Debug Info... + + Debug Info... + Debug Info... - - Cut Bookmarked Lines - Cut Bookmarked Lines + + Cut Bookmarked Lines + Cut Bookmarked Lines - - Copy Bookmarked Lines - Copy Bookmarked Lines + + Copy Bookmarked Lines + Copy Bookmarked Lines - - Delete Bookmarked Lines - Delete Bookmarked Lines + + Delete Bookmarked Lines + Delete Bookmarked Lines - - Mark Style 1 - Mark Style 1 + + Mark Style 1 + Mark Style 1 - - Mark Style 2 - Mark Style 2 + + Mark Style 2 + Mark Style 2 - - Clear Style 1 - Clear Style 1 + + Clear Style 1 + Clear Style 1 - - Clear Style 2 - Clear Style 2 + + Clear Style 2 + Clear Style 2 - - Mark Style 3 - Mark Style 3 + + Mark Style 3 + Mark Style 3 - - Clear Style 3 - Clear Style 3 + + Clear Style 3 + Clear Style 3 - - - Clear All Styles - Clear All Styles + + + Clear All Styles + Clear All Styles - - Remove Duplicate Lines - Remove Duplicate Lines + + Remove Duplicate Lines + Remove Duplicate Lines - - Remove Consecutive Duplicate Lines - Remove Consecutive Duplicate Lines + + Remove Consecutive Duplicate Lines + Remove Consecutive Duplicate Lines - - Sort Lines Ascending - + + Sort Lines Ascending + - - Sort Lines Descending - + + Sort Lines Descending + - - Sort Lines Ascending (Case-Insensitive) - + + Sort Lines Ascending (Case-Insensitive) + - - Sort Lines Descending (Case-Insensitive) - + + Sort Lines Descending (Case-Insensitive) + - - Sort Lines by Length Ascending - + + Sort Lines by Length Ascending + - - Sort Lines by Length Descending - + + Sort Lines by Length Descending + - - Reverse Line Order - + + Reverse Line Order + - - Go to line - Перейти к строке + + Go to line + Перейти к строке - - Line Number (1 - %1) - Номер строки (1 - %1) + + Line Number (1 - %1) + Номер строки (1 - %1) - - Stop Recording - Остановить запись + + Stop Recording + Остановить запись - - Debug Info - Debug Info + + Debug Info + Debug Info - - New %1 - Новый %1 + + New %1 + Новый %1 - - Create File - Создать файл + + Create File + Создать файл - - <b>%1</b> does not exist. Do you want to create it? - <b>%1</b> не существует. Хотите создать его? + + <b>%1</b> does not exist. Do you want to create it? + <b>%1</b> не существует. Хотите создать его? - - - Save file <b>%1</b>? - Сохранить файл <b>%1</b>? + + + Save file <b>%1</b>? + Сохранить файл <b>%1</b>? - - - Save File - Сохранить файл + + + Save File + Сохранить файл - - Open Folder as Workspace - Открыть папку как Проект + + Open Folder as Workspace + Открыть папку как Проект - - - Reload File - Перезагрузить файл + + + Reload File + Перезагрузить файл - - Are you sure you want to reload <b>%1</b>? Any unsaved changes will be lost. - Уверены, что хотите перезагрузить <b>%1</b>? Все несохраненные изменения будут потеряны. + + Are you sure you want to reload <b>%1</b>? Any unsaved changes will be lost. + Уверены, что хотите перезагрузить <b>%1</b>? Все несохраненные изменения будут потеряны. - - Save a Copy As - Сохранить копию как + + Save a Copy As + Сохранить копию как - - - Rename - Переименовать + + + Rename + Переименовать - - Name: - Имя: + + Name: + Имя: - - Delete File - Удалить файл + + Delete File + Удалить файл - - Are you sure you want to move <b>%1</b> to the trash? - Вы действительно хотите переместить <b>%1</b> в корзину? + + Are you sure you want to move <b>%1</b> to the trash? + Вы действительно хотите переместить <b>%1</b> в корзину? - - Error Deleting File - Ошибка при удалении файла + + Error Deleting File + Ошибка при удалении файла - - Something went wrong deleting <b>%1</b>? - Что-то пошло не так при удалении <b>%1</b>? + + Something went wrong deleting <b>%1</b>? + Что-то пошло не так при удалении <b>%1</b>? - - Administrator - Администратор + + Administrator + Администратор - - <b>%1</b> has been modified by another program. Do you want to reload it? - <b>%1</b> has been modified by another program. Do you want to reload it? + + <b>%1</b> has been modified by another program. Do you want to reload it? + <b>%1</b> has been modified by another program. Do you want to reload it? - - Read error - Read error + + Read error + Read error - - Write error - Write error + + Write error + Write error - - Fatal error - Fatal error + + Fatal error + Fatal error - - Resource error - Resource error + + Resource error + Resource error - - Open error - Open error + + Open error + Open error - - Abort error - Abort error + + Abort error + Abort error - - Timeout error - Timeout error + + Timeout error + Timeout error - - Unspecified error - Unspecified error + + Unspecified error + Unspecified error - - Remove error - Remove error + + Remove error + Remove error - - Rename error - Rename error + + Rename error + Rename error - - Position error - Position error + + Position error + Position error - - Resize error - Resize error + + Resize error + Resize error - - Permissions error - Permissions error + + Permissions error + Permissions error - - Copy error - Copy error + + Copy error + Copy error - - Unknown error (%1) - Unknown error (%1) + + Unknown error (%1) + Unknown error (%1) - - Error Saving File - Ошибка при сохранении файла + + Error Saving File + Ошибка при сохранении файла - - An error occurred when saving <b>%1</b><br><br>Error: %2 - Произошла ошибка при сохранении <b>%1</b><br><br>Ошибка: %2 + + An error occurred when saving <b>%1</b><br><br>Error: %2 + Произошла ошибка при сохранении <b>%1</b><br><br>Ошибка: %2 - - Zoom: %1% - Масштаб: %1% + + Zoom: %1% + Масштаб: %1% - - No updates are available at this time. - В настоящее время обновлений нет. + + No updates are available at this time. + В настоящее время обновлений нет. - - + + PreferencesDialog - - Preferences - Настройки - - - - Unsaved сhanges - Несохраненные изменения - - - Default title - Название по-умолчанию - - - Unsaved Changes - Несохраненные изменения - - - - You have unsaved changes. -Do you want to save them before closing? - Сохранить внесенные правки? - - - Show menu bar - Показать строку меню - - - Show toolbar - Показать панель инструментов - - - Show status bar - Показать строку состояния - - - Restore previous session - Восстанавливать предыдущую сессию - - - Unsaved changes - Несохраненные изменения - - - Temporary files - Временные файлы - - - Recenter find/replace dialog when opened - Recenter find/replace dialog when opened - - - Combine search results - Комбинировать результаты поиска - - - Translation: - Перевод: - - - Exit on last tab closed - Exit on last tab closed - - - Default Font - Default Font - - - Font - Font - - - Font Size - Font Size - - - pt - pt - - - Default Line Endings - Default Line Endings - - - Highlight URLs - Highlight URLs - - - Show Line Numbers - Show Line Numbers - - - Default Directory - Default Directory - - - Follow Current Document - Follow Current Document - - - Last Used Directory - Last Used Directory - - - ... - ... - - - TextLabel - TextLabel - - - An application restart is required to apply certain settings. - Для применения определенных настроек требуется перезапуск приложения. - - - Warning - Предупреждение - - - This feature is experimental and it should not be considered safe for critically important work. It may lead to possible data loss. Use at your own risk. - Эта функция является экспериментальной, и ее не следует считать безопасной для критически важной работы. Это может привести к возможной потере данных. Используйте на свой риск. - - - System Default - System Default - - - Windows (CR LF) - Windows (CR LF) - - - Linux (LF) - Linux (LF) - - - Macintosh (CR) - Macintosh (CR) - - - <System Default> - <Использовать системный> - - - - QObject - - - List All Tabs - Показать перечень вкладок - - - - Detach Group - Отделить группу - - - - Minimize - Свернуть - - - - Close Tab - Закрыть вкладку - - - - Default directory - Каталог по-умолчанию - - - - Current document directory - Каталог активного документа - - - - Last used directory - Последний использованный каталог - - - - Selected directory: - Выбранный каталог: - - - - Selected directory path here... - Путь к выбранному каталогу... - - - - Open directory select dialog - Открыть окно выбора каталога - - - - Not exists - Не существует - - - - Not a directory - Не каталог - - - - No write access - Нет прав на запись - - - - Please, use absolute path - Пожалуйста, используйте полный путь - - - - Select default directory - Выбор каталога по-умолчанию + + Preferences + Настройки - - Restore previous session - Восстанавливать предыдущую сессию + + Show menu bar + Показать строку меню - - Unsaved changes - Несохраненные изменения + + Show toolbar + Показать панель инструментов - - Temporary files - Временные файлы + + Show status bar + Показать строку состояния - - Like in system - Как в системе + + Restore previous session + Восстанавливать предыдущую сессию - - System default - Окончания строк - Системные + + Unsaved changes + Несохраненные изменения - <System> - <Системный> + + Temporary files + Временные файлы - <System default> - <Системные> + + Recenter find/replace dialog when opened + Recenter find/replace dialog when opened - <System Language> - <Системный> + + Combine search results + Комбинировать результаты поиска - - Language: - Язык: + + Translation: + Перевод: - System Default - Окончания строк - Системные + + Exit on last tab closed + Exit on last tab closed - - Windows (CR LF) - Windows (CR LF) + + Default Font + Default Font - - Unix (LF) - Unix (LF) + + Font + Font - - Macintosh (CR) - Macintosh (CR) + + Font Size + Font Size - - Default line endings: - Окончания строк по-умолчанию: + + pt + pt - - Recenter find/replace dialog when opened - Центрировать окно поиска/замены при открытии + + Default Line Endings + Default Line Endings - - Combine search results - Комбинировать результаты поиска + + Highlight URLs + Highlight URLs - - Exit on last tab closed - Выход после закрытия последней вкладки + + Show Line Numbers + Show Line Numbers - - Behavior - Поведение + + + Default Directory + Default Directory - - Application restart required to apply changes. - Требуется перезапуск приложения. + + Follow Current Document + Follow Current Document - Window - Главное окно + + Last Used Directory + Last Used Directory - - Main window - Главное окно + + ... + ... - - Show menu bar - Показать строку меню + + TextLabel + TextLabel - - Show toolbar - Показать панель инструментов + + An application restart is required to apply certain settings. + Для применения определенных настроек требуется перезапуск приложения. - - Show status bar - Показать строку состояния + + Warning + Предупреждение - - Font - Шрифт + + This feature is experimental and it should not be considered safe for critically important work. It may lead to possible data loss. Use at your own risk. + Эта функция является экспериментальной, и ее не следует считать безопасной для критически важной работы. Это может привести к возможной потере данных. Используйте на свой риск. - - Family: - Семейство: + + System Default + System Default - - Size: - Размер: + + Windows (CR LF) + Windows (CR LF) - - Editor - Редактор + + Linux (LF) + Linux (LF) - - Highlight URLs - Подсвечивать ссылки + + Macintosh (CR) + Macintosh (CR) - - Show line numbers - Показывать номера строк + + <System Default> + <Использовать системный> - - Show Line Numbers - Показывать номера строк - - - - Appearance - Внешний вид - - - + + QuickFindWidget - - Frame - Фрейм + + Frame + Фрейм - - Find... - Поиск... + + Find... + Поиск... - - Match case - Учитывать регистр + + Match case + Учитывать регистр - - Aa - Aa + + Aa + Aa - - Match whole word - Искать целые слова + + Match whole word + Искать целые слова - - |A| - |A| + + |A| + |A| - - Use regular expression - Используйте регулярное выражение + + Use regular expression + Используйте регулярное выражение - - . * - . * + + . * + . * - - Alt+E - Alt+E + + Alt+E + Alt+E - - %L1/%L2 - %L1/%L2 + + %L1/%L2 + %L1/%L2 - - + + SearchResultsDock - - Search Results - Результаты поиска - - - - Copy Results to Clipboard - Copy Results to Clipboard - - - - Collapse All - Свернуть все - - - - Expand All - Развернуть все - - - - Delete Entry - Удалить запись - - - - Delete All - Удалить все - - - - Updater - - - Would you like to download the update now? - - - - - Would you like to download the update now?<br />This is a mandatory update, exiting now will close the application. - - - - - <strong>Change log:</strong><br/>%1 - - - - - Version %1 of %2 has been released! - - - - - No updates are available for the moment - - - - - Congratulations! You are running the latest version of %1 - - - - - Window - - - QSimpleUpdater Example - - - - - <h1><i>QSimpleUpdater</i></h1> - - - - - <i>A simpler way to update your Qt applications...</i> - - - - - Updater Options - - - - - 0.1 - - - - - Write a version string... - - - - - Set installed version (latest version is 1.0) - - - - - Do not use the QSU library to read the appcast - - - - - Notify me when an update is available - - - - - Show all notifications - - - - - Enable integrated downloader - - - - - Mandatory Update - - - - - Changelog - - - - - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'.Lucida Grande UI'; font-size:13pt;">Click &quot;Check for Updates&quot; to update this field...</span></p></body></html> - - - - - Reset Fields - - - - - Close - Закрыть - - - - Check for Updates - - - - - ads::CAutoHideTab - - - Detach - - - - - Pin To... - - - - - Top - - - - - Left - - - - - Right - - - - - Bottom - - - - - Unpin (Dock) - - - - - Close - Закрыть - - - - ads::CDockAreaTitleBar - - - Detach - - - - - Detach Group - Отделить группу - - - - - Unpin (Dock) - - - - - - Pin Group - - - - - Pin Group To... - - - - - Top - - - - - Left - - - - - Right - - - - - Bottom - - - - - - Minimize - Свернуть - - - - - - Close - Закрыть - - - - - Close Group - - - - - Close Other Groups - - - - - Pin Active Tab (Press Ctrl to Pin Group) - - - - - Close Active Tab - - - - - ads::CDockManager - - - Show View - - - - - ads::CDockWidgetTab - - - Detach - - - - - Pin - - - - - Pin To... - - - - - Top - + + Search Results + Результаты поиска - - Left - + + Copy Results to Clipboard + Copy Results to Clipboard - - Right - + + Collapse All + Свернуть все - - Bottom - + + Expand All + Развернуть все - - Close - Закрыть + + Delete Entry + Удалить запись - - Close Others - + + Delete All + Удалить все - + diff --git a/i18n/NotepadNext_sv.ts b/i18n/NotepadNext_sv.ts index 419ebb00f..5ef56831a 100644 --- a/i18n/NotepadNext_sv.ts +++ b/i18n/NotepadNext_sv.ts @@ -87,17 +87,17 @@ UTF-8 BOM - UTF-8 BOM + UTF-8 BOM UTF-16LE BOM - UTF-16LE BOM + UTF-16LE BOM UTF-16BE BOM - UTF-16BE BOM + UTF-16BE BOM @@ -483,14 +483,6 @@ Mapp som arbetsyta - - HexViewerDock - - - Hex Viewer - Hexläsare - - LanguageInspectorDock @@ -744,7 +736,7 @@ - + Export As Exportera som @@ -779,1270 +771,1310 @@ Radoperationer - + Comment/Uncomment Kommentera/Avkommentera - + Copy As Kopiera som - + Encoding/Decoding Kodning/Avkodning - + Search Sök - + Bookmarks Bokmärken - + Mark All Occurrences - Mark All Occurrences + Mark All Occurrences - + Clear Marks - Clear Marks + Clear Marks - + &View &Visa - + &Zoom &Zoom - + Show Symbol Visa symbol - + Fold Level Komprimeringsnivå - + Unfold Level Expansionsnivå - + Language Språk - + Settings Inställningar - + Macro Makro - + Help Hjälp - + Encoding Kodning - + Main Tool Bar Verktygsfält - + &New &Nytt - + Create a new file Skapa en ny fil - + Ctrl+N Ctrl+N - + &Open... &Öppna... - + Ctrl+O Ctrl+O - + &Save &Spara - + Save Spara - + Ctrl+S Ctrl+S - + E&xit A&vsluta - + &Undo &Ångra - + Ctrl+Z Ctrl+Z - + &Redo &Upprepa - + Ctrl+Y Ctrl+Y - + Cu&t Kli&pp ut - + Ctrl+X Ctrl+X - + &Copy &Kopiera - + Ctrl+C Ctrl+C - + &Paste Klistra &in - + Ctrl+V Ctrl+V - + &Delete &Ta bort - + Del Del - + Copy Full Path Kopiera fullständig sökväg - + Copy File Name Kopiera filnamn - + Copy File Directory Kopiera filens mappnamn - + &Close St&äng - + Close the current file Stäng aktuell fil - + Ctrl+W Ctrl+W - + Save &As... Spara s&om... - + Ctrl+Alt+S Ctrl+Alt+S - + Save a Copy As... Spara en kopia som... - + Sav&e All Spa&ra alla - + Ctrl+Shift+S Ctrl+Shift+S - + Select A&ll &Markera alla - + Ctrl+A Ctrl+A - + Increase Indent Öka indrag - + Decrease Indent Minska indrag - + Rename... Byt namn... - + Re&load &Läs om från disk - + Windows (CR LF) Windows (CR LF) - + Unix (LF) Unix (LF) - + Macintosh (CR) Macintosh (CR) - + UPPER CASE VERSALER - + Convert text to upper case Konvertera text till VERSALER - + lower case gemener - + Convert text to lower case Konvertera text till gemener - + Duplicate Current Line Duplicera aktuell rad - + Alt+Down Alt+Nerpil - + Split Lines Dela rader - + Join Lines Sammanfoga rader - + Ctrl+J Ctrl+J - + Move Selected Lines Up Flytta markerade rader uppåt - + Ctrl+Shift+Up Ctrl+Shift+Up - + Move Selected Lines Down Flytta markerade rader neråt - + Ctrl+Shift+Down Ctrl+Shift+Down - + Clos&e All S&täng alla - + Close All files Stäng alla filer - + Ctrl+Shift+W Ctrl+Shift+W - + Close All Except Active Document Stäng alla utom aktivt dokument - + Close All to the Left Stäng alla till vänster - + Close All to the Right Stäng alla till höger - + Zoom &In Zooma &in - + Ctrl++ Ctrl++ - + Zoom &Out Zooma &ut - + Ctrl+- Ctrl+- - + Reset Zoom Återställ zoom - + Ctrl+0 Ctrl+0 - + About Qt Om Qt - + About Notepad Next Om Notepad Next - + Show Whitespace Visa blanksteg - + Show End of Line Visa radslut - + Show All Characters Visa alla tecken - + Show Indent Guide Visa indragsguide - + Show Wrap Symbol Visa radbrytningssymbol - + Word Wrap Ordbrytning - + Restore Recently Closed File Återställ tidigare stängda filer - + Ctrl+Shift+T Ctrl+Shift+T - + Open All Recent Files Öppna alla tidigare filer - + Clear Recent Files List Rensa listan - + &Find... &Sök... - + Ctrl+F Ctrl+F - + Find in Files... Sök i filer... - + Find &Next Sök &nästa - + F3 F3 - + Find &Previous Sök &föregående - + + Shift+F3 + + + + &Replace... &Ersätt... - + Ctrl+H Ctrl+H - + Full Screen Helskärm - + F11 F11 - - + + Start Recording Starta inspelning - + Playback Uppspelning - + Ctrl+Shift+P Ctrl+Shift+P - + Save Current Recorded Macro... Spara inspelat makro... - + Run a Macro Multiple Times... Kör ett makro flera gånger... - + Preferences... Preferenser... - + Quick Find Snabbsök - + Ctrl+Alt+I Ctrl+Alt+I - + Select Next Instance Välj nästa instans - + Ctrl+D Ctrl+D - + Move to Trash... Flytta till papperskorgen... - + Move to Trash Flytta till papperskorgen - + Check for Updates... Sök efter uppdateringar... - + &Go to Line... &Gå till rad... - + Ctrl+G Ctrl+G - + Print... Skriv ut... - + Ctrl+P Ctrl+P - + Open Folder as Workspace... Öppen mapp som arbetsyta... - + Toggle Single Line Comment Växla utkommentering - + Ctrl+/ Ctrl+/ - + Single Line Comment Kommentera ut enkelrad - + Ctrl+K Ctrl+K - + Single Line Uncomment Ta bort utkommentering - + Ctrl+Shift+K Ctrl+Shift+K - + Edit Macros... Redigera makron... - + This is not currently implemented Detta är ännu inte implementerat - + Column Mode... Kolumnläge... - + Export as HTML... Exportera som HTML... - + Export as RTF... Exportera som RTF... - + Copy as HTML Kopiera som HTML - + Copy as RTF Kopiera som RTF - + Base 64 Encode Base 64-koda - + URL Encode URL-koda - + Base 64 Decode Base 64-avkoda - + URL Decode URL-avkoda - + Copy URL Kopiera URL - + Remove Empty Lines Ta bort tomma rader - - + + Show in Explorer Visa i filhanteraren - + Open %1 Here - Open %1 Here + Open %1 Here - + Toggle Bookmark Bokmärke på/av - + Ctrl+F2 Ctrl+F2 - + Next Bookmark Nästa bokmärke - + F2 F2 - + Previous Bookmark Föregående bokmärke - + Shift+F2 Shift+F2 - + Clear Bookmarks Ta bort bokmärken - + Invert Bookmarks Invertera bokmärken - + Next Tab Nästa flik - + Ctrl+Tab Ctrl+Tab - + Previous Tab Föregående flik - + Ctrl+Shift+Tab Ctrl+Shift+Tab - + Fold Level 1 Komprimera nivå 1 - + Alt+1 Alt+1 - + Fold Level 2 Komprimera nivå 2 - + Alt+2 Alt+2 - + Fold Level 3 Komprimera nivå 3 - + Alt+3 Alt+3 - + Fold Level 4 Komprimera nivå 4 - + Alt+4 Alt+4 - + Unfold Level 1 Expandera nivå 1 - + Alt+Shift+1 Alt+Shift+1 - + Unfold Level 2 Expandera nivå 2 - + Alt+Shift+2 Alt+Shift+2 - + Unfold Level 3 Expandera nivå 3 - + Alt+Shift+3 Alt+Shift+3 - + Unfold Level 4 Expandera nivå 4 - + Alt+Shift+4 Alt+Shift+4 - + Fold All Komprimera alla - + Alt+0 Alt+0 - + Unfold All Expandera alla - + Alt+Shift+0 Alt+Shift+0 - + Fold Level 5 Komprimera nivå 5 - + Alt+5 Alt+5 - + Fold Level 6 Komprimera nivå 6 - + Alt+6 Alt+6 - + Fold Level 7 Komprimera nivå 7 - + Alt+7 Alt+7 - + Fold Level 8 Komprimera nivå 8 - + Alt+8 Alt+8 - + Fold Level 9 Komprimera nivå 9 - + Alt+9 Alt+9 - + Unfold Level 5 Expandera nivå 5 - + Alt+Shift+5 Alt+Shift+5 - + Unfold Level 6 Expandera nivå 6 - + Alt+Shift+6 Alt+Shift+6 - + Unfold Level 7 Expandera nivå 7 - + Alt+Shift+7 Alt+Shift+7 - + Unfold Level 8 Expandera nivå 8 - + Alt+Shift+8 Alt+Shift+8 - + Unfold Level 9 Expandera nivå 9 - + Alt+Shift+9 Alt+Shift+9 - - + + Toggle Overtype Överskrivning på/av - + Ins Ins - + Debug Info... - Debug Info... + Debug Info... - + Cut Bookmarked Lines - Cut Bookmarked Lines + Cut Bookmarked Lines - + Copy Bookmarked Lines - Copy Bookmarked Lines + Copy Bookmarked Lines - + Delete Bookmarked Lines - Delete Bookmarked Lines + Delete Bookmarked Lines - + Mark Style 1 - Mark Style 1 + Mark Style 1 - + Mark Style 2 - Mark Style 2 + Mark Style 2 - + Clear Style 1 - Clear Style 1 + Clear Style 1 - + Clear Style 2 - Clear Style 2 + Clear Style 2 - + Mark Style 3 - Mark Style 3 + Mark Style 3 - + Clear Style 3 - Clear Style 3 + Clear Style 3 - - + + Clear All Styles - Clear All Styles + Clear All Styles - + Remove Duplicate Lines - Remove Duplicate Lines + Remove Duplicate Lines - + Remove Consecutive Duplicate Lines - Remove Consecutive Duplicate Lines + Remove Consecutive Duplicate Lines + + + + Sort Lines Ascending + + + + + Sort Lines Descending + + + + + Sort Lines Ascending (Case-Insensitive) + + + + + Sort Lines Descending (Case-Insensitive) + + + + + Sort Lines by Length Ascending + - + + Sort Lines by Length Descending + + + + + Reverse Line Order + + + + Go to line Gå till rad - + Line Number (1 - %1) Radnummer (1 - %1) - + Stop Recording Stoppa inspelning - + Debug Info - Debug Info + Debug Info - + New %1 Ny %1 - + Create File Skapa fil - + <b>%1</b> does not exist. Do you want to create it? <b>%1</b> finns inte. Vill du skapa den? - - + + Save file <b>%1</b>? Vill du spara <b>%1</b>? - - + + Save File Spara fil - + Open Folder as Workspace Öppen mapp som arbetsyta - - + + Reload File Läs om fil - + Are you sure you want to reload <b>%1</b>? Any unsaved changes will be lost. Vill du verkligen läsa om <b>%1</b> från disk? Alla osparade ändringar kommer att förloras. - + Save a Copy As Spara en kopia som - - + + Rename Byt namn - + Name: Namn: - + Delete File Ta bort fil - + Are you sure you want to move <b>%1</b> to the trash? Vill du verkligen flytta <b>%1</b> till papperskorgen? - + Error Deleting File Kunde inte ta bort fil - + Something went wrong deleting <b>%1</b>? Gick något fel vid borttagning av <b>%1</b>? - + Administrator Administratör - + <b>%1</b> has been modified by another program. Do you want to reload it? - <b>%1</b> has been modified by another program. Do you want to reload it? + <b>%1</b> has been modified by another program. Do you want to reload it? - + Read error - Read error + Read error - + Write error - Write error + Write error - + Fatal error - Fatal error + Fatal error - + Resource error - Resource error + Resource error - + Open error - Open error + Open error - + Abort error - Abort error + Abort error - + Timeout error - Timeout error + Timeout error - + Unspecified error - Unspecified error + Unspecified error - + Remove error - Remove error + Remove error - + Rename error - Rename error + Rename error - + Position error - Position error + Position error - + Resize error - Resize error + Resize error - + Permissions error - Permissions error + Permissions error - + Copy error - Copy error + Copy error - + Unknown error (%1) - Unknown error (%1) + Unknown error (%1) - + Error Saving File Kunde inte spara fil - + An error occurred when saving <b>%1</b><br><br>Error: %2 Ett fel uppstod när <b>%1</b> skulle sparas.<br><br>Fel: %2 - + Zoom: %1% Zoom: %1% - + No updates are available at this time. Inga uppdateringar tillgängliga den här gången. @@ -2127,33 +2159,33 @@ Default Line Endings - Default Line Endings + Default Line Endings Highlight URLs - Highlight URLs + Highlight URLs Show Line Numbers - Show Line Numbers + Show Line Numbers Default Directory - Default Directory + Default Directory Follow Current Document - Follow Current Document + Follow Current Document Last Used Directory - Last Used Directory + Last Used Directory @@ -2183,7 +2215,7 @@ System Default - System Default + System Default @@ -2193,7 +2225,7 @@ Linux (LF) - Linux (LF) + Linux (LF) diff --git a/i18n/NotepadNext_tr.ts b/i18n/NotepadNext_tr.ts index 30bf90ee7..0895a1135 100644 --- a/i18n/NotepadNext_tr.ts +++ b/i18n/NotepadNext_tr.ts @@ -87,29 +87,29 @@ UTF-8 BOM - UTF-8 BOM + UTF-8 BOM UTF-16LE BOM - UTF-16LE BOM + UTF-16LE BOM UTF-16BE BOM - UTF-16BE BOM + UTF-16BE BOM OVR This is a short abbreviation to indicate characters will be replaced when typing - OVR + OVR INS This is a short abbreviation to indicate characters will be inserted when typing - INS + INS @@ -310,12 +310,12 @@ ... - ... + ... Sort by File Name - Sort by File Name + Sort by File Name @@ -441,7 +441,7 @@ Replaced %Ln matches - + %Ln eşleşme değiştirildi Replaced %Ln matches @@ -469,7 +469,7 @@ Found %Ln matches - + %Ln eşleşme bulundu Found %Ln matches @@ -483,14 +483,6 @@ Çalışma Alanı olarak Klasör - - HexViewerDock - - - Hex Viewer - Hex Görüntüleyicisi - - LanguageInspectorDock @@ -516,23 +508,23 @@ Property - Property + Property Type - Type + Type Description - Description + Description Value - Value + Value @@ -542,7 +534,7 @@ ID - ID + ID @@ -744,7 +736,7 @@ - + Export As ... olarak Dışa Aktar @@ -779,1270 +771,1310 @@ Satır İşlemleri - + Comment/Uncomment Yorum Ekle/Kaldır - + Copy As ... olarak Kopyala - + Encoding/Decoding Kodlama/Çözme - + Search Ara - + Bookmarks Yer İmleri - + Mark All Occurrences - Mark All Occurrences + Mark All Occurrences - + Clear Marks - Clear Marks + Clear Marks - + &View &Görüntü - + &Zoom &Yakınlaştırma - + Show Symbol Sembolu Göster - + Fold Level Katlama Seviyesi - + Unfold Level - Unfold Level + Unfold Level - + Language Dil - + Settings Ayarlar - + Macro Makro - + Help Yardım - + Encoding Kodlama - + Main Tool Bar Ana Araç Çubuğu - + &New &Yeni - + Create a new file Yeni bir dosya oluştur - + Ctrl+N Ctrl+N - + &Open... &Aç... - + Ctrl+O Ctrl+O - + &Save &Kaydet - + Save Kaydet - + Ctrl+S Ctrl+S - + E&xit Ç&ıkış - + &Undo &Geri Al - + Ctrl+Z Ctrl+Z - + &Redo &Yinele - + Ctrl+Y Ctrl+Y - + Cu&t Ke&s - + Ctrl+X Ctrl+X - + &Copy &Kopyala - + Ctrl+C Ctrl+C - + &Paste &Yapıştır - + Ctrl+V Ctrl+V - + &Delete &Sil - + Del Sil - + Copy Full Path Tam Yolu Kopyala - + Copy File Name Dosya Adını Kopyala - + Copy File Directory Dosya Dizinini Kopyala - + &Close &Kapat - + Close the current file Mevcut dosyayı kapat - + Ctrl+W Ctrl+W - + Save &As... &Farklı olarak kaydet... - + Ctrl+Alt+S Ctrl+Alt+S - + Save a Copy As... Bir Kopyayı Farklı Kaydet... - + Sav&e All Hep&sini Kaydet - + Ctrl+Shift+S Ctrl+Shift+S - + Select A&ll H&epsini Seç - + Ctrl+A Ctrl+A - + Increase Indent Girintiyi Artır - + Decrease Indent Girintiyi Azalt - + Rename... Yeniden Adlandır... - + Re&load Ye&niden Yükle - + Windows (CR LF) Windows (CR LF) - + Unix (LF) Unix (LF) - + Macintosh (CR) Macintosh (CR) - + UPPER CASE BÜYÜK HARF - + Convert text to upper case Metni büyük harfe dönüştür - + lower case küçük harf - + Convert text to lower case Metni küçük harfe dönüştür - + Duplicate Current Line Mevcut Satırı Çoğalt - + Alt+Down Alt+Down - + Split Lines Satırları Böl - + Join Lines Satırları Birleştir - + Ctrl+J Ctrl+J - + Move Selected Lines Up Seçili Satırları Yukarı Taşı - + Ctrl+Shift+Up Ctrl+Shift+Up - + Move Selected Lines Down Seçili Satırları Aşağı Taşı - + Ctrl+Shift+Down Ctrl+Shift+Down - + Clos&e All Heps&ini Kapat - + Close All files Tüm dosyaları kapat - + Ctrl+Shift+W Ctrl+Shift+W - + Close All Except Active Document Aktif Belge Hariç Tümünü Kapat - + Close All to the Left Soldakileri Hepsini Kapat - + Close All to the Right Sağdakileri Hepsini Kapat - + Zoom &In &Yakınlaştır - + Ctrl++ Ctrl++ - + Zoom &Out &Uzaklaştıor - + Ctrl+- Ctrl+- - + Reset Zoom Yakınlaştırmayı Sıfırla - + Ctrl+0 Ctrl+0 - + About Qt Qt Hakkında - + About Notepad Next Notepad Next Hakkında - + Show Whitespace Boşlukları Göster - + Show End of Line Satır sonunu Göster - + Show All Characters Tüm Karakterleri Göster - + Show Indent Guide Girinti Kılavuzunu Göster - + Show Wrap Symbol Satır Kaydırma Sembolünü Göster - + Word Wrap - Word Wrap + Word Wrap - + Restore Recently Closed File Son Kapatılan Dosyayı Geri Yükle - + Ctrl+Shift+T Ctrl+Shift+T - + Open All Recent Files Tüm Son Dosyaları Aç - + Clear Recent Files List Son Dosyalar Listesini Temizle - + &Find... &Bul... - + Ctrl+F Ctrl+F - + Find in Files... Dosyalarda Ara... - + Find &Next &Sıradakini Bul - + F3 F3 - + Find &Previous &Öncekini Bul - + + Shift+F3 + + + + &Replace... &Değiştir... - + Ctrl+H Ctrl+H - + Full Screen Tam Ekran - + F11 F11 - - + + Start Recording Kaydetmeye Başla - + Playback Oynatma - + Ctrl+Shift+P Ctrl+Shift+P - + Save Current Recorded Macro... Mevcut Kaydedilen Makroyu Kaydet... - + Run a Macro Multiple Times... Bir Makroyu Birden Fazla Kez Çalıştır... - + Preferences... Tercihler... - + Quick Find Hızlıca Bul - + Ctrl+Alt+I Ctrl+Alt+I - + Select Next Instance Sonraki Örneği Seç - + Ctrl+D Ctrl+D - + Move to Trash... Çöp Kutusuna Taşı... - + Move to Trash Çöp Kutusuna Taşı - + Check for Updates... Güncellemeleri Kontrol Et... - + &Go to Line... &Satıra Git... - + Ctrl+G Ctrl+G - + Print... Yazdır... - + Ctrl+P Ctrl+P - + Open Folder as Workspace... Klasörü Çalışma Alanı Olarak Aç... - + Toggle Single Line Comment Tek Satırlı Yorumu Aç/Kapa - + Ctrl+/ Ctrl+/ - + Single Line Comment Tek Satır Yorumu - + Ctrl+K Ctrl+K - + Single Line Uncomment Tek Satır Yorumunu Kaldır - + Ctrl+Shift+K Ctrl+Shift+K - + Edit Macros... Makroları Düzenle... - + This is not currently implemented Bu şu anda uygulanmamaktadır - + Column Mode... Sütun Modu... - + Export as HTML... HTML Olarak Dışa Aktar... - + Export as RTF... RTF Olarak Dışa Aktar... - + Copy as HTML HTML olarak kopyala - + Copy as RTF RTF olarak kopyala - + Base 64 Encode Base 64 Kodla - + URL Encode URL Kodla - + Base 64 Decode Base 64 Çözümle - + URL Decode URL Çözümle - + Copy URL - Copy URL + Copy URL - + Remove Empty Lines Boş Satırları Sil - - + + Show in Explorer Dosya Gezgininde Göster - + Open %1 Here - Open %1 Here + Open %1 Here - + Toggle Bookmark Yer İmlerini Aç/Kapat - + Ctrl+F2 Ctrl+F2 - + Next Bookmark Sonraki Yer İmi - + F2 F2 - + Previous Bookmark Önceki Yer İmi - + Shift+F2 Shift+F2 - + Clear Bookmarks Yer İmlerini Temizle - + Invert Bookmarks Yer İmlerini Tersine Çevir - + Next Tab - Next Tab + Next Tab - + Ctrl+Tab - Ctrl+Tab + Ctrl+Tab - + Previous Tab - Previous Tab + Previous Tab - + Ctrl+Shift+Tab - Ctrl+Shift+Tab + Ctrl+Shift+Tab - + Fold Level 1 - Fold Level 1 + Fold Level 1 - + Alt+1 - Alt+1 + Alt+1 - + Fold Level 2 - Fold Level 2 + Fold Level 2 - + Alt+2 - Alt+2 + Alt+2 - + Fold Level 3 - Fold Level 3 + Fold Level 3 - + Alt+3 - Alt+3 + Alt+3 - + Fold Level 4 - Fold Level 4 + Fold Level 4 - + Alt+4 - Alt+4 + Alt+4 - + Unfold Level 1 - Unfold Level 1 + Unfold Level 1 - + Alt+Shift+1 - Alt+Shift+1 + Alt+Shift+1 - + Unfold Level 2 - Unfold Level 2 + Unfold Level 2 - + Alt+Shift+2 - Alt+Shift+2 + Alt+Shift+2 - + Unfold Level 3 - Unfold Level 3 + Unfold Level 3 - + Alt+Shift+3 - Alt+Shift+3 + Alt+Shift+3 - + Unfold Level 4 - Unfold Level 4 + Unfold Level 4 - + Alt+Shift+4 - Alt+Shift+4 + Alt+Shift+4 - + Fold All - Fold All + Fold All - + Alt+0 - Alt+0 + Alt+0 - + Unfold All - Unfold All + Unfold All - + Alt+Shift+0 - Alt+Shift+0 + Alt+Shift+0 - + Fold Level 5 - Fold Level 5 + Fold Level 5 - + Alt+5 - Alt+5 + Alt+5 - + Fold Level 6 - Fold Level 6 + Fold Level 6 - + Alt+6 - Alt+6 + Alt+6 - + Fold Level 7 - Fold Level 7 + Fold Level 7 - + Alt+7 - Alt+7 + Alt+7 - + Fold Level 8 - Fold Level 8 + Fold Level 8 - + Alt+8 - Alt+8 + Alt+8 - + Fold Level 9 - Fold Level 9 + Fold Level 9 - + Alt+9 - Alt+9 + Alt+9 - + Unfold Level 5 - Unfold Level 5 + Unfold Level 5 - + Alt+Shift+5 - Alt+Shift+5 + Alt+Shift+5 - + Unfold Level 6 - Unfold Level 6 + Unfold Level 6 - + Alt+Shift+6 - Alt+Shift+6 + Alt+Shift+6 - + Unfold Level 7 - Unfold Level 7 + Unfold Level 7 - + Alt+Shift+7 - Alt+Shift+7 + Alt+Shift+7 - + Unfold Level 8 - Unfold Level 8 + Unfold Level 8 - + Alt+Shift+8 - Alt+Shift+8 + Alt+Shift+8 - + Unfold Level 9 - Unfold Level 9 + Unfold Level 9 - + Alt+Shift+9 - Alt+Shift+9 + Alt+Shift+9 - - + + Toggle Overtype - Toggle Overtype + Toggle Overtype - + Ins - Ins + Ins - + Debug Info... - Debug Info... + Debug Info... - + Cut Bookmarked Lines - Cut Bookmarked Lines + Cut Bookmarked Lines - + Copy Bookmarked Lines - Copy Bookmarked Lines + Copy Bookmarked Lines - + Delete Bookmarked Lines - Delete Bookmarked Lines + Delete Bookmarked Lines - + Mark Style 1 - Mark Style 1 + Mark Style 1 - + Mark Style 2 - Mark Style 2 + Mark Style 2 - + Clear Style 1 - Clear Style 1 + Clear Style 1 - + Clear Style 2 - Clear Style 2 + Clear Style 2 - + Mark Style 3 - Mark Style 3 + Mark Style 3 - + Clear Style 3 - Clear Style 3 + Clear Style 3 - - + + Clear All Styles - Clear All Styles + Clear All Styles - + Remove Duplicate Lines - Remove Duplicate Lines + Remove Duplicate Lines - + Remove Consecutive Duplicate Lines - Remove Consecutive Duplicate Lines + Remove Consecutive Duplicate Lines + + + + Sort Lines Ascending + + + + + Sort Lines Descending + + + + + Sort Lines Ascending (Case-Insensitive) + + + + + Sort Lines Descending (Case-Insensitive) + + + + + Sort Lines by Length Ascending + - + + Sort Lines by Length Descending + + + + + Reverse Line Order + + + + Go to line Satıra Git - + Line Number (1 - %1) Satır Numarası (1 - %1) - + Stop Recording Kaydetmeyi Durdur - + Debug Info - Debug Info + Debug Info - + New %1 Yeni %1 - + Create File Dosya Oluştur - + <b>%1</b> does not exist. Do you want to create it? <b>%1</b> mevcut değil. Oluşturmak istiyor musunuz? - - + + Save file <b>%1</b>? Dosyayı kaydetmek istiyor musunuz: <b>%1</b>? - - + + Save File Dosyayı Kaydet - + Open Folder as Workspace Klasörü Çalışma Alanı Olarak Aç - - + + Reload File Dosyayı Yeniden Yükle - + Are you sure you want to reload <b>%1</b>? Any unsaved changes will be lost. <b>%1</b>'i yeniden yüklemek istediğinizden emin misiniz? Kaydedilmemiş değişiklikler kaybolacak. - + Save a Copy As Bir Kopyayı Farklı Kaydet - - + + Rename Yeniden Adlandır - + Name: İsim: - + Delete File Dosyayı Sil - + Are you sure you want to move <b>%1</b> to the trash? <b>%1</b>'i çöp kutusuna taşımak istediğinizden emin misiniz? - + Error Deleting File Dosya Silme Hatası - + Something went wrong deleting <b>%1</b>? <b>%1</b> silinirken bir hata oluştu? - + Administrator - Administrator + Administrator - + <b>%1</b> has been modified by another program. Do you want to reload it? - <b>%1</b> has been modified by another program. Do you want to reload it? + <b>%1</b> has been modified by another program. Do you want to reload it? - + Read error - Read error + Read error - + Write error - Write error + Write error - + Fatal error - Fatal error + Fatal error - + Resource error - Resource error + Resource error - + Open error - Open error + Open error - + Abort error - Abort error + Abort error - + Timeout error - Timeout error + Timeout error - + Unspecified error - Unspecified error + Unspecified error - + Remove error - Remove error + Remove error - + Rename error - Rename error + Rename error - + Position error - Position error + Position error - + Resize error - Resize error + Resize error - + Permissions error - Permissions error + Permissions error - + Copy error - Copy error + Copy error - + Unknown error (%1) - Unknown error (%1) + Unknown error (%1) - + Error Saving File Dosyayı Kaydetme Hatası - + An error occurred when saving <b>%1</b><br><br>Error: %2 Bir hata oluştu. <b>%1</b> kaydedilirken hata oluştu. <br><br>Hata: %2 - + Zoom: %1% - Zoom: %1% + Zoom: %1% - + No updates are available at this time. Şu anda kullanılabilir güncellemeler bulunmuyor. @@ -2057,22 +2089,22 @@ Show menu bar - Show menu bar + Show menu bar Show toolbar - Show toolbar + Show toolbar Show status bar - Show status bar + Show status bar Restore previous session - Restore previous session + Restore previous session @@ -2082,12 +2114,12 @@ Temporary files - Temporary files + Temporary files Recenter find/replace dialog when opened - Recenter find/replace dialog when opened + Recenter find/replace dialog when opened @@ -2097,68 +2129,68 @@ Translation: - Translation: + Translation: Exit on last tab closed - Exit on last tab closed + Exit on last tab closed Default Font - Default Font + Default Font Font - Font + Font Font Size - Font Size + Font Size pt - pt + pt Default Line Endings - Default Line Endings + Default Line Endings Highlight URLs - Highlight URLs + Highlight URLs Show Line Numbers - Show Line Numbers + Show Line Numbers Default Directory - Default Directory + Default Directory Follow Current Document - Follow Current Document + Follow Current Document Last Used Directory - Last Used Directory + Last Used Directory ... - ... + ... @@ -2168,7 +2200,7 @@ An application restart is required to apply certain settings. - An application restart is required to apply certain settings. + An application restart is required to apply certain settings. @@ -2183,7 +2215,7 @@ System Default - System Default + System Default @@ -2193,7 +2225,7 @@ Linux (LF) - Linux (LF) + Linux (LF) @@ -2203,7 +2235,7 @@ <System Default> - <System Default> + <System Default> @@ -2256,7 +2288,7 @@ %L1/%L2 - %L1/%L2 + %L1/%L2 @@ -2269,7 +2301,7 @@ Copy Results to Clipboard - Copy Results to Clipboard + Copy Results to Clipboard diff --git a/i18n/NotepadNext_uk.ts b/i18n/NotepadNext_uk.ts index 9d62b8cbf..9f1f9e1f2 100644 --- a/i18n/NotepadNext_uk.ts +++ b/i18n/NotepadNext_uk.ts @@ -1,3046 +1,2331 @@ - - - AuthenticateDialog - - - Dialog - - - - - Please provide the user name and password for the download location. - - - - - &User name: - - - - - &Password: - - - - + + ColumnEditorDialog - - Column Mode - Створення стовпця + + Column Mode + Створення стовпця - - Text - Текст + + Text + Текст - - Numbers - Числа + + Numbers + Числа - - Start: - Початок: + + Start: + Початок: - - Step: - Крок: + + Step: + Крок: - - + + DebugLogDock - - Debug Log - Журнал налагодження - - - - Downloader - - - - Updater - - - - - - - Downloading updates - - - - - Time remaining: 0 minutes - - - - - Open - - - - - - Stop - - - - - - Time remaining - - - - - unknown - - - - - Error - - - - - Cannot find downloaded update! - - - - - Close - Закрити - - - - Download complete! - - - - - The installer will open separately - - - - - Click "OK" to begin installing the update - - - - - In order to install the update, you may need to quit the application. - + + Debug Log + Журнал налагодження - - - In order to install the update, you may need to quit the application. This is a mandatory update, exiting now will close the application. - - - - - Click the "Open" button to apply the update - - - - - Are you sure you want to cancel the download? - - - - - Are you sure you want to cancel the download? This is a mandatory update, exiting now will close the application - - - - - - %1 bytes - - - - - - %1 KB - - - - - - %1 MB - - - - - of - - - - - Downloading Updates - - - - - Time Remaining - - - - - Unknown - - - - - about %1 hours - - - - - about one hour - - - - - %1 minutes - - - - - 1 minute - - - - - %1 seconds - - - - - 1 second - - - - + + EditorInfoStatusBar - - Length: %L1 Lines: %L2 - Розмір: %L1 Рядків: %L2 + + Length: %L1 Lines: %L2 + Розмір: %L1 Рядків: %L2 - - Sel: N/A - Обрано: N/A + + Sel: N/A + Обрано: N/A - - Sel: %L1 | %L2 - Обрано: %L1 | %L2 + + Sel: %L1 | %L2 + Обрано: %L1 | %L2 - - Ln: %L1 Col: %L2 - Рядок: %L1 Стовпець: %L2 + + Ln: %L1 Col: %L2 + Рядок: %L1 Стовпець: %L2 - - Macintosh (CR) - Macintosh (CR) + + Macintosh (CR) + Macintosh (CR) - - Windows (CR LF) - Windows (CR LF) + + Windows (CR LF) + Windows (CR LF) - - Unix (LF) - Unix (LF) + + Unix (LF) + Unix (LF) - - ANSI - ANSI + + ANSI + ANSI - - UTF-8 - UTF-8 + + UTF-8 + UTF-8 - - UTF-8 BOM - UTF-8 BOM + + UTF-8 BOM + UTF-8 BOM - - UTF-16LE BOM - UTF-16LE BOM + + UTF-16LE BOM + UTF-16LE BOM - - UTF-16BE BOM - UTF-16BE BOM + + UTF-16BE BOM + UTF-16BE BOM - - OVR - This is a short abbreviation to indicate characters will be replaced when typing - OVR + + OVR + This is a short abbreviation to indicate characters will be replaced when typing + OVR - - INS - This is a short abbreviation to indicate characters will be inserted when typing - INS + + INS + This is a short abbreviation to indicate characters will be inserted when typing + INS - - + + EditorInspectorDock - - Editor Inspector - Аналізатор редактору + + Editor Inspector + Аналізатор редактору - - Position Information - Інформація про позицію + + Position Information + Інформація про позицію - - Current Position - Поточна позиція + + Current Position + Поточна позиція - - Current Position (x, y) - Поточна позиція (x, y) + + Current Position (x, y) + Поточна позиція (x, y) - - Column - Стовпець + + Column + Стовпець - - Current Style - Поточний стиль + + Current Style + Поточний стиль - - Current Line - Поточний рядок + + Current Line + Поточний рядок - - Line Length - Розмір рядка + + Line Length + Розмір рядка - - Line End Position - Позиція кінця рядка + + Line End Position + Позиція кінця рядка - - Line Indentation - Відступ рядка + + Line Indentation + Відступ рядка - - Line Indent Position - Позиція відступу рядка + + Line Indent Position + Позиція відступу рядка - - Selection Information - Інформація про виділення + + Selection Information + Інформація про виділення - - Mode - Режим + + Mode + Режим - - Is Rectangle - Прямокутне виділення ? + + Is Rectangle + Прямокутне виділення ? - - Selection Empty - Пусте виділення ? + + Selection Empty + Пусте виділення ? - - Main Selection - Головне виділення + + Main Selection + Головне виділення - - # of Selections - # виділень + + # of Selections + # виділень - - Multiple Selections - Множинне виділення + + Multiple Selections + Множинне виділення - - Document Information - Інформація про документ + + Document Information + Інформація про документ - - Length - Довжина + + Length + Довжина - - Line Count - Кількісь рядків + + Line Count + Кількісь рядків - - View Information - Інформація про видиму область + + View Information + Інформація про видиму область - - Lines on Screen - Макс. кількість рядків на екрані + + Lines on Screen + Макс. кількість рядків на екрані - - First Visible Line - Перший видимий рядок + + First Visible Line + Перший видимий рядок - - X Offset - Зміщення по осі Х + + X Offset + Зміщення по осі Х - - Fold Information - Інформація про блок + + Fold Information + Інформація про блок - - Visible From Doc Line - Visible From Doc Line + + Visible From Doc Line + Visible From Doc Line - - Doc Line From Visible - Doc Line From Visible + + Doc Line From Visible + Doc Line From Visible - - Fold Level - Рівень блоку + + Fold Level + Рівень блоку - - Is Fold Header - Початок блоку ? + + Is Fold Header + Початок блоку ? - - Fold Parent - Початок блоку + + Fold Parent + Початок блоку - - Last Child - Кінець блоку + + Last Child + Кінець блоку - - Contracted Fold Next - Contracted Fold Next + + Contracted Fold Next + Contracted Fold Next - - Caret - Каретка + + Caret + Каретка - - Anchor - Якір + + Anchor + Якір - - Caret Virtual Space - Віртуальний простір каретки + + Caret Virtual Space + Віртуальний простір каретки - - Anchor Virtual Space - Віртуальний простір якору + + Anchor Virtual Space + Віртуальний простір якору - - + + FileList - - File List - Список файлів + + File List + Список файлів - - ... - ... + + ... + ... - - Sort by File Name - Сортувати за іменем файлу + + Sort by File Name + Сортувати за іменем файлу - - + + FindReplaceDialog - - - - Find - Шукати + + + + Find + Шукати - - Search Mode - Режим пошуку + + Search Mode + Режим пошуку - - &Normal - З&а замовчуванням + + &Normal + З&а замовчуванням - - E&xtended (\n, \r, \t, \0, \x...) - Р&озширений(\n, \r, \t, \0, \x...) + + E&xtended (\n, \r, \t, \0, \x...) + Р&озширений(\n, \r, \t, \0, \x...) - - Re&gular expression - Р&егулярні вирази + + Re&gular expression + Р&егулярні вирази - - &. matches newline - &. - новий рядок + + &. matches newline + &. - новий рядок - - Transparenc&y - &Прозорість вікна + + Transparenc&y + &Прозорість вікна - - On losing focus - При втраті фокусу + + On losing focus + При втраті фокусу - - Always - Завжди + + Always + Завжди - - Coun&t - &Кількість + + Coun&t + &Кількість - - &Replace - &Замінити + + &Replace + &Замінити - - Replace &All - Замінити &всі + + Replace &All + Замінити &всі - - Replace All in &Opened Documents - За&мінити всі у відкритих документах + + Replace All in &Opened Documents + За&мінити всі у відкритих документах - - Find All in All &Opened Documents - З&найти всі у всіх відкритих документах + + Find All in All &Opened Documents + З&найти всі у всіх відкритих документах - - Find All in Current Document - Знайти всі у поточному документі + + Find All in Current Document + Знайти всі у поточному документі - - Close - Закрити + + Close + Закрити - - &Find: - &Шукати: + + &Find: + &Шукати: - - Replace: - Замінити: + + Replace: + Замінити: - - Backward direction - Зворотній напрям + + Backward direction + Зворотній напрям - - Match &whole word only - Ш&укати ціле слово + + Match &whole word only + Ш&укати ціле слово - - Match &case - Враховувати рег&істр + + Match &case + Враховувати рег&істр - - Wra&p Around - &Циклічний пошук + + Wra&p Around + &Циклічний пошук - - Replace - Замінити + + Replace + Замінити - - - Replaced %Ln matches - - Замінено %Ln співпадінь - Replaced %Ln matches - Replaced %Ln matches - + + + Replaced %Ln matches + + Замінено %Ln співпадінь + Replaced %Ln matches + Replaced %Ln matches + Replaced %Ln matches + - - The end of the document has been reached. Found 1st occurrence from the top. - Досягнуто кінець документу. Знайдено 1 збіг. + + The end of the document has been reached. Found 1st occurrence from the top. + Досягнуто кінець документу. Знайдено 1 збіг. - - No matches found. - Нічого не знайдено. + + No matches found. + Нічого не знайдено. - - 1 occurrence was replaced - Був замінений 1 збіг + + 1 occurrence was replaced + Був замінений 1 збіг - - No more occurrences were found - Більше збігів не знайдено + + No more occurrences were found + Більше збігів не знайдено - - Found %Ln matches - - Знайдено %Ln співпадінь - Found %Ln matches - Found %Ln matches - - - - + + Found %Ln matches + + Знайдено %Ln співпадінь + Found %Ln matches + Found %Ln matches + Found %Ln matches + + + + FolderAsWorkspaceDock - - Folder as Workspace - Каталог як робочий простір + + Folder as Workspace + Каталог як робочий простір - - - HexViewerDock - - Hex Viewer - HEX-переглядач - - - + + LanguageInspectorDock - - Language Inspector - Аналізатор синтаксису + + Language Inspector + Аналізатор синтаксису - - Language: - Синтаксис: + + Language: + Синтаксис: - - Lexer: - Lexer: + + Lexer: + Lexer: - - Properties: - Властивості: + + Properties: + Властивості: - - Property - Властивість + + Property + Властивість - - Type - Тип + + Type + Тип - - - Description - Опис + + + Description + Опис - - Value - Значення + + Value + Значення - - Keywords: - Ключові слова: + + Keywords: + Ключові слова: - - ID - ID + + ID + ID - - Styles: - Стилі: + + Styles: + Стилі: - - TextLabel - Текстове поле + + TextLabel + Текстове поле - - Position %1 Style %2 - Позиція: %1 Стиль: %2 + + Position %1 Style %2 + Позиція: %1 Стиль: %2 - - + + LuaConsoleDock - - Lua Console - Консоль Lua + + Lua Console + Консоль Lua - - + + MacroEditorDialog - - Macro Editor - Редактор макросів + + Macro Editor + Редактор макросів - - Name - Назва + + Name + Назва - - Shortcut - Скорочення + + Shortcut + Скорочення - - Steps: - Операції: + + Steps: + Операції: - - Insert Macro Step - Вставити операцію + + Insert Macro Step + Вставити операцію - - Delete Selected Macro Step - Видалити операцію + + Delete Selected Macro Step + Видалити операцію - - Move Selected Macro Step Up - Перемістити операцію вгору + + Move Selected Macro Step Up + Перемістити операцію вгору - - Move Selected Macro Step Down - Перемістити операцію вниз + + Move Selected Macro Step Down + Перемістити операцію вниз - - Copy Selected Macro - Копіювати макрос + + Copy Selected Macro + Копіювати макрос - - Delete Selected Macro - Видалити макрос + + Delete Selected Macro + Видалити макрос - - Delete Macro - Видалити макрос + + Delete Macro + Видалити макрос - - Are you sure you want to delete <b>%1</b>? - Ви дійсно хочете видалити <b>%1</b>? + + Are you sure you want to delete <b>%1</b>? + Ви дійсно хочете видалити <b>%1</b>? - - (Copy) - (копіювати) + + (Copy) + (копіювати) - - + + MacroRunDialog - - Run a Macro Multiple Times - Багаторазове виконання макросу + + Run a Macro Multiple Times + Багаторазове виконання макросу - - Macro: - Макрос: + + Macro: + Макрос: - - Run Until End of File - Виконувати до кінця файлу + + Run Until End of File + Виконувати до кінця файлу - - Execute... - Виконати... + + Execute... + Виконати... - - times - разів + + times + разів - - Run - Виконати + + Run + Виконати - - Cancel - Скасувати + + Cancel + Скасувати - - + + MacroSaveDialog - - Save Macro - Збереження макросу + + Save Macro + Збереження макросу - - Name: - Назва: + + Name: + Назва: - - Shortcut: - Скорочення: + + Shortcut: + Скорочення: - - OK - OK + + OK + OK - - Cancel - Скасувати + + Cancel + Скасувати - - + + MacroStepTableModel - - Name - Назва + + Name + Назва - - Text - Текст + + Text + Текст - - + + MainWindow - - Notepad Next[*] - Notepad Next[*] + + Notepad Next[*] + Notepad Next[*] - - + - + + + + + + - - &File - &Файл + + &File + &Файл - - Close More - Закрити + + Close More + Закрити - - &Recent Files - &Останні файли + + &Recent Files + &Останні файли - - - Export As - Експортувати як + + + Export As + Експортувати як - - &Edit - &Редагування + + &Edit + &Редагування - - Copy More - Копіювати + + Copy More + Копіювати - - Indent - Відступ + + Indent + Відступ - - EOL Conversion - Перетворення символу кінця рядку (EOL) + + EOL Conversion + Перетворення символу кінця рядку (EOL) - - Convert Case - Змінити регістр + + Convert Case + Змінити регістр - - Line Operations - Операції з рядками + + Line Operations + Операції з рядками - - Comment/Uncomment - Закоментувати/розкоментувати + + Comment/Uncomment + Закоментувати/розкоментувати - - Copy As - Копіювати як + + Copy As + Копіювати як - - Encoding/Decoding - Зашифрувати/Розшифрувати + + Encoding/Decoding + Зашифрувати/Розшифрувати - - Search - По&шук + + Search + По&шук - - Bookmarks - Закладки + + Bookmarks + Закладки - - Mark All Occurrences - Позначити всі збіги + + Mark All Occurrences + Позначити всі збіги - - Clear Marks - Очистити позначки + + Clear Marks + Очистити позначки - - &View - &Вид + + &View + &Вид - - &Zoom - &Масштаб + + &Zoom + &Масштаб - - Show Symbol - Показувати символи + + Show Symbol + Показувати символи - - Fold Level - Згорнути рівень + + Fold Level + Згорнути рівень - - Unfold Level - Розгорнути рівень + + Unfold Level + Розгорнути рівень - - Language - &Синтаксис + + Language + &Синтаксис - - Settings - &Параметри + + Settings + &Параметри - - Macro - &Макрос + + Macro + &Макрос - - Help - &Довідка + + Help + &Довідка - - Encoding - Набір символів + + Encoding + Набір символів - - Main Tool Bar - Головна панель інструментів + + Main Tool Bar + Головна панель інструментів - - &New - &Новий + + &New + &Новий - - Create a new file - Створити новий файл + + Create a new file + Створити новий файл - - Ctrl+N - Ctrl+N + + Ctrl+N + Ctrl+N - - &Open... - &Відкрити... + + &Open... + &Відкрити... - - Ctrl+O - Ctrl+O + + Ctrl+O + Ctrl+O - - &Save - &Зберегти + + &Save + &Зберегти - - Save - Зберегти + + Save + Зберегти - - Ctrl+S - Ctrl+S + + Ctrl+S + Ctrl+S - - E&xit - Ви&йти + + E&xit + Ви&йти - - &Undo - &Відмінити операцію + + &Undo + &Відмінити операцію - - Ctrl+Z - Ctrl+Z + + Ctrl+Z + Ctrl+Z - - &Redo - &Повторити операцію + + &Redo + &Повторити операцію - - Ctrl+Y - Ctrl+Y + + Ctrl+Y + Ctrl+Y - - Cu&t - В&ирізати + + Cu&t + В&ирізати - - Ctrl+X - Ctrl+X + + Ctrl+X + Ctrl+X - - &Copy - &Копіювати + + &Copy + &Копіювати - - Ctrl+C - Ctrl+C + + Ctrl+C + Ctrl+C - - &Paste - В&ставити + + &Paste + В&ставити - - Ctrl+V - Ctrl+V + + Ctrl+V + Ctrl+V - - &Delete - Ви&далити + + &Delete + Ви&далити - - Del - Del + + Del + Del - - Copy Full Path - Копіювати повний шлях + + Copy Full Path + Копіювати повний шлях - - Copy File Name - Копіювати назву файлу + + Copy File Name + Копіювати назву файлу - - Copy File Directory - Копіювати назву каталогу + + Copy File Directory + Копіювати назву каталогу - - &Close - За&крити + + &Close + За&крити - - Close the current file - Закрити поточний файл + + Close the current file + Закрити поточний файл - - Ctrl+W - Ctrl+W + + Ctrl+W + Ctrl+W - - Save &As... - З&берегти як... + + Save &As... + З&берегти як... - - Ctrl+Alt+S - Ctrl+Alt+S + + Ctrl+Alt+S + Ctrl+Alt+S - - Save a Copy As... - Зберегти копію як... + + Save a Copy As... + Зберегти копію як... - - Sav&e All - Зб&ерегти все + + Sav&e All + Зб&ерегти все - - Ctrl+Shift+S - Ctrl+Shift+S + + Ctrl+Shift+S + Ctrl+Shift+S - - Select A&ll - &Обрати всі + + Select A&ll + &Обрати всі - - Ctrl+A - Ctrl+A + + Ctrl+A + Ctrl+A - - Increase Indent - Збільшити відступ + + Increase Indent + Збільшити відступ - - Decrease Indent - Зменшити відступ + + Decrease Indent + Зменшити відступ - - Rename... - Перейменувати... + + Rename... + Перейменувати... - - Re&load - &Перезавантажити + + Re&load + &Перезавантажити - - Windows (CR LF) - Windows (CR LF) + + Windows (CR LF) + Windows (CR LF) - - Unix (LF) - Unix (LF) + + Unix (LF) + Unix (LF) - - Macintosh (CR) - Macintosh (CR) + + Macintosh (CR) + Macintosh (CR) - - UPPER CASE - ВЕРХНІЙ РЕГІСТР + + UPPER CASE + ВЕРХНІЙ РЕГІСТР - - Convert text to upper case - Перетворити в ВЕРХНІЙ РЕГІСТР + + Convert text to upper case + Перетворити в ВЕРХНІЙ РЕГІСТР - - lower case - нижній регістр + + lower case + нижній регістр - - Convert text to lower case - Перетворити в нижній регістр + + Convert text to lower case + Перетворити в нижній регістр - - Duplicate Current Line - Дублювати поточний рядок + + Duplicate Current Line + Дублювати поточний рядок - - Alt+Down - Alt+Down + + Alt+Down + Alt+Down - - Split Lines - Розділити рядки + + Split Lines + Розділити рядки - - Join Lines - Об'єднати рядки + + Join Lines + Об'єднати рядки - - Ctrl+J - Ctrl+J + + Ctrl+J + Ctrl+J - - Move Selected Lines Up - Перемістити поточний рядок вверх + + Move Selected Lines Up + Перемістити поточний рядок вверх - - Ctrl+Shift+Up - Ctrl+Shift+Up + + Ctrl+Shift+Up + Ctrl+Shift+Up - - Move Selected Lines Down - Перемістити поточний рядок вниз + + Move Selected Lines Down + Перемістити поточний рядок вниз - - Ctrl+Shift+Down - Ctrl+Shift+Down + + Ctrl+Shift+Down + Ctrl+Shift+Down - - Clos&e All - Зак&рити все + + Clos&e All + Зак&рити все - - Close All files - Закрити всі файли + + Close All files + Закрити всі файли - - Ctrl+Shift+W - Ctrl+Shift+W + + Ctrl+Shift+W + Ctrl+Shift+W - - Close All Except Active Document - Закрити всі документи окрім поточного + + Close All Except Active Document + Закрити всі документи окрім поточного - - Close All to the Left - Закрити всі ліворуч + + Close All to the Left + Закрити всі ліворуч - - Close All to the Right - Закрити всі праворуч + + Close All to the Right + Закрити всі праворуч - - Zoom &In - Ма&сштаб + + + Zoom &In + Ма&сштаб + - - Ctrl++ - Ctrl++ + + Ctrl++ + Ctrl++ - - Zoom &Out - &Масштаб - + + Zoom &Out + &Масштаб - - - Ctrl+- - Ctrl+- + + Ctrl+- + Ctrl+- - - Reset Zoom - Масштаб за замовчуванням + + Reset Zoom + Масштаб за замовчуванням - - Ctrl+0 - Ctrl+0 + + Ctrl+0 + Ctrl+0 - - About Qt - Про Qt + + About Qt + Про Qt - - About Notepad Next - Про Notepad Next + + About Notepad Next + Про Notepad Next - - Show Whitespace - Показувати пробіл + + Show Whitespace + Показувати пробіл - - Show End of Line - Показувати кінець рядку + + Show End of Line + Показувати кінець рядку - - Show All Characters - Показувати всі символи + + Show All Characters + Показувати всі символи - - Show Indent Guide - Показувати лінії відступу + + Show Indent Guide + Показувати лінії відступу - - Show Wrap Symbol - Показувати символ переносу + + Show Wrap Symbol + Показувати символ переносу - - Word Wrap - Перенесення слів + + Word Wrap + Перенесення слів - - Restore Recently Closed File - Відновити щойно закритий файл + + Restore Recently Closed File + Відновити щойно закритий файл - - Ctrl+Shift+T - Ctrl+Shift+T + + Ctrl+Shift+T + Ctrl+Shift+T - - Open All Recent Files - Відкрити ві нещодавні файли + + Open All Recent Files + Відкрити ві нещодавні файли - - Clear Recent Files List - Очистити список нещодавніх файлів + + Clear Recent Files List + Очистити список нещодавніх файлів - - &Find... - &Знайти... + + &Find... + &Знайти... - - Ctrl+F - Ctrl+F + + Ctrl+F + Ctrl+F - - Find in Files... - Знайти в файлах... + + Find in Files... + Знайти в файлах... - - Find &Next - Знайти &наступний + + Find &Next + Знайти &наступний - - F3 - F3 + + F3 + F3 - - Find &Previous - Знайти &попередній + + Find &Previous + Знайти &попередній - - Shift+F3 - + + Shift+F3 + - - &Replace... - З&амінити... + + &Replace... + З&амінити... - - Ctrl+H - Ctrl+H + + Ctrl+H + Ctrl+H - - Full Screen - Повноекранний режим + + Full Screen + Повноекранний режим - - F11 - F11 + + F11 + F11 - - - Start Recording - Почати запис + + + Start Recording + Почати запис - - Playback - Виконати + + Playback + Виконати - - Ctrl+Shift+P - Ctrl+Shift+P + + Ctrl+Shift+P + Ctrl+Shift+P - - Save Current Recorded Macro... - Зберегти щойно записаний макрос... + + Save Current Recorded Macro... + Зберегти щойно записаний макрос... - - Run a Macro Multiple Times... - Виконати макрос багато разів... + + Run a Macro Multiple Times... + Виконати макрос багато разів... - - Preferences... - Налаштування... + + Preferences... + Налаштування... - - Quick Find - Швидкий пошук + + Quick Find + Швидкий пошук - - Ctrl+Alt+I - Ctrl+Alt+I + + Ctrl+Alt+I + Ctrl+Alt+I - - Select Next Instance - Виділити схожі вирази + + Select Next Instance + Виділити схожі вирази - - Ctrl+D - Ctrl+D + + Ctrl+D + Ctrl+D - - Move to Trash... - Перемістити до смітника... + + Move to Trash... + Перемістити до смітника... - - Move to Trash - Перемістити до смітника + + Move to Trash + Перемістити до смітника - - Check for Updates... - Перевірити оновлення... + + Check for Updates... + Перевірити оновлення... - - &Go to Line... - П&ерейти до рядку... + + &Go to Line... + П&ерейти до рядку... - - Ctrl+G - Ctrl+G + + Ctrl+G + Ctrl+G - - Print... - Друк... + + Print... + Друк... - - Ctrl+P - Ctrl+P + + Ctrl+P + Ctrl+P - - Open Folder as Workspace... - Відкрити каталог як робочий простір... + + Open Folder as Workspace... + Відкрити каталог як робочий простір... - - Toggle Single Line Comment - Однорядковий коментар + + Toggle Single Line Comment + Однорядковий коментар - - Ctrl+/ - Ctrl+/ + + Ctrl+/ + Ctrl+/ - - Single Line Comment - Закоментувати один рядок + + Single Line Comment + Закоментувати один рядок - - Ctrl+K - Ctrl+K + + Ctrl+K + Ctrl+K - - Single Line Uncomment - Розкоментувати один рядок + + Single Line Uncomment + Розкоментувати один рядок - - Ctrl+Shift+K - Ctrl+Shift+K + + Ctrl+Shift+K + Ctrl+Shift+K - - Edit Macros... - Редагувати макрос... + + Edit Macros... + Редагувати макрос... - - This is not currently implemented - Ця можливість ще не реалізована + + This is not currently implemented + Ця можливість ще не реалізована - - Column Mode... - Створити стовпець... + + Column Mode... + Створити стовпець... - - Export as HTML... - Експортувати як HTML... + + Export as HTML... + Експортувати як HTML... - - Export as RTF... - Експортувати як RTF... + + Export as RTF... + Експортувати як RTF... - - Copy as HTML - Копіювати як HTML + + Copy as HTML + Копіювати як HTML - - Copy as RTF - Копіювати як RTF + + Copy as RTF + Копіювати як RTF - - Base 64 Encode - Зашифрувати Base 64 + + Base 64 Encode + Зашифрувати Base 64 - - URL Encode - Зашифрувати URL + + URL Encode + Зашифрувати URL - - Base 64 Decode - Розшифрувати Base 64 + + Base 64 Decode + Розшифрувати Base 64 - - URL Decode - Розшифрувати URL + + URL Decode + Розшифрувати URL - - Copy URL - Копіювати URL + + Copy URL + Копіювати URL - - Remove Empty Lines - Видалити пусті рядки + + Remove Empty Lines + Видалити пусті рядки - - - Show in Explorer - Показати в файловому менеджері + + + Show in Explorer + Показати в файловому менеджері - - Open %1 Here - Відкрити %1 тут + + Open %1 Here + Відкрити %1 тут - - Toggle Bookmark - Додати/видалити закладку + + Toggle Bookmark + Додати/видалити закладку - - Ctrl+F2 - Ctrl+F2 + + Ctrl+F2 + Ctrl+F2 - - Next Bookmark - Наступна закладка + + Next Bookmark + Наступна закладка - - F2 - F2 + + F2 + F2 - - Previous Bookmark - Попередня закладка + + Previous Bookmark + Попередня закладка - - Shift+F2 - Shift+F2 + + Shift+F2 + Shift+F2 - - Clear Bookmarks - Очистити закладки + + Clear Bookmarks + Очистити закладки - - Invert Bookmarks - Інвертувати закладки + + Invert Bookmarks + Інвертувати закладки - - Next Tab - Наступна вкладка + + Next Tab + Наступна вкладка - - Ctrl+Tab - Ctrl+Tab + + Ctrl+Tab + Ctrl+Tab - - Previous Tab - Попередня вкладка + + Previous Tab + Попередня вкладка - - Ctrl+Shift+Tab - Ctrl+Shift+Tab + + Ctrl+Shift+Tab + Ctrl+Shift+Tab - - Fold Level 1 - Згорнути рівень 1 + + Fold Level 1 + Згорнути рівень 1 - - Alt+1 - Alt+1 + + Alt+1 + Alt+1 - - Fold Level 2 - Згорнути рівень 2 + + Fold Level 2 + Згорнути рівень 2 - - Alt+2 - Alt+2 + + Alt+2 + Alt+2 - - Fold Level 3 - Згорнути рівень 3 + + Fold Level 3 + Згорнути рівень 3 - - Alt+3 - Alt+3 + + Alt+3 + Alt+3 - - Fold Level 4 - Згорнути рівень 4 + + Fold Level 4 + Згорнути рівень 4 - - Alt+4 - Alt+4 + + Alt+4 + Alt+4 - - Unfold Level 1 - Розгорнути рівень 1 + + Unfold Level 1 + Розгорнути рівень 1 - - Alt+Shift+1 - Alt+Shift+1 + + Alt+Shift+1 + Alt+Shift+1 - - Unfold Level 2 - Розгорнути рівень 2 + + Unfold Level 2 + Розгорнути рівень 2 - - Alt+Shift+2 - Alt+Shift+2 + + Alt+Shift+2 + Alt+Shift+2 - - Unfold Level 3 - Розгорнути рівень 3 + + Unfold Level 3 + Розгорнути рівень 3 - - Alt+Shift+3 - Alt+Shift+3 + + Alt+Shift+3 + Alt+Shift+3 - - Unfold Level 4 - Розгорнути рівень 4 + + Unfold Level 4 + Розгорнути рівень 4 - - Alt+Shift+4 - Alt+Shift+4 + + Alt+Shift+4 + Alt+Shift+4 - - Fold All - Згорнути всі + + Fold All + Згорнути всі - - Alt+0 - Alt+0 + + Alt+0 + Alt+0 - - Unfold All - Розгорнути всі + + Unfold All + Розгорнути всі - - Alt+Shift+0 - Alt+Shift+0 + + Alt+Shift+0 + Alt+Shift+0 - - Fold Level 5 - Згорнути рівень 5 + + Fold Level 5 + Згорнути рівень 5 - - Alt+5 - Alt+5 + + Alt+5 + Alt+5 - - Fold Level 6 - Згорнути рівень 6 + + Fold Level 6 + Згорнути рівень 6 - - Alt+6 - Alt+6 + + Alt+6 + Alt+6 - - Fold Level 7 - Згорнути рівень 7 + + Fold Level 7 + Згорнути рівень 7 - - Alt+7 - Alt+7 + + Alt+7 + Alt+7 - - Fold Level 8 - Згорнути рівень 8 + + Fold Level 8 + Згорнути рівень 8 - - Alt+8 - Alt+8 + + Alt+8 + Alt+8 - - Fold Level 9 - Згорнути рівень 9 + + Fold Level 9 + Згорнути рівень 9 - - Alt+9 - Alt+9 + + Alt+9 + Alt+9 - - Unfold Level 5 - Розгорнути рівень 5 + + Unfold Level 5 + Розгорнути рівень 5 - - Alt+Shift+5 - Alt+Shift+5 + + Alt+Shift+5 + Alt+Shift+5 - - Unfold Level 6 - Розгорнути рівень 6 + + Unfold Level 6 + Розгорнути рівень 6 - - Alt+Shift+6 - Alt+Shift+6 + + Alt+Shift+6 + Alt+Shift+6 - - Unfold Level 7 - Розгорнути рівень 7 + + Unfold Level 7 + Розгорнути рівень 7 - - Alt+Shift+7 - Alt+Shift+7 + + Alt+Shift+7 + Alt+Shift+7 - - Unfold Level 8 - Розгорнути рівень 8 + + Unfold Level 8 + Розгорнути рівень 8 - - Alt+Shift+8 - Alt+Shift+8 + + Alt+Shift+8 + Alt+Shift+8 - - Unfold Level 9 - Розгорнути рівень 9 + + Unfold Level 9 + Розгорнути рівень 9 - - Alt+Shift+9 - Alt+Shift+9 + + Alt+Shift+9 + Alt+Shift+9 - - - Toggle Overtype - Toggle Overtype + + + Toggle Overtype + Toggle Overtype - - Ins - Ins + + Ins + Ins - - Debug Info... - Інформація про налагодження... + + Debug Info... + Інформація про налагодження... - - Cut Bookmarked Lines - Вирізати рядки з закладок + + Cut Bookmarked Lines + Вирізати рядки з закладок - - Copy Bookmarked Lines - Копіювати рядки з закладок + + Copy Bookmarked Lines + Копіювати рядки з закладок - - Delete Bookmarked Lines - Видалити рядки з закладок + + Delete Bookmarked Lines + Видалити рядки з закладок - - Mark Style 1 - Позначити стилем 1 + + Mark Style 1 + Позначити стилем 1 - - Mark Style 2 - Позначити стилем 2 + + Mark Style 2 + Позначити стилем 2 - - Clear Style 1 - Очистити стиль 1 + + Clear Style 1 + Очистити стиль 1 - - Clear Style 2 - Очистити стиль 2 + + Clear Style 2 + Очистити стиль 2 - - Mark Style 3 - Позначити стилем 3 + + Mark Style 3 + Позначити стилем 3 - - Clear Style 3 - Очистити стиль 3 + + Clear Style 3 + Очистити стиль 3 - - - Clear All Styles - Очистити всі стилі + + + Clear All Styles + Очистити всі стилі - - Remove Duplicate Lines - Remove Duplicate Lines + + Remove Duplicate Lines + Remove Duplicate Lines - - Remove Consecutive Duplicate Lines - Remove Consecutive Duplicate Lines + + Remove Consecutive Duplicate Lines + Remove Consecutive Duplicate Lines - - Sort Lines Ascending - + + Sort Lines Ascending + - - Sort Lines Descending - + + Sort Lines Descending + - - Sort Lines Ascending (Case-Insensitive) - + + Sort Lines Ascending (Case-Insensitive) + - - Sort Lines Descending (Case-Insensitive) - + + Sort Lines Descending (Case-Insensitive) + - - Sort Lines by Length Ascending - + + Sort Lines by Length Ascending + - - Sort Lines by Length Descending - + + Sort Lines by Length Descending + - - Reverse Line Order - + + Reverse Line Order + - - Go to line - Перейти до рядку + + Go to line + Перейти до рядку - - Line Number (1 - %1) - Номер рядку (1 - %1) + + Line Number (1 - %1) + Номер рядку (1 - %1) - - Stop Recording - Зупинити запис + + Stop Recording + Зупинити запис - - Debug Info - Інформація про налагодження + + Debug Info + Інформація про налагодження - - New %1 - Новий %1 + + New %1 + Новий %1 - - Create File - Створити файл + + Create File + Створити файл - - <b>%1</b> does not exist. Do you want to create it? - <b>%1</b> не існує. Бажаєте створити його ? + + <b>%1</b> does not exist. Do you want to create it? + <b>%1</b> не існує. Бажаєте створити його ? - - - Save file <b>%1</b>? - Зберегти файл <b>%1</b>? + + + Save file <b>%1</b>? + Зберегти файл <b>%1</b>? - - - Save File - Зберегти файл + + + Save File + Зберегти файл - - Open Folder as Workspace - Відкрити каталог як робочий простір + + Open Folder as Workspace + Відкрити каталог як робочий простір - - - Reload File - Перезавантажити файл + + + Reload File + Перезавантажити файл - - Are you sure you want to reload <b>%1</b>? Any unsaved changes will be lost. - Ви дійсно хочете перезавантажити файл<b>%1</b>? Всі не збережені зміни будут втрачені. + + Are you sure you want to reload <b>%1</b>? Any unsaved changes will be lost. + Ви дійсно хочете перезавантажити файл<b>%1</b>? Всі не збережені зміни будут втрачені. - - Save a Copy As - Зберегти копію як + + Save a Copy As + Зберегти копію як - - - Rename - Перейменувати + + + Rename + Перейменувати - - Name: - Назва: + + Name: + Назва: - - Delete File - Видалити файл + + Delete File + Видалити файл - - Are you sure you want to move <b>%1</b> to the trash? - Ви дійсно хочете перемістити файл <b>%1</b> до смітника ? + + Are you sure you want to move <b>%1</b> to the trash? + Ви дійсно хочете перемістити файл <b>%1</b> до смітника ? - - Error Deleting File - Помилка видалення файлу + + Error Deleting File + Помилка видалення файлу - - Something went wrong deleting <b>%1</b>? - Під час видалення щось пішло не так <b>%1</b>? + + Something went wrong deleting <b>%1</b>? + Під час видалення щось пішло не так <b>%1</b>? - - Administrator - Адміністратор + + Administrator + Адміністратор - - <b>%1</b> has been modified by another program. Do you want to reload it? - <b>%1</b> був змінений. Бажаєте завантажити актуальну версію? + + <b>%1</b> has been modified by another program. Do you want to reload it? + <b>%1</b> був змінений. Бажаєте завантажити актуальну версію? - - Read error - Read error + + Read error + Read error - - Write error - Write error + + Write error + Write error - - Fatal error - Fatal error + + Fatal error + Fatal error - - Resource error - Resource error + + Resource error + Resource error - - Open error - Open error + + Open error + Open error - - Abort error - Abort error + + Abort error + Abort error - - Timeout error - Timeout error + + Timeout error + Timeout error - - Unspecified error - Unspecified error + + Unspecified error + Unspecified error - - Remove error - Remove error + + Remove error + Remove error - - Rename error - Rename error + + Rename error + Rename error - - Position error - Position error + + Position error + Position error - - Resize error - Resize error + + Resize error + Resize error - - Permissions error - Permissions error + + Permissions error + Permissions error - - Copy error - Copy error + + Copy error + Copy error - - Unknown error (%1) - Unknown error (%1) + + Unknown error (%1) + Unknown error (%1) - - Error Saving File - Помилка збереження файлу + + Error Saving File + Помилка збереження файлу - - An error occurred when saving <b>%1</b><br><br>Error: %2 - Під час збереження виникла помилка<b>%1</b><br><br>Помилка: %2 + + An error occurred when saving <b>%1</b><br><br>Error: %2 + Під час збереження виникла помилка<b>%1</b><br><br>Помилка: %2 - - Zoom: %1% - Масштаб: %1% + + Zoom: %1% + Масштаб: %1% - - No updates are available at this time. - На цю мить не має ніяких оновлень. + + No updates are available at this time. + На цю мить не має ніяких оновлень. - - + + PreferencesDialog - - Preferences - Налаштування - - - - Unsaved сhanges - Незбережені зміни - - - - You have unsaved changes. -Do you want to save them before closing? - Зберегти внесені зміни? - - - Show menu bar - Показувати панель меню - - - Show toolbar - Показувати панель інструментів - - - Show status bar - Показувати рядок стану - - - Restore previous session - Відновлювати попередній сеанс - - - Unsaved changes - Не збережені зміни - - - Temporary files - Тимчасові файли - - - Recenter find/replace dialog when opened - Центрувати вікно пошуку/заміни під час його відкриття - - - Combine search results - Об'єднувати результати пошуку - - - Translation: - Локалізація: - - - Exit on last tab closed - Закривати програму при закритті останньої вкладки - - - Default Font - Шрифт за замовчуванням - - - Font - Шрифт - - - Font Size - Розмір - - - pt - pt - - - Default Line Endings - Символ кінця рядку за замовчуванням - - - Highlight URLs - Підкреслювати посилання URL - - - Show Line Numbers - Показувати кількість рядків - - - Default Directory - Default Directory - - - Follow Current Document - Follow Current Document - - - Last Used Directory - Last Used Directory - - - ... - ... - - - TextLabel - Текстове поле - - - An application restart is required to apply certain settings. - Для застосування деяких змін потрібно перезапустити програму. - - - Warning - Попередження - - - This feature is experimental and it should not be considered safe for critically important work. It may lead to possible data loss. Use at your own risk. - Ця функція є експериментальною, тому її не можна вважати безпечною. Її використання може призвести до втрати даних. Використовуйте цю опцію на власний розсуд. - - - System Default - Системний - - - Windows (CR LF) - Windows (CR LF) - - - Linux (LF) - Linux (LF) - - - Macintosh (CR) - Macintosh (CR) - - - <System Default> - <Мова системи> - - - - QObject - - - List All Tabs - Перелік всіх вкладок - - - - Detach Group - Відокремити групу - - - - Minimize - Згорнути - - - - Close Tab - Закрити вкладку - - - - Default directory - Каталог за замовчуванням - - - - Current document directory - Поточний каталог документу - - - - Last used directory - Останній використаний каталог - - - - Selected directory: - Обраний каталог: - - - - Selected directory path here... - Шлях до обраного каталогу... - - - - Open directory select dialog - Відкрити вікно вибору каталогу - - - - Not exists - Не існує - - - - Not a directory - Не є каталогом - - - - No write access - Немає дозволу на запис - - - - Please, use absolute path - Будь ласка, використовуйте повний шлях - - - - Select default directory - Вибрати каталог за замовчуванням - - - - Restore previous session - Відновлювати попередній сеанс + + Preferences + Налаштування - - Unsaved changes - Незбережені зміни + + Show menu bar + Показувати панель меню - - Temporary files - Тимчасові файли + + Show toolbar + Показувати панель інструментів - - Like in system - Як у системі + + Show status bar + Показувати рядок стану - - System default - Окінчення рядків - Системні + + Restore previous session + Відновлювати попередній сеанс - <System> - <Системна> + + Unsaved changes + Не збережені зміни - <System default> - <Системні> + + Temporary files + Тимчасові файли - <System Language> - <Системна> + + Recenter find/replace dialog when opened + Центрувати вікно пошуку/заміни під час його відкриття - - Language: - Мова: + + Combine search results + Об'єднувати результати пошуку - System Default - Системний + + Translation: + Локалізація: - - Windows (CR LF) - Windows (CR LF) + + Exit on last tab closed + Закривати програму при закритті останньої вкладки - - Unix (LF) - Unix (LF) + + Default Font + Шрифт за замовчуванням - - Macintosh (CR) - Macintosh (CR) + + Font + Шрифт - - Default line endings: - Символ кінця рядку за замовчуванням: + + Font Size + Розмір - - Recenter find/replace dialog when opened - Центрувати вікно пошуку/заміни під час відкриття + + pt + pt - - Combine search results - Об'єднувати результати пошуку + + Default Line Endings + Символ кінця рядку за замовчуванням - - Exit on last tab closed - Закривати програму при закритті останньої вкладки + + Highlight URLs + Підкреслювати посилання URL - - Behavior - Поведінка + + Show Line Numbers + Показувати кількість рядків - - Application restart required to apply changes. - Потребує перезапуск додатку. + + + Default Directory + Default Directory - Window - Головне вікно + + Follow Current Document + Follow Current Document - - Main window - Головне вікно + + Last Used Directory + Last Used Directory - - Show menu bar - Показувати панель меню + + ... + ... - - Show toolbar - Показувати панель інструментів + + TextLabel + Текстове поле - - Show status bar - Показувати рядок стану + + An application restart is required to apply certain settings. + Для застосування деяких змін потрібно перезапустити програму. - - Font - Шрифт + + Warning + Попередження - - Family: - Сімейство: + + This feature is experimental and it should not be considered safe for critically important work. It may lead to possible data loss. Use at your own risk. + Ця функція є експериментальною, тому її не можна вважати безпечною. Її використання може призвести до втрати даних. Використовуйте цю опцію на власний розсуд. - - Size: - Розмір: + + System Default + Системний - - Editor - Редактор + + Windows (CR LF) + Windows (CR LF) - - Highlight URLs - Підсвічувати посилання + + Linux (LF) + Linux (LF) - - Show line numbers - Показувати номера рядків + + Macintosh (CR) + Macintosh (CR) - Show Line Numbers - Показувати номера рядків + + <System Default> + <Мова системи> - - - Appearance - Зовнішній вигляд - - - + + QuickFindWidget - - Frame - Рама + + Frame + Рама - - Find... - Шукати... + + Find... + Шукати... - - Match case - Чутливість до регістру + + Match case + Чутливість до регістру - - Aa - Aa + + Aa + Aa - - Match whole word - Шукати ціле слово + + Match whole word + Шукати ціле слово - - |A| - |A| + + |A| + |A| - - Use regular expression - Використовувати регулярний вираз + + Use regular expression + Використовувати регулярний вираз - - . * - . * + + . * + . * - - Alt+E - Alt+E + + Alt+E + Alt+E - - %L1/%L2 - %L1/%L2 + + %L1/%L2 + %L1/%L2 - - + + SearchResultsDock - - Search Results - Результати пошуку - - - - Copy Results to Clipboard - Копіювати результати до буферу обміну - - - - Collapse All - Згорнути все - - - - Expand All - Розгорнути все - - - - Delete Entry - Видалити запис - - - - Delete All - Видалити все - - - - Updater - - - Would you like to download the update now? - - - - - Would you like to download the update now?<br />This is a mandatory update, exiting now will close the application. - - - - - <strong>Change log:</strong><br/>%1 - - - - - Version %1 of %2 has been released! - - - - - No updates are available for the moment - - - - - Congratulations! You are running the latest version of %1 - - - - - Window - - - QSimpleUpdater Example - - - - - <h1><i>QSimpleUpdater</i></h1> - - - - - <i>A simpler way to update your Qt applications...</i> - - - - - Updater Options - - - - - 0.1 - - - - - Write a version string... - - - - - Set installed version (latest version is 1.0) - - - - - Do not use the QSU library to read the appcast - - - - - Notify me when an update is available - - - - - Show all notifications - - - - - Enable integrated downloader - - - - - Mandatory Update - - - - - Changelog - - - - - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'.Lucida Grande UI'; font-size:13pt;">Click &quot;Check for Updates&quot; to update this field...</span></p></body></html> - - - - - Reset Fields - - - - - Close - Закрити - - - - Check for Updates - - - - - ads::CAutoHideTab - - - Detach - - - - - Pin To... - - - - - Top - - - - - Left - - - - - Right - - - - - Bottom - - - - - Unpin (Dock) - - - - - Close - Закрити - - - - ads::CDockAreaTitleBar - - - Detach - - - - - Detach Group - Відокремити групу - - - - - Unpin (Dock) - - - - - - Pin Group - - - - - Pin Group To... - - - - - Top - - - - - Left - - - - - Right - - - - - Bottom - - - - - - Minimize - Згорнути - - - - - - Close - Закрити - - - - - Close Group - - - - - Close Other Groups - - - - - Pin Active Tab (Press Ctrl to Pin Group) - - - - - Close Active Tab - - - - - ads::CDockManager - - - Show View - - - - - ads::CDockWidgetTab - - - Detach - - - - - Pin - - - - - Pin To... - - - - - Top - + + Search Results + Результати пошуку - - Left - + + Copy Results to Clipboard + Копіювати результати до буферу обміну - - Right - + + Collapse All + Згорнути все - - Bottom - + + Expand All + Розгорнути все - - Close - Закрити + + Delete Entry + Видалити запис - - Close Others - + + Delete All + Видалити все - + diff --git a/i18n/NotepadNext_zh_CN.ts b/i18n/NotepadNext_zh_CN.ts index f44bee0a8..0efc3c69a 100644 --- a/i18n/NotepadNext_zh_CN.ts +++ b/i18n/NotepadNext_zh_CN.ts @@ -1,2786 +1,2325 @@ - - - AuthenticateDialog - - - Dialog - - - - - Please provide the user name and password for the download location. - - - - - &User name: - - - - - &Password: - - - - + + ColumnEditorDialog - - Column Mode - 列编辑模式 + + Column Mode + 列编辑模式 - - Text - 文本 + + Text + 文本 - - Numbers - 数字 + + Numbers + 数字 - - Start: - 开始: + + Start: + 开始: - - Step: - 步长: + + Step: + 步长: - - + + DebugLogDock - - Debug Log - 调试日志 - - - - Downloader - - - - Updater - 更新器 - - - - - - Downloading updates - 正在下载更新 - - - - Time remaining: 0 minutes - 剩余时间:0 分钟 - - - - Open - 开始 - - - - - Stop - 停止 - - - - - Time remaining - 剩余时间 - - - - unknown - 未知 - - - - Error - 错误 - - - - Cannot find downloaded update! - 无法找到可下载更新! - - - - Close - 关闭 - - - - Download complete! - 下载完成! - - - - The installer will open separately - 安装程序会在单独的窗口打开 - - - - Click "OK" to begin installing the update - 点击“OK”按钮开始安装更新 - - - - In order to install the update, you may need to quit the application. - 为了安装更新,你可能需要退出已打开的程序。 - - - In order to install the update, you may need to quit the application. This is a mandatory update, exiting now will close the application - 为了安装更新,你可能需要退出已打开的程序。这是一个强制更新,现在退出将关闭应用程序 - - - - In order to install the update, you may need to quit the application. This is a mandatory update, exiting now will close the application. - - - - - Click the "Open" button to apply the update - 点击“Open”按钮开始应用更新 - - - - Are you sure you want to cancel the download? - 你确定要取消下载吗? - - - - Are you sure you want to cancel the download? This is a mandatory update, exiting now will close the application - 你确定要取消下载吗?这是一个强制更新,现在退出将关闭应用程序 - - - - - %1 bytes - %1 字节 - - - - - %1 KB - - - - - - %1 MB - - - - - of - / - - - - Downloading Updates - 下载更新中 - - - - Time Remaining - 剩余时间 - - - - Unknown - 未知 - - - - about %1 hours - 约 %1 小时 - - - - about one hour - 约 1 小时 - - - - %1 minutes - %1 分钟 + + Debug Log + 调试日志 + + + EditorInfoStatusBar - - 1 minute - 1 分钟 + + Length: %L1 Lines: %L2 + 长度:%L1 行数:%L2 - - %1 seconds - %1 秒 + + Sel: N/A + 选择:N/A - - 1 second - 1 秒 + + Sel: %L1 | %L2 + 选择:%L1 | %L2 - - - EditorInfoStatusBar - - Sel: N/A - 选择:N/A + + Ln: %L1 Col: %L2 + 行:%L1 列:%L2 - - Length: %L1 Lines: %L2 - 长度:%L1 行数:%L2 + + Macintosh (CR) + - - Sel: %L1 | %L2 - 选择:%L1 | %L2 + + Windows (CR LF) + - - Ln: %L1 Col: %L2 - 行:%L1 列:%L2 + + Unix (LF) + - - Macintosh (CR) - + + ANSI + - - Windows (CR LF) - + + UTF-8 + - - Unix (LF) - + + UTF-8 BOM + - - ANSI - + + UTF-16LE BOM + - - UTF-8 - + + UTF-16BE BOM + - - OVR - This is a short abbreviation to indicate characters will be replaced when typing - + + OVR + This is a short abbreviation to indicate characters will be replaced when typing + - - INS - This is a short abbreviation to indicate characters will be inserted when typing - + + INS + This is a short abbreviation to indicate characters will be inserted when typing + - - + + EditorInspectorDock - - Editor Inspector - 编辑查看器 + + Editor Inspector + 编辑查看器 - - Current Position - 当前位置 + + Position Information + 位置信息 - - Current Position (x, y) - 当前位置 (x, y) + + Current Position + 当前位置 - - Column - + + Current Position (x, y) + 当前位置 (x, y) - - Current Style - 当前样式 + + Column + - - Current Line - 当前行 + + Current Style + 当前样式 - - Line Length - 行长 + + Current Line + 当前行 - - Line End Position - 行尾位置 + + Line Length + 行长 - - Line Indentation - 行缩进 + + Line End Position + 行尾位置 - - Line Indent Position - 行缩进位置 + + Line Indentation + 行缩进 - - Selection Information - 选择信息 + + Line Indent Position + 行缩进位置 - - Is Rectangle - 仅多光标模式下为 True - 矩形选择 + + Selection Information + 选择信息 - - Selection Empty - 已选择空 + + Mode + 模式 - - Main Selection - 永远是最后一个光标;编号从 #0 开始;光标列表见下方(Multiple Selections) - 主光标编号 + + Is Rectangle + 矩形选择 - - # of Selections - 光标数 + + Selection Empty + 已选择空 - - Multiple Selections - 光标列表 + + Main Selection + 主光标编号 - - Document Information - 文档信息 + + # of Selections + 光标数 - - Position Information - 位置信息 + + Multiple Selections + 光标列表 - - Mode - 模式 + + Document Information + 文档信息 - - Length - 长度 + + Length + 长度 - - Line Count - 行数 + + Line Count + 行数 - - View Information - 指主编辑器视图 - 视图信息 + + View Information + 视图信息 - - Lines on Screen - 屏幕上行数 + + Lines on Screen + 屏幕上行数 - - First Visible Line - 第一可视行 + + First Visible Line + 第一可视行 - - X Offset - TODO:具体含义尚不清楚 - X 偏移 + + X Offset + X 偏移 - - Fold Information - 折叠信息 + + Fold Information + 折叠信息 - - Visible From Doc Line - TODO:具体含义尚不清楚 - 从文档行可见 + + Visible From Doc Line + 从文档行可见 - - Doc Line From Visible - TODO:具体含义尚不清楚 - 可见文档行 + + Doc Line From Visible + 可见文档行 - - Fold Level - 折叠层级 + + Fold Level + 折叠层级 - - Is Fold Header - 是折叠组标题行 + + Is Fold Header + 是折叠组标题行 - - Fold Parent - (行号) - 折叠组父级 + + Fold Parent + 折叠组父级 - - Last Child - (行号) - 最后子节点 + + Last Child + 最后子节点 - - Contracted Fold Next - (行号) - 下一个已折叠项 + + Contracted Fold Next + 下一个已折叠项 - - Caret - 选择终止的位置 - 光标位置 + + Caret + 光标位置 - - Anchor - 选择开始的位置 - 锚点位置 + + Anchor + 锚点位置 - - Caret Virtual Space - TODO:具体含义尚不清楚 - 插入虚拟空格 + + Caret Virtual Space + 插入虚拟空格 - - Anchor Virtual Space - TODO:具体含义尚不清楚 - 定位虚拟空格 + + Anchor Virtual Space + 定位虚拟空格 - - + + FileList - - File List - 文件列表 + + File List + 文件列表 - - ... - + + ... + - - Sort by File Name - + + Sort by File Name + - - + + FindReplaceDialog - - - - Find - 查找 + + + + Find + 查找 - - Search Mode - 搜索模式 + + Search Mode + 搜索模式 - - &Normal - 正常模式(&N) + + &Normal + 正常模式(&N) - - E&xtended (\n, \r, \t, \0, \x...) - 扩展模式(&E) (\n, \r, \t, \0, \x...) + + E&xtended (\n, \r, \t, \0, \x...) + 扩展模式(&E) (\n, \r, \t, \0, \x...) - - Re&gular expression - 正则表达式 (&g) + + Re&gular expression + 正则表达式 (&g) - - &. matches newline - &. 匹配换行 + + &. matches newline + &. 匹配换行 - - Transparenc&y - 透明度(&y) + + Transparenc&y + 透明度(&y) - - On losing focus - 失去焦点时 + + On losing focus + 失去焦点时 - - Always - 总是 + + Always + 总是 - - Coun&t - 计数(&t) + + Coun&t + 计数(&t) - - &Replace - 替换(&R) + + &Replace + 替换(&R) - - Replace &All - 全部替换(&A) + + Replace &All + 全部替换(&A) - - Replace All in &Opened Documents - 替换所有打开文件(&O) + + Replace All in &Opened Documents + 替换所有打开文件(&O) - - Find All in All &Opened Documents - 查找所有打开文件(&O) + + Find All in All &Opened Documents + 查找所有打开文件(&O) - - Find All in Current Document - 查找当前文档 + + Find All in Current Document + 查找当前文档 - - Close - 关闭 + + Close + 关闭 - - &Find: - &查找: + + &Find: + &查找: - - Replace: - 替换: + + Replace: + 替换: - - Backward direction - 反向搜索 + + Backward direction + 反向搜索 - - Match &whole word only - 全词匹配(&w) + + Match &whole word only + 全词匹配(&w) - - Match &case - 匹配大小写(&c) + + Match &case + 匹配大小写(&c) - - Wra&p Around - 开启此选项,搜索达到文件末尾后,会自动从头继续搜索。 - 循环搜索(&p) + + Wra&p Around + 循环搜索(&p) - - Replace - 替换 - - - Replaced %L1 matches - 已替换 %L1 个匹配项 + + Replace + 替换 - - - Replaced %Ln matches - - 已替换 %Ln 个匹配项 - + + + Replaced %Ln matches + + 已替换 %Ln 个匹配项 + - - The end of the document has been reached. Found 1st occurrence from the top. - 已经到达文档的末尾。从顶部找到第一个匹配项。 + + The end of the document has been reached. Found 1st occurrence from the top. + 已经到达文档的末尾。从顶部找到第一个匹配项。 - - No matches found. - 没有找到匹配项。 + + No matches found. + 没有找到匹配项。 - - 1 occurrence was replaced - 已替换 1 个匹配项 + + 1 occurrence was replaced + 已替换 1 个匹配项 - - No more occurrences were found - 没有找到更多匹配项 + + No more occurrences were found + 没有找到更多匹配项 - - Found %Ln matches - - 找到 %Ln 个匹配项 - - - - Found %L1 matches - 查找了 %L1 个匹配项 - - - + + Found %Ln matches + + 找到 %Ln 个匹配项 + + + + FolderAsWorkspaceDock - - Folder as Workspace - 窗口标题 - 文件夹工作区 + + Folder as Workspace + 文件夹工作区 - - - HexViewerDock - - - Hex Viewer - Hex 查看器 - - - + + LanguageInspectorDock - - Language Inspector - 语言查看器 + + Language Inspector + 语言查看器 - - Language: - 语言: + + Language: + 语言: - - Lexer: - 词法分析器: + + Lexer: + 词法分析器: - - Properties: - 属性: + + Properties: + 属性: - - Property - 属性 + + Property + 属性 - - Type - 类型 + + Type + 类型 - - - Description - 描述 + + + Description + 描述 - - Value - + + Value + - - Keywords: - 关键词: + + Keywords: + 关键词: - - ID - + + ID + - - Styles: - 样式: + + Styles: + 样式: - - TextLabel - 文本标签 + + TextLabel + 文本标签 - - Position %1 Style %2 - 位置 %1 样式 %2 + + Position %1 Style %2 + 位置 %1 样式 %2 - - + + LuaConsoleDock - - Lua Console - Lua 终端 + + Lua Console + Lua 终端 - - + + MacroEditorDialog - - Macro Editor - 宏编辑器 + + Macro Editor + 宏编辑器 - - Name - 名称 + + Name + 名称 - - Shortcut - 快捷方式 + + Shortcut + 快捷方式 - - Steps: - 步骤: + + Steps: + 步骤: - - Insert Macro Step - 插入宏步 + + Insert Macro Step + 插入宏步 - - Delete Selected Macro Step - 删除已选宏步 + + Delete Selected Macro Step + 删除已选宏步 - - Move Selected Macro Step Up - 向上移动已选宏步 + + Move Selected Macro Step Up + 向上移动已选宏步 - - Move Selected Macro Step Down - 向下移动已选宏步 + + Move Selected Macro Step Down + 向下移动已选宏步 - - Copy Selected Macro - 复制已选宏步 + + Copy Selected Macro + 复制已选宏步 - - Delete Selected Macro - 清空已选宏 + + Delete Selected Macro + 清空已选宏 - - Delete Macro - 删除宏 + + Delete Macro + 删除宏 - - Are you sure you want to delete <b>%1</b>? - 你确定想要删掉<b>%1</b>吗? + + Are you sure you want to delete <b>%1</b>? + 你确定想要删掉<b>%1</b>吗? - - (Copy) - (复制) + + (Copy) + (复制) - - + + MacroRunDialog - - Run a Macro Multiple Times - 多次运行宏 + + Run a Macro Multiple Times + 多次运行宏 - - Macro: - 宏: + + Macro: + 宏: - - Run Until End of File - 运行至文件末尾 + + Run Until End of File + 运行至文件末尾 - - Execute... - 执行... + + Execute... + 执行... - - times - + + times + - - Run - 运行 + + Run + 运行 - - Cancel - 取消 + + Cancel + 取消 - - + + MacroSaveDialog - - Save Macro - 保存宏 + + Save Macro + 保存宏 - - Name: - 宏名: + + Name: + 宏名: - - Shortcut: - 快捷键: + + Shortcut: + 快捷键: - - OK - 确定 + + OK + 确定 - - Cancel - 取消 + + Cancel + 取消 - - + + MacroStepTableModel - - Name - 名称 + + Name + 名称 - - Text - 文本 + + Text + 文本 - - + + MainWindow - - Notepad Next[*] - 【不译】 - - - - - + - 【不译】按F11进入全屏模式,右上角按钮。用于退出全屏 - - - - - &File - 文件(&F) + + Notepad Next[*] + - - Close More - 更多关闭方式 + + + + - - &Recent Files - 最近打开的文件(&R) + + &File + 文件(&F) - - &Edit - 编辑(&E) + + Close More + 更多关闭方式 - - Copy More - 更多复制方式 + + &Recent Files + 最近打开的文件(&R) - - Indent - 缩进 + + + Export As + 导出为 - - EOL Conversion - 行尾序列(EOL)转换 + + &Edit + 编辑(&E) - - Convert Case - 大小写转换 + + Copy More + 更多复制方式 - - Line Operations - 行操作 + + Indent + 缩进 - - Comment/Uncomment - 注释/取消注释 + + EOL Conversion + 行尾序列(EOL)转换 - - Search - 搜索 + + Convert Case + 大小写转换 - - Bookmarks - 书签 + + Line Operations + 行操作 - - Mark All Occurrences - + + Comment/Uncomment + 注释/取消注释 - - Clear Marks - + + Copy As + 复制为 - - &View - 视图(&V) + + Encoding/Decoding + 编码/解码 - - &Zoom - 缩放(&Z) + + Search + 搜索 - - Show Symbol - 显示符号标记 + + Bookmarks + 书签 - - Fold Level - 折叠层级 + + Mark All Occurrences + - - Unfold Level - + + Clear Marks + - - Language - 语言 + + &View + 视图(&V) - - Settings - 选项 + + &Zoom + 缩放(&Z) - - Macro - + + Show Symbol + 显示符号标记 - - Help - 帮助 + + Fold Level + 折叠层级 - - Encoding - 编码 + + Unfold Level + - - Main Tool Bar - 主工具栏 + + Language + 语言 - - &New - 新建(&N) + + Settings + 选项 - - Create a new file - 新建文件 + + Macro + - - Ctrl+N - + + Help + 帮助 - - &Open... - 打开(&O)... + + Encoding + 编码 - - Ctrl+O - + + Main Tool Bar + 主工具栏 - - &Save - 保存(&S) + + &New + 新建(&N) - - Save - 保存 + + Create a new file + 新建文件 - - Ctrl+S - + + Ctrl+N + - - E&xit - 退出(&E) + + &Open... + 打开(&O)... - - &Undo - 撤销(&U) + + Ctrl+O + - - Ctrl+Z - + + &Save + 保存(&S) - - &Redo - 重做(&R) + + Save + 保存 - - Ctrl+Y - + + Ctrl+S + - - Cu&t - 剪切(&t) + + E&xit + 退出(&E) - - Ctrl+X - + + &Undo + 撤销(&U) - - &Copy - 复制(&C) + + Ctrl+Z + - - Ctrl+C - + + &Redo + 重做(&R) - - &Paste - 粘贴(&P) + + Ctrl+Y + - - Ctrl+V - + + Cu&t + 剪切(&t) - - &Delete - 删除(&D) + + Ctrl+X + - - Del - Delete 对应的快捷键 - + + &Copy + 复制(&C) - - Copy Full Path - 复制完整路径 + + Ctrl+C + - - Copy File Name - 复制文件名 + + &Paste + 粘贴(&P) - - Copy File Directory - 复制文件夹路径 + + Ctrl+V + - - &Close - 关闭(&C) + + &Delete + 删除(&D) - - Close the current file - 关闭当前文件 + + Del + - - Ctrl+W - + + Copy Full Path + 复制完整路径 - - Save &As... - 另存为(&A)... + + Copy File Name + 复制文件名 - - Ctrl+Alt+S - + + Copy File Directory + 复制文件夹路径 - - Save a Copy As... - 副本另存为... + + &Close + 关闭(&C) - - Sav&e All - 保存所有(&e) + + Close the current file + 关闭当前文件 - - Ctrl+Shift+S - + + Ctrl+W + - - Select A&ll - 选择所有(&A) + + Save &As... + 另存为(&A)... - - Ctrl+A - + + Ctrl+Alt+S + - - Increase Indent - 增加缩进 + + Save a Copy As... + 副本另存为... - - Decrease Indent - 减少缩进 + + Sav&e All + 保存所有(&e) - - Rename... - 重命名... + + Ctrl+Shift+S + - - Re&load - 重新加载(&l) + + Select A&ll + 选择所有(&A) - - Windows (CR LF) - Windows (CR LF) + + Ctrl+A + - - Unix (LF) - Unix (LF) + + Increase Indent + 增加缩进 - - Macintosh (CR) - Macintosh (CR) + + Decrease Indent + 减少缩进 - - UPPER CASE - 仅转换选中的词。 - 转换为大写 + + Rename... + 重命名... - - Convert text to upper case - 转换文本到大写 + + Re&load + 重新加载(&l) - - lower case - 仅转换选中的词。 - 转换为小写 + + Windows (CR LF) + Windows (CR LF) - - Convert text to lower case - 转换文本到小写 + + Unix (LF) + Unix (LF) - - Duplicate Current Line - 会在下一行插入 - 复制并插入当前行 + + Macintosh (CR) + Macintosh (CR) - - Alt+Down - + + UPPER CASE + 转换为大写 - - Split Lines - 效果与打开“自动折行”一致,不过使用了硬换行 - 拆分当前行 + + Convert text to upper case + 转换文本到大写 - - Join Lines - 需要选中多行,否则没有效果。 - 合并多行 + + lower case + 转换为小写 - - Ctrl+J - + + Convert text to lower case + 转换文本到小写 - - Move Selected Lines Up - 向下移动选中的行 + + Duplicate Current Line + 复制并插入当前行 - - Ctrl+Shift+Up - + + Alt+Down + - - Move Selected Lines Down - 向上移动选中的行 + + Split Lines + 拆分当前行 - - Ctrl+Shift+Down - + + Join Lines + 合并多行 - - Clos&e All - 关闭所有(&e) + + Ctrl+J + - - Close All files - 关闭所有文件 + + Move Selected Lines Up + 向下移动选中的行 - - Ctrl+Shift+W - + + Ctrl+Shift+Up + - - Close All Except Active Document - 关闭其他 + + Move Selected Lines Down + 向上移动选中的行 - - Close All to the Left - 关闭至左侧 + + Ctrl+Shift+Down + - - Close All to the Right - 关闭至右侧 + + Clos&e All + 关闭所有(&e) - - Zoom &In - 放大(&I) + + Close All files + 关闭所有文件 - - Ctrl++ - + + Ctrl+Shift+W + - - Zoom &Out - 缩小(&O) + + Close All Except Active Document + 关闭其他 - - Ctrl+- - + + Close All to the Left + 关闭至左侧 - - Reset Zoom - 重置缩放 + + Close All to the Right + 关闭至右侧 - - Ctrl+0 - + + Zoom &In + 放大(&I) - - Toggle Single Line Comment - 切换单行注释 + + Ctrl++ + - - Ctrl+/ - + + Zoom &Out + 缩小(&O) - - Single Line Comment - 单行注释 + + Ctrl+- + - - Ctrl+K - + + Reset Zoom + 重置缩放 - - Single Line Uncomment - 取消单行注释 + + Ctrl+0 + - - Ctrl+Shift+K - + + About Qt + 关于 Qt - - Edit Macros... - 编辑宏... + + About Notepad Next + 关于 Notepad Next - - This is not currently implemented - 此功能尚未实现 + + Show Whitespace + 显示空格 - - Column Mode... - 列编辑模式... + + Show End of Line + 显示行尾 - - Export as HTML... - 导出为 HTML... + + Show All Characters + 显示所有字符 - - Export as RTF... - 导出为 RTF... + + Show Indent Guide + 显示缩进指引 - - Copy as HTML - 复制为 HTML + + Show Wrap Symbol + 显示换行标记 - - Copy as RTF - 复制为 RTF + + Word Wrap + 自动换行 - - Base 64 Encode - Base 64 编码 + + Restore Recently Closed File + 恢复最近关闭的文件 - - URL Encode - URL 编码 + + Ctrl+Shift+T + - - Base 64 Decode - Base 64 解码 + + Open All Recent Files + 打开所有最近关闭的文件 - - URL Decode - URL 解码 + + Clear Recent Files List + 清除最近打开的文件 - - Copy URL - 复制 URL + + &Find... + 查找(&F)... - - Remove Empty Lines - 删除空行 + + Ctrl+F + - - - Show in Explorer - 在资源管理器中查看 + + Find in Files... + 在文件中查找... - - Open %1 Here - + + Find &Next + 查找下一个(&N) - - Mark Style 1 - + + F3 + - - Mark Style 2 - + + Find &Previous + 查找上一个(&P) - - Clear Style 1 - + + Shift+F3 + - - Clear Style 2 - + + &Replace... + 替换(&R)... - - Mark Style 3 - + + Ctrl+H + - - Clear Style 3 - + + Full Screen + 全屏 - - - Clear All Styles - + + F11 + - - Remove Duplicate Lines - + + + Start Recording + 开始录制 - - Remove Consecutive Duplicate Lines - + + Playback + 重放宏 - Open Command Prompt Here - 在此打开命令提示符 + + Ctrl+Shift+P + - - Toggle Bookmark - 切换书签 + + Save Current Recorded Macro... + 保存当前已录制的宏... - - Ctrl+F2 - + + Run a Macro Multiple Times... + 多次运行宏... - - Next Bookmark - 下一个书签 + + Preferences... + 偏好设置.... - - F2 - + + Quick Find + 快速查找 - - Previous Bookmark - 上一个书签 + + Ctrl+Alt+I + - - Shift+F2 - + + Select Next Instance + 选择下一个实例 - - Clear Bookmarks - 清除书签 + + Ctrl+D + - - Invert Bookmarks - 书签顺序上下颠倒 - 反转书签 + + Move to Trash... + 移动至回收站... - - Next Tab - + + Move to Trash + 移动至回收站 - - Ctrl+Tab - + + Check for Updates... + 检查更新... - - Previous Tab - + + &Go to Line... + 转跳到行(&G)... - - Ctrl+Shift+Tab - + + Ctrl+G + - - Fold Level 1 - + + Print... + 打印... - - Alt+1 - + + Ctrl+P + - - Fold Level 2 - + + Open Folder as Workspace... + 打开文件夹为工作区... - - Alt+2 - + + Toggle Single Line Comment + 切换单行注释 - - Fold Level 3 - + + Ctrl+/ + - - Alt+3 - + + Single Line Comment + 单行注释 - - Fold Level 4 - + + Ctrl+K + - - Alt+4 - + + Single Line Uncomment + 取消单行注释 - - Unfold Level 1 - + + Ctrl+Shift+K + - - Alt+Shift+1 - + + Edit Macros... + 编辑宏... - - Unfold Level 2 - + + This is not currently implemented + 此功能尚未实现 - - Alt+Shift+2 - + + Column Mode... + 列编辑模式... - - Unfold Level 3 - + + Export as HTML... + 导出为 HTML... - - Alt+Shift+3 - + + Export as RTF... + 导出为 RTF... - - Unfold Level 4 - + + Copy as HTML + 复制为 HTML - - Alt+Shift+4 - + + Copy as RTF + 复制为 RTF - - Fold All - + + Base 64 Encode + Base 64 编码 - - Alt+0 - + + URL Encode + URL 编码 - - Unfold All - + + Base 64 Decode + Base 64 解码 - - Alt+Shift+0 - + + URL Decode + URL 解码 - - Fold Level 5 - + + Copy URL + 复制 URL - - Alt+5 - + + Remove Empty Lines + 删除空行 - - Fold Level 6 - + + + Show in Explorer + 在资源管理器中查看 - - Alt+6 - + + Open %1 Here + - - Fold Level 7 - + + Toggle Bookmark + 切换书签 - - Alt+7 - + + Ctrl+F2 + - - Fold Level 8 - + + Next Bookmark + 下一个书签 - - Alt+8 - + + F2 + - - Fold Level 9 - + + Previous Bookmark + 上一个书签 - - Alt+9 - + + Shift+F2 + - - Unfold Level 5 - + + Clear Bookmarks + 清除书签 - - Alt+Shift+5 - + + Invert Bookmarks + 反转书签 - - Unfold Level 6 - + + Next Tab + - - Alt+Shift+6 - + + Ctrl+Tab + - - Unfold Level 7 - + + Previous Tab + - - Alt+Shift+7 - + + Ctrl+Shift+Tab + - - Unfold Level 8 - + + Fold Level 1 + - - Alt+Shift+8 - + + Alt+1 + - - Unfold Level 9 - + + Fold Level 2 + - - Alt+Shift+9 - + + Alt+2 + - - - Toggle Overtype - + + Fold Level 3 + - - Ins - + + Alt+3 + - - Debug Info... - + + Fold Level 4 + - - Cut Bookmarked Lines - + + Alt+4 + - - Copy Bookmarked Lines - + + Unfold Level 1 + - - Delete Bookmarked Lines - + + Alt+Shift+1 + - - About Qt - 关于 Qt + + Unfold Level 2 + - - - Export As - 导出为 + + Alt+Shift+2 + - - Copy As - 复制为 + + Unfold Level 3 + - - Encoding/Decoding - 编码/解码 + + Alt+Shift+3 + - - About Notepad Next - 关于 Notepad Next + + Unfold Level 4 + - - Show Whitespace - 显示空格 + + Alt+Shift+4 + - - Show End of Line - 显示行尾 + + Fold All + - - Show All Characters - 显示所有字符 + + Alt+0 + - - Show Indent Guide - 显示缩进指引 + + Unfold All + - - Show Wrap Symbol - 显示换行标记 + + Alt+Shift+0 + - - Word Wrap - 自动换行 + + Fold Level 5 + - - Restore Recently Closed File - 只恢复(重新打开)一个文件 - 恢复最近关闭的文件 + + Alt+5 + - - Ctrl+Shift+T - + + Fold Level 6 + - - Open All Recent Files - 历史记录里有的文件都会打开 - 打开所有最近关闭的文件 + + Alt+6 + - - Clear Recent Files List - 清除最近打开的文件 + + Fold Level 7 + - - &Find... - 查找(&F)... + + Alt+7 + - - Ctrl+F - + + Fold Level 8 + - - Find in Files... - 在文件中查找... + + Alt+8 + - - Find &Next - 查找下一个(&N) + + Fold Level 9 + - - F3 - + + Alt+9 + - - Find &Previous - 查找上一个(&P) + + Unfold Level 5 + - - &Replace... - 替换(&R)... + + Alt+Shift+5 + - - Ctrl+H - + + Unfold Level 6 + - - Full Screen - 全屏 + + Alt+Shift+6 + - - F11 - + + Unfold Level 7 + - - - Start Recording - 开始录制 + + Alt+Shift+7 + - - Playback - "Macro > Playback" - 重放宏 + + Unfold Level 8 + - - Ctrl+Shift+P - + + Alt+Shift+8 + - - Save Current Recorded Macro... - 保存当前已录制的宏... + + Unfold Level 9 + - - Run a Macro Multiple Times... - 多次运行宏... + + Alt+Shift+9 + - - Preferences... - 偏好设置.... + + + Toggle Overtype + - - Quick Find - 快速查找 + + Ins + - - Ctrl+Alt+I - + + Debug Info... + - - Select Next Instance - 选择下一个实例 + + Cut Bookmarked Lines + - - Ctrl+D - + + Copy Bookmarked Lines + - - Move to Trash... - 移动至回收站... + + Delete Bookmarked Lines + - - Move to Trash - 移动至回收站 + + Mark Style 1 + - - Check for Updates... - 检查更新... + + Mark Style 2 + - - &Go to Line... - 转跳到行(&G)... + + Clear Style 1 + - - Ctrl+G - + + Clear Style 2 + - - Print... - 打印... + + Mark Style 3 + - - Ctrl+P - + + Clear Style 3 + - - Open Folder as Workspace... - 打开文件夹为工作区... + + + Clear All Styles + - - Go to line - 转跳到行 + + Remove Duplicate Lines + - - Line Number (1 - %1) - 行号(1 - %1) + + Remove Consecutive Duplicate Lines + - - Stop Recording - 停止录制 + + Sort Lines Ascending + - - Debug Info - + + Sort Lines Descending + - - New %1 - 用作新建空白文件的标题 - 新文件 %1 + + Sort Lines Ascending (Case-Insensitive) + - - Create File - 新建文件 + + Sort Lines Descending (Case-Insensitive) + - - <b>%1</b> does not exist. Do you want to create it? - <b>%1</b> 尚不存在,你想要新建一个吗? + + Sort Lines by Length Ascending + - - - Save file <b>%1</b>? - 保存文件 <b>%1</b>? + + Sort Lines by Length Descending + - - - Save File - 保存文件 + + Reverse Line Order + - - Open Folder as Workspace - 打开文件夹作为工作区 + + Go to line + 转跳到行 - - - Reload File - 重新加载文件 + + Line Number (1 - %1) + 行号(1 - %1) - - Are you sure you want to reload <b>%1</b>? Any unsaved changes will be lost. - 你确定要重新加载 <b>%1</b>?任何未保存的修改都会丢失。 + + Stop Recording + 停止录制 - - Administrator - + + Debug Info + - - <b>%1</b> has been modified by another program. Do you want to reload it? - + + New %1 + 新文件 %1 - - Read error - + + Create File + 新建文件 - - Write error - + + <b>%1</b> does not exist. Do you want to create it? + <b>%1</b> 尚不存在,你想要新建一个吗? - - Fatal error - + + + Save file <b>%1</b>? + 保存文件 <b>%1</b>? - - Resource error - + + + Save File + 保存文件 - - Open error - + + Open Folder as Workspace + 打开文件夹作为工作区 - - Abort error - + + + Reload File + 重新加载文件 - - Timeout error - + + Are you sure you want to reload <b>%1</b>? Any unsaved changes will be lost. + 你确定要重新加载 <b>%1</b>?任何未保存的修改都会丢失。 - - Unspecified error - + + Save a Copy As + 副本另存为 - - Remove error - + + + Rename + 重命名 - - Rename error - + + Name: + 宏名: - - Position error - + + Delete File + 删除文件 - - Resize error - + + Are you sure you want to move <b>%1</b> to the trash? + 你确定要将 <b>%1</b> 移至回收站? - - Permissions error - + + Error Deleting File + 删除文件时出错 - - Copy error - + + Something went wrong deleting <b>%1</b>? + 删除 <b>%1</b> 时出错了? - - Unknown error (%1) - + + Administrator + - - Error Saving File - 保存文件时出错 + + <b>%1</b> has been modified by another program. Do you want to reload it? + - - Save a Copy As - 副本另存为 + + Read error + - - - Rename - 重命名 + + Write error + - - Name: - 宏名: + + Fatal error + - - Delete File - 删除文件 + + Resource error + - - Are you sure you want to move <b>%1</b> to the trash? - 你确定要将 <b>%1</b> 移至回收站? + + Open error + - - Error Deleting File - 删除文件时出错 + + Abort error + - - Something went wrong deleting <b>%1</b>? - 删除 <b>%1</b> 时出错了? + + Timeout error + - - An error occurred when saving <b>%1</b><br><br>Error: %2 - 保存 <b>%1</b> 时发生了错误<br><br>错误:%2 + + Unspecified error + - - Zoom: %1% - + + Remove error + - - No updates are available at this time. - 本次无可用更新。 + + Rename error + - - - PreferencesDialog - - Preferences - 偏好设置 + + Position error + - - Show menu bar - + + Resize error + - - Show toolbar - + + Permissions error + - - Show status bar - + + Copy error + - - Restore previous session - + + Unknown error (%1) + - - Temporary files - + + Error Saving File + 保存文件时出错 - - Recenter find/replace dialog when opened - + + An error occurred when saving <b>%1</b><br><br>Error: %2 + 保存 <b>%1</b> 时发生了错误<br><br>错误:%2 - - Translation: - + + Zoom: %1% + - - Exit on last tab closed - - - - - Default Font - - - - - Font - + + No updates are available at this time. + 本次无可用更新。 + + + PreferencesDialog - - Font Size - + + Preferences + 偏好设置 - - pt - + + Show menu bar + - - Default Line Endings - + + Show toolbar + - - Highlight URLs - + + Show status bar + - - Show Line Numbers - + + Restore previous session + - - - Default Directory - + + Unsaved changes + 未保存的更改 - - Follow Current Document - + + Temporary files + - - Last Used Directory - + + Recenter find/replace dialog when opened + - - ... - + + Combine search results + 结合搜索结果 - - TextLabel - 文本标签 + + Translation: + - - An application restart is required to apply certain settings. - + + Exit on last tab closed + - Menu Bar - 菜单栏 + + Default Font + - Tool Bar - 工具栏 + + Font + - Status Bar - 状态栏 + + Font Size + - Restore Previous Session - 还原之前的会话 + + pt + - - Unsaved changes - 未保存的更改 + + Default Line Endings + - Temp Files - 临时文件们 + + Highlight URLs + - - Combine search results - 结合搜索结果 + + Show Line Numbers + - - Warning - 警告 + + + Default Directory + - - This feature is experimental and it should not be considered safe for critically important work. It may lead to possible data loss. Use at your own risk. - 本功能是实验性的。对于关键性的重要工作开启本功能并不安全,可能导致数据丢失,使用时风险自负。 + + Follow Current Document + - - System Default - + + Last Used Directory + - - Windows (CR LF) - Windows (CR LF) + + ... + - - Linux (LF) - + + TextLabel + 文本标签 - - Macintosh (CR) - Macintosh (CR) + + An application restart is required to apply certain settings. + - - <System Default> - + + Warning + 警告 - - - QObject - - List All Tabs - 列出所有标签页 + + This feature is experimental and it should not be considered safe for critically important work. It may lead to possible data loss. Use at your own risk. + 本功能是实验性的。对于关键性的重要工作开启本功能并不安全,可能导致数据丢失,使用时风险自负。 - - Detach Group - 脱离分组 + + System Default + - - Minimize - + + Windows (CR LF) + Windows (CR LF) - Close Active Tab - 关闭活动的标签页 + + Linux (LF) + - Close Group - 关闭分组 + + Macintosh (CR) + Macintosh (CR) - - Close Tab - 关闭标签页 + + <System Default> + - - + + QuickFindWidget - - Frame - 嵌入式搜索窗口,标题不会显示。 - + + Frame + - - Match case - 区分大小写 + + Find... + 查找... - - Aa - “区分大小写”按钮 - + + Match case + 区分大小写 - - Match whole word - 全词匹配 + + Aa + - - |A| - “全词匹配”按钮 - + + Match whole word + 全词匹配 - - Use regular expression - 使用正则表达式 + + |A| + - - . * - “正则表达式”按钮 - + + Use regular expression + 使用正则表达式 - - Alt+E - + + . * + - - Find... - 查找... + + Alt+E + - - %L1/%L2 - + + %L1/%L2 + - - + + SearchResultsDock - - Search Results - 搜索结果 - - - - Copy Results to Clipboard - - - - - Collapse All - 全部折叠 - - - - Expand All - 全部展开 - - - - Delete Entry - 删除条目 - - - - Delete All - 删除所有 - - - - Updater - - - Would you like to download the update now? - 你想要现在下载更新吗? - - - Would you like to download the update now? This is a mandatory update, exiting now will close the application - 你想要现在下载更新吗?这是一个强制性的更新,现在退出将关闭应用程序 - - - - Would you like to download the update now?<br />This is a mandatory update, exiting now will close the application. - - - - - <strong>Change log:</strong><br/>%1 - - - - - Version %1 of %2 has been released! - %1 版本的 %2 已经发布了! - - - - No updates are available for the moment - 暂时没有可用的更新 - - - - Congratulations! You are running the latest version of %1 - 恭喜!你已经在使用最新版本的 %1 - - - - ads::CAutoHideTab - - - Detach - 脱离 - - - - Pin To... - - - - - Top - - - - - Left - - - - - Right - - - - - Bottom - - - - - Unpin (Dock) - - - - - Close - 关闭 - - - - ads::CDockAreaTitleBar - - - Detach Group - 脱离分组 - - - - Detach - 脱离 - - - - - Unpin (Dock) - - - - - - Pin Group - - - - - Pin Group To... - - - - - Top - - - - - Left - - - - - Right - - - - - Bottom - - - - - - Minimize - - - - - - - Close - 关闭 - - - - - Close Group - 关闭分组 - - - - Close Other Groups - 关闭其他分组 - - - - Pin Active Tab (Press Ctrl to Pin Group) - - - - - Close Active Tab - 关闭活动的标签页 - - - - ads::CDockManager - - - Show View - 显示视图 - - - - ads::CDockWidgetTab - - - Detach - 脱离 - - - - Pin - - - - - Pin To... - - - - - Top - + + Search Results + 搜索结果 - - Left - + + Copy Results to Clipboard + - - Right - + + Collapse All + 全部折叠 - - Bottom - + + Expand All + 全部展开 - - Close - 关闭 + + Delete Entry + 删除条目 - - Close Others - 关闭其他 + + Delete All + 删除所有 - + diff --git a/i18n/NotepadNext_zh_TW.ts b/i18n/NotepadNext_zh_TW.ts index 16b5c07c0..df244d331 100644 --- a/i18n/NotepadNext_zh_TW.ts +++ b/i18n/NotepadNext_zh_TW.ts @@ -87,29 +87,29 @@ UTF-8 BOM - UTF-8 BOM + UTF-8 BOM UTF-16LE BOM - UTF-16LE BOM + UTF-16LE BOM UTF-16BE BOM - UTF-16BE BOM + UTF-16BE BOM OVR This is a short abbreviation to indicate characters will be replaced when typing - OVR + OVR INS This is a short abbreviation to indicate characters will be inserted when typing - INS + INS @@ -310,12 +310,12 @@ ... - ... + ... Sort by File Name - Sort by File Name + Sort by File Name @@ -481,14 +481,6 @@ 資料夾作為工作區 - - HexViewerDock - - - Hex Viewer - Hex 檢視器 - - LanguageInspectorDock @@ -742,7 +734,7 @@ - + Export As 匯出為 @@ -777,1270 +769,1310 @@ 行操作 - + Comment/Uncomment 註解/取消註解 - + Copy As 複製為 - + Encoding/Decoding 編碼/解碼 - + Search 搜尋 - + Bookmarks 書籤 - + Mark All Occurrences - Mark All Occurrences + Mark All Occurrences - + Clear Marks - Clear Marks + Clear Marks - + &View 檢視(&V) - + &Zoom 縮放(&Z) - + Show Symbol 顯示符號標記 - + Fold Level 折疊層級 - + Unfold Level 展開層級 - + Language 語言 - + Settings 設定 - + Macro 巨集 - + Help 幫助 - + Encoding 編碼 - + Main Tool Bar 主工具列 - + &New 新建(&N) - + Create a new file 建立新檔案 - + Ctrl+N Ctrl+N - + &Open... 開啟(&O)... - + Ctrl+O Ctrl+O - + &Save 儲存(&S) - + Save 儲存 - + Ctrl+S Ctrl+S - + E&xit 離開(&E) - + &Undo 復原(&U) - + Ctrl+Z Ctrl+Z - + &Redo 重做(&R) - + Ctrl+Y Ctrl+Y - + Cu&t 剪下(&t) - + Ctrl+X Ctrl+X - + &Copy 複製(&C) - + Ctrl+C Ctrl+C - + &Paste 貼上(&P) - + Ctrl+V Ctrl+V - + &Delete 刪除(&D) - + Del Del - + Copy Full Path 複製完整路徑 - + Copy File Name 複製檔名 - + Copy File Directory 複製資料夾路徑 - + &Close 關閉(&C) - + Close the current file 關閉目前檔案 - + Ctrl+W Ctrl+W - + Save &As... 另存新檔(&A)... - + Ctrl+Alt+S Ctrl+Alt+S - + Save a Copy As... 另存副本為... - + Sav&e All 全部儲存(&e) - + Ctrl+Shift+S Ctrl+Shift+S - + Select A&ll 全選(&A) - + Ctrl+A Ctrl+A - + Increase Indent 增加縮排 - + Decrease Indent 減少縮排 - + Rename... 重新命名... - + Re&load 重新載入(&l) - + Windows (CR LF) Windows (CR LF) - + Unix (LF) Unix (LF) - + Macintosh (CR) Macintosh (CR) - + UPPER CASE 轉換為大寫 - + Convert text to upper case 轉換文字為大寫 - + lower case 轉換為小寫 - + Convert text to lower case 轉換文字為小寫 - + Duplicate Current Line 複製並插入目前這行 - + Alt+Down Alt+Down - + Split Lines 分行處理 - + Join Lines 合併多行 - + Ctrl+J Ctrl+J - + Move Selected Lines Up 向下移動選中的行 - + Ctrl+Shift+Up Ctrl+Shift+Up - + Move Selected Lines Down 向上移動選中的行 - + Ctrl+Shift+Down Ctrl+Shift+Down - + Clos&e All 關閉所有(&e) - + Close All files 關閉所有檔案 - + Ctrl+Shift+W Ctrl+Shift+W - + Close All Except Active Document 關閉其他 - + Close All to the Left 關閉至左側 - + Close All to the Right 關閉至右側 - + Zoom &In 放大(&I) - + Ctrl++ Ctrl++ - + Zoom &Out 縮小(&O) - + Ctrl+- Ctrl+- - + Reset Zoom 重置縮放 - + Ctrl+0 Ctrl+0 - + About Qt 關於 Qt - + About Notepad Next 關於 Notepad Next - + Show Whitespace 顯示空格 - + Show End of Line 顯示行尾 - + Show All Characters 顯示所有字元 - + Show Indent Guide 顯示縮排指引 - + Show Wrap Symbol 顯示換行符號 - + Word Wrap 自動換行 - + Restore Recently Closed File 恢復最近關閉的檔案 - + Ctrl+Shift+T Ctrl+Shift+T - + Open All Recent Files 開啟所有最近的檔案 - + Clear Recent Files List 清除最近開啟的檔案清單 - + &Find... 尋找(&F)... - + Ctrl+F Ctrl+F - + Find in Files... 在檔案中尋找... - + Find &Next 尋找下一個(&N) - + F3 F3 - + Find &Previous 尋找上一個(&P) - + + Shift+F3 + + + + &Replace... 取代(&R)... - + Ctrl+H Ctrl+H - + Full Screen 全螢幕 - + F11 F11 - - + + Start Recording 開始錄製 - + Playback 播放 - + Ctrl+Shift+P Ctrl+Shift+P - + Save Current Recorded Macro... 儲存目前錄製的巨集... - + Run a Macro Multiple Times... 多次執行巨集... - + Preferences... 偏好設定... - + Quick Find 快速尋找 - + Ctrl+Alt+I Ctrl+Alt+I - + Select Next Instance 選擇下一個實例 - + Ctrl+D Ctrl+D - + Move to Trash... 移至垃圾桶... - + Move to Trash 移至垃圾桶 - + Check for Updates... 檢查更新... - + &Go to Line... 跳轉到行(&G)... - + Ctrl+G Ctrl+G - + Print... 列印... - + Ctrl+P Ctrl+P - + Open Folder as Workspace... 以工作區方式開啟資料夾... - + Toggle Single Line Comment 切換單行註解 - + Ctrl+/ Ctrl+/ - + Single Line Comment 單行註解 - + Ctrl+K Ctrl+K - + Single Line Uncomment 取消單行註解 - + Ctrl+Shift+K Ctrl+Shift+K - + Edit Macros... 編輯巨集... - + This is not currently implemented 此功能尚未實現 - + Column Mode... 列編輯模式... - + Export as HTML... 匯出為 HTML... - + Export as RTF... 匯出為 RTF... - + Copy as HTML 複製為 HTML - + Copy as RTF 複製為 RTF - + Base 64 Encode Base 64 編碼 - + URL Encode URL 編碼 - + Base 64 Decode Base 64 解碼 - + URL Decode URL 解碼 - + Copy URL 複製 URL - + Remove Empty Lines 移除空行 - - + + Show in Explorer 在檔案總管中顯示 - + Open %1 Here - Open %1 Here + Open %1 Here - + Toggle Bookmark 切換書籤 - + Ctrl+F2 Ctrl+F2 - + Next Bookmark 下一個書籤 - + F2 F2 - + Previous Bookmark 上一個書籤 - + Shift+F2 Shift+F2 - + Clear Bookmarks 清除書籤 - + Invert Bookmarks 反轉書籤 - + Next Tab 下一個分頁 - + Ctrl+Tab Ctrl+Tab - + Previous Tab 上一個分頁 - + Ctrl+Shift+Tab Ctrl+Shift+Tab - + Fold Level 1 摺疊層級 1 - + Alt+1 Alt+1 - + Fold Level 2 摺疊層級 2 - + Alt+2 Alt+2 - + Fold Level 3 摺疊層級 3 - + Alt+3 Alt+3 - + Fold Level 4 摺疊層級 4 - + Alt+4 Alt+4 - + Unfold Level 1 展開層級 1 - + Alt+Shift+1 Alt+Shift+1 - + Unfold Level 2 展開層級 2 - + Alt+Shift+2 Alt+Shift+2 - + Unfold Level 3 展開層級 3 - + Alt+Shift+3 Alt+Shift+3 - + Unfold Level 4 展開層級 4 - + Alt+Shift+4 Alt+Shift+4 - + Fold All 全部摺疊 - + Alt+0 Alt+0 - + Unfold All 全部展開 - + Alt+Shift+0 Alt+Shift+0 - + Fold Level 5 摺疊層級 5 - + Alt+5 Alt+5 - + Fold Level 6 摺疊層級 6 - + Alt+6 Alt+6 - + Fold Level 7 摺疊層級 7 - + Alt+7 Alt+7 - + Fold Level 8 摺疊層級 8 - + Alt+8 Alt+8 - + Fold Level 9 摺疊層級 9 - + Alt+9 Alt+9 - + Unfold Level 5 展開層級 5 - + Alt+Shift+5 Alt+Shift+5 - + Unfold Level 6 展開層級 6 - + Alt+Shift+6 Alt+Shift+6 - + Unfold Level 7 展開層級 7 - + Alt+Shift+7 Alt+Shift+7 - + Unfold Level 8 展開層級 8 - + Alt+Shift+8 Alt+Shift+8 - + Unfold Level 9 展開層級 9 - + Alt+Shift+9 Alt+Shift+9 - - + + Toggle Overtype - Toggle Overtype + Toggle Overtype - + Ins - Ins + Ins - + Debug Info... - Debug Info... + Debug Info... - + Cut Bookmarked Lines - Cut Bookmarked Lines + Cut Bookmarked Lines - + Copy Bookmarked Lines - Copy Bookmarked Lines + Copy Bookmarked Lines - + Delete Bookmarked Lines - Delete Bookmarked Lines + Delete Bookmarked Lines - + Mark Style 1 - Mark Style 1 + Mark Style 1 - + Mark Style 2 - Mark Style 2 + Mark Style 2 - + Clear Style 1 - Clear Style 1 + Clear Style 1 - + Clear Style 2 - Clear Style 2 + Clear Style 2 - + Mark Style 3 - Mark Style 3 + Mark Style 3 - + Clear Style 3 - Clear Style 3 + Clear Style 3 - - + + Clear All Styles - Clear All Styles + Clear All Styles - + Remove Duplicate Lines - Remove Duplicate Lines + Remove Duplicate Lines - + Remove Consecutive Duplicate Lines - Remove Consecutive Duplicate Lines + Remove Consecutive Duplicate Lines + + + + Sort Lines Ascending + + + + + Sort Lines Descending + + + + + Sort Lines Ascending (Case-Insensitive) + + + + + Sort Lines Descending (Case-Insensitive) + + + + + Sort Lines by Length Ascending + - + + Sort Lines by Length Descending + + + + + Reverse Line Order + + + + Go to line 跳轉到行 - + Line Number (1 - %1) 行號(1 - %1) - + Stop Recording 停止錄製 - + Debug Info - Debug Info + Debug Info - + New %1 新檔案 %1 - + Create File 建立檔案 - + <b>%1</b> does not exist. Do you want to create it? <b>%1</b> 目前不存在,你想要建立一個嗎? - - + + Save file <b>%1</b>? 儲存檔案 <b>%1</b>? - - + + Save File 儲存檔案 - + Open Folder as Workspace 以工作區方式開啟資料夾 - - + + Reload File 重新載入檔案 - + Are you sure you want to reload <b>%1</b>? Any unsaved changes will be lost. 你確定要重新載入 <b>%1</b>?任何未儲存的修改都會遺失。 - + Save a Copy As 副本另存為 - - + + Rename 重新命名 - + Name: 巨集名稱: - + Delete File 刪除檔案 - + Are you sure you want to move <b>%1</b> to the trash? 你確定要將 <b>%1</b> 移至垃圾桶? - + Error Deleting File 刪除檔案時出錯 - + Something went wrong deleting <b>%1</b>? 刪除 <b>%1</b> 時出錯了? - + Administrator Administrator - + <b>%1</b> has been modified by another program. Do you want to reload it? - <b>%1</b> has been modified by another program. Do you want to reload it? + <b>%1</b> has been modified by another program. Do you want to reload it? - + Read error - Read error + Read error - + Write error - Write error + Write error - + Fatal error - Fatal error + Fatal error - + Resource error - Resource error + Resource error - + Open error - Open error + Open error - + Abort error - Abort error + Abort error - + Timeout error - Timeout error + Timeout error - + Unspecified error - Unspecified error + Unspecified error - + Remove error - Remove error + Remove error - + Rename error - Rename error + Rename error - + Position error - Position error + Position error - + Resize error - Resize error + Resize error - + Permissions error - Permissions error + Permissions error - + Copy error - Copy error + Copy error - + Unknown error (%1) - Unknown error (%1) + Unknown error (%1) - + Error Saving File 儲存檔案時出錯 - + An error occurred when saving <b>%1</b><br><br>Error: %2 儲存 <b>%1</b> 時發生了錯誤<br><br>錯誤:%2 - + Zoom: %1% - Zoom: %1% + Zoom: %1% - + No updates are available at this time. 目前沒有可用的更新。 @@ -2085,7 +2117,7 @@ Recenter find/replace dialog when opened - Recenter find/replace dialog when opened + Recenter find/replace dialog when opened @@ -2125,38 +2157,38 @@ Default Line Endings - Default Line Endings + Default Line Endings Highlight URLs - Highlight URLs + Highlight URLs Show Line Numbers - Show Line Numbers + Show Line Numbers Default Directory - Default Directory + Default Directory Follow Current Document - Follow Current Document + Follow Current Document Last Used Directory - Last Used Directory + Last Used Directory ... - ... + ... @@ -2181,7 +2213,7 @@ System Default - System Default + System Default @@ -2191,7 +2223,7 @@ Linux (LF) - Linux (LF) + Linux (LF) @@ -2209,7 +2241,7 @@ Frame - Frame + Frame @@ -2267,7 +2299,7 @@ Copy Results to Clipboard - Copy Results to Clipboard + Copy Results to Clipboard diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 020a17e32..23d8d7985 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -192,6 +192,8 @@ qt_add_executable(NotepadNext widgets/StatusLabel.h Sorter.h Sorter.cpp ScintillaSorter.h ScintillaSorter.cpp + widgets/TabsQuickActionsBar.cpp + widgets/TabsQuickActionsBar.h ) set_target_properties(NotepadNext PROPERTIES diff --git a/src/DockedEditor.cpp b/src/DockedEditor.cpp index 9e6b4771c..f813f0471 100644 --- a/src/DockedEditor.cpp +++ b/src/DockedEditor.cpp @@ -62,6 +62,7 @@ DockedEditor::DockedEditor(QWidget *parent) : QObject(parent) ads::CDockManager::setConfigFlag(ads::CDockManager::FocusHighlighting, true); ads::CDockManager::setConfigFlag(ads::CDockManager::EqualSplitOnInsertion, true); ads::CDockManager::setConfigFlag(ads::CDockManager::MiddleMouseButtonClosesTab, true); + ads::CDockManager::setConfigFlag(ads::CDockManager::DockAreaHasTabsMenuButton, false); dockManager = new ads::CDockManager(parent); dockManager->setStyleSheet(""); diff --git a/src/ScintillaNext.cpp b/src/ScintillaNext.cpp index 2e59ddb9d..3a77bdaf9 100644 --- a/src/ScintillaNext.cpp +++ b/src/ScintillaNext.cpp @@ -456,7 +456,7 @@ bool ScintillaNext::rename(const QString &newFilePath) emit aboutToSave(); // Write out the buffer to the new path - if (saveCopyAs(newFilePath)) { + if (saveCopyAs(newFilePath) == QFileDevice::NoError) { // Remove the old file const QString oldPath = fileInfo.canonicalFilePath(); QFile::remove(oldPath); diff --git a/src/dialogs/MainWindow.cpp b/src/dialogs/MainWindow.cpp index ceddd706f..a8bf8f3eb 100644 --- a/src/dialogs/MainWindow.cpp +++ b/src/dialogs/MainWindow.cpp @@ -43,7 +43,6 @@ #include #include - #ifdef Q_OS_WIN #include #include @@ -74,6 +73,8 @@ #include "PreferencesDialog.h" #include "ColumnEditorDialog.h" +#include "TabsQuickActionsBar.h" + #include "QuickFindWidget.h" #include "EditorPrintPreviewRenderer.h" @@ -563,6 +564,7 @@ MainWindow::MainWindow(NotepadNextApplication *app) : // The action needs added to the window so it can be triggered via the keyboard addAction(ui->actionNextTab); + ui->actionNextTab->setShortcuts(ui->actionNextTab->shortcuts() << QKeySequence(Qt::CTRL | Qt::Key_PageDown)); connect(ui->actionNextTab, &QAction::triggered, this, [=]() { int index = dockedEditor->currentDockArea()->currentIndex(); int total = dockedEditor->currentDockArea()->dockWidgetsCount(); @@ -573,6 +575,7 @@ MainWindow::MainWindow(NotepadNextApplication *app) : // The action needs added to the window so it can be triggered via the keyboard addAction(ui->actionPreviousTab); + ui->actionPreviousTab->setShortcuts(ui->actionPreviousTab->shortcuts() << QKeySequence(Qt::CTRL | Qt::Key_PageUp)); connect(ui->actionPreviousTab, &QAction::triggered, this, [=]() { int index = dockedEditor->currentDockArea()->currentIndex(); int total = dockedEditor->currentDockArea()->dockWidgetsCount(); @@ -857,6 +860,29 @@ MainWindow::MainWindow(NotepadNextApplication *app) : mb.exec(); }); + tabsQuickActionsBar = new TabsQuickActionsBar(ui->menuBar); + ui->menuBar->setCornerWidget(tabsQuickActionsBar, Qt::TopRightCorner); + connect(tabsQuickActionsBar, &TabsQuickActionsBar::createNewTabClicked, this, &MainWindow::newFile); + connect(tabsQuickActionsBar, &TabsQuickActionsBar::closeCurrentTabClicked, this, &MainWindow::closeCurrentFile); + connect(tabsQuickActionsBar, &TabsQuickActionsBar::tabsMenuAboutToShow, this, [this](QMenu *editorsMenu) { + const auto editorsList = editors(); + + editorsMenu->clear(); + + for (const auto editor : editorsList) { + const auto iconPath = editor->isSavedToDisk() ? ":/icons/saved.png" : ":/icons/unsaved.png"; + const auto action = editorsMenu->addAction(QIcon(iconPath), editor->getName()); + + if (editor->isActiveWindow()) { + auto font = action->font(); + font.setBold(true); + action->setFont(font); + } + + connect(action, &QAction::triggered, this, [this, editor]() { switchToEditor(editor); }); + } + }); + #ifdef Q_OS_WIN connect(ui->actionShowInExplorer, &QAction::triggered, this, [=]() { QString filePath = QDir::toNativeSeparators(currentEditor()->getFileInfo().canonicalFilePath()); @@ -1480,7 +1506,7 @@ void MainWindow::renameFile() if (editor->isFile()) { const QString filter = app->getFileDialogFilter(); QString selectedFilter = app->getFileDialogFilterForLanguage(editor->languageName); - QString fileName = FileDialogHelpers::getSaveFileName(this, tr("Rename"), defaultDirectoryManager->getDefaultDirectory(), filter, &selectedFilter); + QString fileName = FileDialogHelpers::getSaveFileName(this, tr("Rename"), editor->getFilePath(), filter, &selectedFilter); if (fileName.isEmpty()) { return; diff --git a/src/dialogs/MainWindow.h b/src/dialogs/MainWindow.h index 5c510a51b..607cec6c2 100644 --- a/src/dialogs/MainWindow.h +++ b/src/dialogs/MainWindow.h @@ -42,6 +42,7 @@ class QuickFindWidget; class ZoomEventWatcher; class Converter; class DefaultDirectoryManager; +class TabsQuickActionsBar; class MainWindow : public QMainWindow { @@ -167,6 +168,8 @@ private slots: QActionGroup *languageActionGroup; + TabsQuickActionsBar *tabsQuickActionsBar = Q_NULLPTR; + //NppImporter *npp; MacroManager macroManager; diff --git a/src/icons/cross.svg b/src/icons/cross.svg new file mode 100644 index 000000000..eb194fd2e --- /dev/null +++ b/src/icons/cross.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/list_with_icons.svg b/src/icons/list_with_icons.svg new file mode 100644 index 000000000..9d3230f78 --- /dev/null +++ b/src/icons/list_with_icons.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/plus.svg b/src/icons/plus.svg new file mode 100644 index 000000000..12fd70c58 --- /dev/null +++ b/src/icons/plus.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/resources.qrc b/src/resources.qrc index 1b1192573..7e07d8241 100644 --- a/src/resources.qrc +++ b/src/resources.qrc @@ -44,5 +44,8 @@ icons/wrapindicator.png icons/audio-waveform.svg icons/paintbrush.svg + icons/cross.svg + icons/plus.svg + icons/list_with_icons.svg diff --git a/src/widgets/TabsQuickActionsBar.cpp b/src/widgets/TabsQuickActionsBar.cpp new file mode 100644 index 000000000..9e76a830f --- /dev/null +++ b/src/widgets/TabsQuickActionsBar.cpp @@ -0,0 +1,95 @@ +/* + * This file is part of Notepad Next. + * Copyright 2026 Justin Dailey + * + * Notepad Next is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Notepad Next is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Notepad Next. If not, see . + */ + + +#include +#include +#include +#include + +#include + +#include "TabsQuickActionsBar.h" + +namespace +{ + constexpr QLatin1StringView IconPlusPath(":/icons/plus.svg"); + constexpr QLatin1StringView IconListPath(":/icons/list_with_icons.svg"); + constexpr QLatin1StringView IconCrossPath(":/icons/cross.svg"); +} + +TabsQuickActionsBar::TabsQuickActionsBar(const Buttons &visibileButtons, QWidget *parent) + : QToolBar(parent) +{ + createNewTabAction = addAction(QIcon(IconPlusPath), ""); + createNewTabAction->setToolTip(tr("Create a new file")); + + showTabsMenuAction = addAction(QIcon(IconListPath), ""); + showTabsMenuAction->setToolTip(tr("Show opened files list")); + + const auto tabsMenu = new QMenu(this); + showTabsMenuAction->setMenu(tabsMenu); + + closeCurrentTabAction = addAction(QIcon(IconCrossPath), ""); + closeCurrentTabAction->setToolTip(tr("Close the current file")); + + const auto iconSize = qApp->style()->pixelMetric(QStyle::PM_SmallIconSize); + setIconSize({ iconSize, iconSize }); + setStyleSheet( + "QToolBar { padding: 0px; margin: 0px; }" + "QToolButton::menu-indicator { image: none; }" + ); + + // Trick, cause addWidget will lose some style things + const auto toolButton = qobject_cast(widgetForAction(showTabsMenuAction)); + if (toolButton) toolButton->setPopupMode(QToolButton::InstantPopup); + + connect(createNewTabAction, &QAction::triggered, this, &TabsQuickActionsBar::createNewTabClicked); + connect(tabsMenu, &QMenu::aboutToShow, this, [this, tabsMenu]() { emit tabsMenuAboutToShow(tabsMenu); }); + connect(closeCurrentTabAction, &QAction::triggered, this, &TabsQuickActionsBar::closeCurrentTabClicked); + + setVisibileButtons(visibileButtons); +} + +void TabsQuickActionsBar::setVisibileButtons(const Buttons &buttons) +{ + if (visibileButtons == buttons) + return; + + visibileButtons = buttons; + + const std::map mapping { + { createNewTabAction, CreateNewTab }, + { showTabsMenuAction, ShowTabsMenu }, + { closeCurrentTabAction, CloseCurrentTab } + }; + + for (const auto &pair : mapping) + pair.first->setVisible(buttons.testFlag(pair.second)); + + emit visibileButtonsChanged(buttons); +} + +void TabsQuickActionsBar::setVisibileButton(Button button, bool on) +{ + const auto ¤tOptions = visibileButtons; + setVisibileButtons( + on ? (currentOptions | button) + : (currentOptions & ~button) + ); +} diff --git a/src/widgets/TabsQuickActionsBar.h b/src/widgets/TabsQuickActionsBar.h new file mode 100644 index 000000000..3dc386215 --- /dev/null +++ b/src/widgets/TabsQuickActionsBar.h @@ -0,0 +1,78 @@ +/* + * This file is part of Notepad Next. + * Copyright 2026 Justin Dailey + * + * Notepad Next is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Notepad Next is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Notepad Next. If not, see . + */ + + +#ifndef TABSQUICKACTIONSBAR_H +#define TABSQUICKACTIONSBAR_H + +#include + +class TabsQuickActionsBar : public QToolBar +{ + Q_OBJECT + + Q_PROPERTY( + Buttons visibileButtons + READ getVisibileButtons + WRITE setVisibileButtons + NOTIFY visibileButtonsChanged + ) + +public: + enum Button { + None = 0x00, + CreateNewTab = 0x01, + ShowTabsMenu = 0x02, + CloseCurrentTab = 0x04, + + All = CreateNewTab | + ShowTabsMenu | + CloseCurrentTab + }; + + Q_FLAG(Button) + Q_DECLARE_FLAGS(Buttons, Button) + +signals: + void createNewTabClicked(); + // Tabs menu must be filled with actual data from outside + void tabsMenuAboutToShow(QMenu *menu); + void closeCurrentTabClicked(); + + void visibileButtonsChanged(const TabsQuickActionsBar::Buttons &visibileButtons); + +public: + inline TabsQuickActionsBar(QWidget *parent = nullptr) : TabsQuickActionsBar(Button::All, parent) { } + explicit TabsQuickActionsBar(const Buttons &visibileButtons = Button::All, QWidget *parent = nullptr); + virtual ~TabsQuickActionsBar() = default; + + inline Buttons getVisibileButtons() const { return visibileButtons; } + void setVisibileButtons(const Buttons &buttons); + void setVisibileButton(Button button, bool on = true); + +private: + Buttons visibileButtons = TabsQuickActionsBar::All; + + QAction *createNewTabAction = nullptr; + QAction *showTabsMenuAction = nullptr; + QAction *closeCurrentTabAction = nullptr; +}; + +Q_DECLARE_OPERATORS_FOR_FLAGS(TabsQuickActionsBar::Buttons); + +#endif // TABSQUICKACTIONSBAR_H diff --git a/thirdparty/lexilla/.gitattributes b/thirdparty/lexilla/.gitattributes index 3a03d4384..b0c04428a 100644 --- a/thirdparty/lexilla/.gitattributes +++ b/thirdparty/lexilla/.gitattributes @@ -40,6 +40,7 @@ **.diff text **.erl text **.f text +**.forth text **.gd text **.gui text **.iss text diff --git a/thirdparty/lexilla/CONTRIBUTING b/thirdparty/lexilla/CONTRIBUTING index 01870a9a7..da3b357c2 100644 --- a/thirdparty/lexilla/CONTRIBUTING +++ b/thirdparty/lexilla/CONTRIBUTING @@ -3,6 +3,9 @@ Lexilla is on GitHub at https://github.com/ScintillaOrg/lexilla Bugs, fixes and features should be posted to the Issue Tracker https://github.com/ScintillaOrg/lexilla/issues +AI-generated code and issues are often low quality and difficult to understand +so should not be posted. + Patches should include test cases. Add a test case file in lexilla/test/examples/ and run the test program in lexilla/test. diff --git a/thirdparty/lexilla/cppcheck.suppress b/thirdparty/lexilla/cppcheck.suppress index b9f67485d..f1119f460 100644 --- a/thirdparty/lexilla/cppcheck.suppress +++ b/thirdparty/lexilla/cppcheck.suppress @@ -102,7 +102,6 @@ knownConditionTrueFalse:lexilla/lexers/LexHex.cxx constVariable:lexilla/lexers/LexHollywood.cxx variableScope:lexilla/lexers/LexInno.cxx constVariableReference:lexilla/lexers/LexInno.cxx -constParameterReference:lexilla/lexers/LexJSON.cxx constParameterPointer:lexilla/lexers/LexJulia.cxx constParameterReference:lexilla/lexers/LexJulia.cxx knownConditionTrueFalse:lexilla/lexers/LexJulia.cxx @@ -113,7 +112,6 @@ constParameterReference:lexilla/lexers/LexLaTeX.cxx constParameterReference:lexilla/lexers/LexLisp.cxx constParameterPointer:lexilla/lexers/LexMagik.cxx constParameterReference:lexilla/lexers/LexMagik.cxx -constParameterReference:lexilla/lexers/LexMarkdown.cxx constParameterPointer:lexilla/lexers/LexMatlab.cxx constParameterReference:lexilla/lexers/LexMatlab.cxx unreadVariable:lexilla/lexers/LexMatlab.cxx @@ -240,7 +238,6 @@ constVariableReference:lexilla/lexers/LexMSSQL.cxx constVariableReference:lexilla/lexers/LexNsis.cxx constVariableReference:lexilla/lexers/LexOpal.cxx constVariableReference:lexilla/lexers/LexPOV.cxx -constVariableReference:lexilla/lexers/LexPascal.cxx constVariableReference:lexilla/lexers/LexPB.cxx constVariableReference:lexilla/lexers/LexPowerPro.cxx constVariableReference:lexilla/lexers/LexPS.cxx diff --git a/thirdparty/lexilla/doc/Lexilla.html b/thirdparty/lexilla/doc/Lexilla.html index 96fb5d24f..244a1f7cc 100644 --- a/thirdparty/lexilla/doc/Lexilla.html +++ b/thirdparty/lexilla/doc/Lexilla.html @@ -9,7 +9,7 @@ - +