forked from osmocom/wireshark
Use an ellipsis character instead of three dots.
The OS X Human Interface Guidelines at https://developer.apple.com/library/mac/documentation/UserExperience/Conceptual/OSXHIGuidelines/TerminologyWording.html#//apple_ref/doc/uid/20000957-CH15-SW3 says: "Be sure to create the ellipsis character using the key combination Option-; (Option-semicolon). This ensures that an assistive app can provide the correct interpretation of the character to a disabled user. If you use three period characters to simulate an ellipsis, many assistive apps will be unable to make sense of them. Also, three period characters and an ellipsis don't look the same because the periods are spaced differently than the points of an ellipsis." The Windows desktop applications guidelines has a section on ellipses: https://msdn.microsoft.com/en-us/library/windows/desktop/dn742478.aspx but doesn't specify the a single glyph vs three dots. The GNOME HIG at https://developer.gnome.org/hig/stable/typography.html.en says "Take Advantage of Unicode" then specifically says to use U+2026 HORIZONTAL ELLIPSIS. Remove the ellipsis from "Find Next" and "Find Previous". Neither requires user interaction. Change-Id: I0e6c28bb8b3a84b242731e2ca96f1a6f6f42c303 Reviewed-on: https://code.wireshark.org/review/9833 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
This commit is contained in:
parent
c7680878db
commit
d8d3c52f1e
|
@ -40,10 +40,11 @@
|
|||
#include "../log.h"
|
||||
#include "../register.h"
|
||||
|
||||
#include "ui/text_import_scanner.h"
|
||||
#include "ui/last_open_dir.h"
|
||||
#include "ui/alert_box.h"
|
||||
#include "ui/last_open_dir.h"
|
||||
#include "ui/help_url.h"
|
||||
#include "ui/text_import_scanner.h"
|
||||
#include "ui/utf8_entities.h"
|
||||
|
||||
#include "file.h"
|
||||
#include "wsutil/file_util.h"
|
||||
|
@ -187,13 +188,13 @@ AboutDialog::AboutDialog(QWidget *) :
|
|||
/* pers conf */
|
||||
message += about_folders_row("Personal configuration",
|
||||
gchar_free_to_qstring(get_persconffile_path("", FALSE)),
|
||||
"<i>dfilters</i>, <i>preferences</i>, <i>ethers</i>, ...");
|
||||
"<i>dfilters</i>, <i>preferences</i>, <i>ethers</i>, " UTF8_HORIZONTAL_ELLIPSIS);
|
||||
|
||||
/* global conf */
|
||||
constpath = get_datafile_dir();
|
||||
if (constpath != NULL) {
|
||||
message += about_folders_row("Global configuration", constpath,
|
||||
"<i>dfilters</i>, <i>preferences</i>, <i>manuf</i>, ...");
|
||||
"<i>dfilters</i>, <i>preferences</i>, <i>manuf</i>, " UTF8_HORIZONTAL_ELLIPSIS);
|
||||
}
|
||||
|
||||
/* system */
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
<item>
|
||||
<widget class="QToolButton" name="nameResolutionPreferencesToolButton">
|
||||
<property name="text">
|
||||
<string>Name Resolution Preferences...</string>
|
||||
<string>Name Resolution Preferences…</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
|
|
@ -114,7 +114,7 @@
|
|||
<string>Show and hide interfaces, add comments, and manage pipes and remote interfaces.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Manage Interfaces...</string>
|
||||
<string>Manage Interfaces…</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -256,7 +256,7 @@
|
|||
<item row="0" column="2">
|
||||
<widget class="QPushButton" name="browseButton">
|
||||
<property name="text">
|
||||
<string>Browse...</string>
|
||||
<string>Browse…</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -292,7 +292,7 @@
|
|||
<string><html><head/><body><p>Instead of using a single capture file, multiple files will be created.</p><p>The generated file names will contain an incrementing number and the start time of the capture.</p></body></html></string>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string>Create a new file automatically after...</string>
|
||||
<string>Create a new file automatically after…</string>
|
||||
</property>
|
||||
<property name="flat">
|
||||
<bool>true</bool>
|
||||
|
@ -621,7 +621,7 @@ PLEASE NOTE: One option MUST be selected.</string>
|
|||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string>Stop capture automatically after...</string>
|
||||
<string>Stop capture automatically after…</string>
|
||||
</property>
|
||||
<property name="flat">
|
||||
<bool>true</bool>
|
||||
|
|
|
@ -62,11 +62,11 @@ const QString table_name_ = QObject::tr("Conversation");
|
|||
ConversationDialog::ConversationDialog(QWidget &parent, CaptureFile &cf, int cli_proto_id, const char *filter) :
|
||||
TrafficTableDialog(parent, cf, filter, table_name_)
|
||||
{
|
||||
follow_bt_ = buttonBox()->addButton(tr("Follow Stream..."), QDialogButtonBox::ActionRole);
|
||||
follow_bt_ = buttonBox()->addButton(tr("Follow Stream" UTF8_HORIZONTAL_ELLIPSIS), QDialogButtonBox::ActionRole);
|
||||
follow_bt_->setToolTip(tr("Follow a TCP or UDP stream."));
|
||||
connect(follow_bt_, SIGNAL(clicked()), this, SLOT(followStream()));
|
||||
|
||||
graph_bt_ = buttonBox()->addButton(tr("Graph..."), QDialogButtonBox::ActionRole);
|
||||
graph_bt_ = buttonBox()->addButton(tr("Graph" UTF8_HORIZONTAL_ELLIPSIS), QDialogButtonBox::ActionRole);
|
||||
graph_bt_->setToolTip(tr("Graph a TCP conversation."));
|
||||
connect(graph_bt_, SIGNAL(clicked()), this, SLOT(graphTcp()));
|
||||
|
||||
|
|
|
@ -103,7 +103,7 @@
|
|||
<item>
|
||||
<widget class="QPushButton" name="severitiesPushButton">
|
||||
<property name="text">
|
||||
<string>Show...</string>
|
||||
<string>Show…</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
|
|
@ -21,6 +21,9 @@
|
|||
|
||||
#include <extcap_argument.h>
|
||||
#include <extcap_argument_file.h>
|
||||
|
||||
#include "ui/utf8_entities.h"
|
||||
|
||||
#include <QObject>
|
||||
#include <QWidget>
|
||||
#include <QLabel>
|
||||
|
@ -48,7 +51,7 @@ QWidget * ExtcapArgumentFileSelection::createEditor(QWidget * parent)
|
|||
QMargins margins = editLayout->contentsMargins();
|
||||
editLayout->setContentsMargins(0, 0, 0, margins.bottom());
|
||||
fileWidget->setContentsMargins(margins.left(), margins.right(), 0, margins.bottom());
|
||||
QPushButton * button = new QPushButton("...", fileWidget);
|
||||
QPushButton * button = new QPushButton(UTF8_HORIZONTAL_ELLIPSIS, fileWidget);
|
||||
|
||||
textBox = new QLineEdit(_default->toString(), parent);
|
||||
textBox->setReadOnly(true);
|
||||
|
|
|
@ -101,7 +101,7 @@ FollowStreamDialog::FollowStreamDialog(QWidget &parent, CaptureFile &cf, follow_
|
|||
b_print_ = ui->buttonBox->addButton(tr("Print"), QDialogButtonBox::ActionRole);
|
||||
connect(b_print_, SIGNAL(clicked()), this, SLOT(printStream()));
|
||||
|
||||
b_save_ = ui->buttonBox->addButton(tr("Save as..."), QDialogButtonBox::ActionRole);
|
||||
b_save_ = ui->buttonBox->addButton(tr("Save as" UTF8_HORIZONTAL_ELLIPSIS), QDialogButtonBox::ActionRole);
|
||||
connect(b_save_, SIGNAL(clicked()), this, SLOT(saveAs()));
|
||||
|
||||
connect(ui->buttonBox, SIGNAL(helpRequested()), this, SLOT(helpButton()));
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
<string>Browse for text file to import</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Browse...</string>
|
||||
<string>Browse…</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
|
|
@ -197,7 +197,7 @@ IOGraphDialog::IOGraphDialog(QWidget &parent, CaptureFile &cf) :
|
|||
QCustomPlot *iop = ui->ioPlot;
|
||||
|
||||
QPushButton *save_bt = ui->buttonBox->button(QDialogButtonBox::Save);
|
||||
save_bt->setText(tr("Save As..."));
|
||||
save_bt->setText(tr("Save As" UTF8_HORIZONTAL_ELLIPSIS));
|
||||
|
||||
stat_timer_ = new QTimer(this);
|
||||
connect(stat_timer_, SIGNAL(timeout()), this, SLOT(updateStatistics()));
|
||||
|
|
|
@ -260,7 +260,7 @@ LBMUIMFlowDialog::LBMUIMFlowDialog(QWidget * parent, capture_file * cfile) :
|
|||
m_sequence_analysis.any_addr = TRUE;
|
||||
|
||||
QPushButton * save_bt = m_ui->buttonBox->button(QDialogButtonBox::Save);
|
||||
save_bt->setText(tr("Save As..."));
|
||||
save_bt->setText(tr("Save As" UTF8_HORIZONTAL_ELLIPSIS));
|
||||
|
||||
// XXX Use recent settings instead
|
||||
if (parent)
|
||||
|
|
|
@ -158,14 +158,14 @@ MainStatusBar::MainStatusBar(QWidget *parent) :
|
|||
info_status_.pushText(ready_msg, STATUS_CTX_MAIN);
|
||||
packets_bar_update();
|
||||
|
||||
action = ctx_menu_.addAction(tr("Manage Profiles..."));
|
||||
action = ctx_menu_.addAction(tr("Manage Profiles" UTF8_HORIZONTAL_ELLIPSIS));
|
||||
action->setData(ProfileDialog::ShowProfiles);
|
||||
connect(action, SIGNAL(triggered()), this, SLOT(manageProfile()));
|
||||
ctx_menu_.addSeparator();
|
||||
action = ctx_menu_.addAction(tr("New..."));
|
||||
action = ctx_menu_.addAction(tr("New" UTF8_HORIZONTAL_ELLIPSIS));
|
||||
action->setData(ProfileDialog::NewProfile);
|
||||
connect(action, SIGNAL(triggered()), this, SLOT(manageProfile()));
|
||||
edit_action_ = ctx_menu_.addAction(tr("Edit..."));
|
||||
edit_action_ = ctx_menu_.addAction(tr("Edit" UTF8_HORIZONTAL_ELLIPSIS));
|
||||
edit_action_->setData(ProfileDialog::EditCurrentProfile);
|
||||
connect(edit_action_, SIGNAL(triggered()), this, SLOT(manageProfile()));
|
||||
delete_action_ = ctx_menu_.addAction(tr("Delete"));
|
||||
|
|
|
@ -325,7 +325,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||
|
||||
#ifdef HAVE_SOFTWARE_UPDATE
|
||||
QAction *update_sep = main_ui_->menuHelp->insertSeparator(main_ui_->actionHelpAbout);
|
||||
QAction *update_action = new QAction(tr("Check for Updates..."), main_ui_->menuHelp);
|
||||
QAction *update_action = new QAction(tr("Check for Updates" UTF8_HORIZONTAL_ELLIPSIS), main_ui_->menuHelp);
|
||||
main_ui_->menuHelp->insertAction(update_sep, update_action);
|
||||
connect(update_action, SIGNAL(triggered()), this, SLOT(checkForUpdates()));
|
||||
#endif
|
||||
|
@ -1423,7 +1423,7 @@ bool MainWindow::testCaptureFileClose(bool from_quit, QString &before_what) {
|
|||
QPushButton *discardButton;
|
||||
|
||||
msg_dialog.setIcon(QMessageBox::Question);
|
||||
msg_dialog.setWindowTitle("Unsaved packets...");
|
||||
msg_dialog.setWindowTitle("Unsaved packets" UTF8_HORIZONTAL_ELLIPSIS);
|
||||
/* This file has unsaved data or there's a capture in
|
||||
progress; ask the user whether to save the data. */
|
||||
if (capture_file_.capFile()->is_tempfile) {
|
||||
|
|
|
@ -942,7 +942,7 @@
|
|||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Go to Packet...</string>
|
||||
<string>Go to Packet…</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Go to specified packet</string>
|
||||
|
@ -953,7 +953,7 @@
|
|||
</action>
|
||||
<action name="actionFileMerge">
|
||||
<property name="text">
|
||||
<string>&Merge...</string>
|
||||
<string>&Merge…</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Merge one or more files</string>
|
||||
|
@ -961,7 +961,7 @@
|
|||
</action>
|
||||
<action name="actionFileImportFromHexDump">
|
||||
<property name="text">
|
||||
<string>&Import from Hex Dump...</string>
|
||||
<string>&Import from Hex Dump…</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Import a file</string>
|
||||
|
@ -983,7 +983,7 @@
|
|||
</action>
|
||||
<action name="actionFileSaveAs">
|
||||
<property name="text">
|
||||
<string>Save &As...</string>
|
||||
<string>Save &As…</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Save as a different file</string>
|
||||
|
@ -994,7 +994,7 @@
|
|||
</action>
|
||||
<action name="actionFileExportPackets">
|
||||
<property name="text">
|
||||
<string>Export Specified Packets...</string>
|
||||
<string>Export Specified Packets…</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Export specified packets</string>
|
||||
|
@ -1002,7 +1002,7 @@
|
|||
</action>
|
||||
<action name="actionFileExportPacketBytes">
|
||||
<property name="text">
|
||||
<string>Export Packet &Bytes...</string>
|
||||
<string>Export Packet &Bytes…</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+H</string>
|
||||
|
@ -1010,12 +1010,12 @@
|
|||
</action>
|
||||
<action name="actionFileExportSSLSessionKeys">
|
||||
<property name="text">
|
||||
<string>Export SSL Session Keys...</string>
|
||||
<string>Export SSL Session Keys…</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionFilePrint">
|
||||
<property name="text">
|
||||
<string>&Print...</string>
|
||||
<string>&Print…</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+P</string>
|
||||
|
@ -1052,7 +1052,7 @@
|
|||
</action>
|
||||
<action name="actionCaptureOptions">
|
||||
<property name="text">
|
||||
<string>&Options...</string>
|
||||
<string>&Options…</string>
|
||||
</property>
|
||||
<property name="iconText">
|
||||
<string>Options</string>
|
||||
|
@ -1069,7 +1069,7 @@
|
|||
</action>
|
||||
<action name="actionCaptureCaptureFilters">
|
||||
<property name="text">
|
||||
<string>Capture &Filters...</string>
|
||||
<string>Capture &Filters…</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Capture filters</string>
|
||||
|
@ -1096,42 +1096,42 @@
|
|||
</action>
|
||||
<action name="actionFileExportAsPlainText">
|
||||
<property name="text">
|
||||
<string>As Plain &Text...</string>
|
||||
<string>As Plain &Text…</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionFileExportAsCSV">
|
||||
<property name="text">
|
||||
<string>As CSV...</string>
|
||||
<string>As CSV…</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionFileExportAsCArrays">
|
||||
<property name="text">
|
||||
<string>As "C" Arrays...</string>
|
||||
<string>As "C" Arrays…</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionFileExportAsPSML">
|
||||
<property name="text">
|
||||
<string>As PSML XML...</string>
|
||||
<string>As PSML XML…</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionFileExportAsPDML">
|
||||
<property name="text">
|
||||
<string>As PDML XML...</string>
|
||||
<string>As PDML XML…</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionFileExportObjectsHTTP">
|
||||
<property name="text">
|
||||
<string>&HTTP...</string>
|
||||
<string>&HTTP…</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionFileExportObjectsDICOM">
|
||||
<property name="text">
|
||||
<string>&DICOM...</string>
|
||||
<string>&DICOM…</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionFileExportObjectsSMB">
|
||||
<property name="text">
|
||||
<string>&SMB...</string>
|
||||
<string>&SMB…</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionEditCopyDescription">
|
||||
|
@ -1191,34 +1191,34 @@
|
|||
</action>
|
||||
<action name="actionAnalyzeAAFAndSelected">
|
||||
<property name="text">
|
||||
<string>... &and Selected</string>
|
||||
<string>… &and Selected</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>... and Selected</string>
|
||||
<string>… and Selected</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionAnalyzeAAFOrSelected">
|
||||
<property name="text">
|
||||
<string>... &or Selected</string>
|
||||
<string>… &or Selected</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>... or Selected</string>
|
||||
<string>… or Selected</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionAnalyzeAAFAndNotSelected">
|
||||
<property name="text">
|
||||
<string>... a&nd not Selected</string>
|
||||
<string>… a&nd not Selected</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>... and not Selected</string>
|
||||
<string>… and not Selected</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionAnalyzeAAFOrNotSelected">
|
||||
<property name="text">
|
||||
<string>... o&r not Selected</string>
|
||||
<string>… o&r not Selected</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>... or not Selected</string>
|
||||
<string>… or not Selected</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionAnalyzePAFSelected">
|
||||
|
@ -1236,39 +1236,39 @@
|
|||
</action>
|
||||
<action name="actionAnalyzePAFAndSelected">
|
||||
<property name="text">
|
||||
<string>... &and Selected</string>
|
||||
<string>… &and Selected</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>... and Selected</string>
|
||||
<string>… and Selected</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionAnalyzePAFOrSelected">
|
||||
<property name="text">
|
||||
<string>... &or Selected</string>
|
||||
<string>… &or Selected</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>... or Selected</string>
|
||||
<string>… or Selected</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionAnalyzePAFAndNotSelected">
|
||||
<property name="text">
|
||||
<string>... a&nd not Selected</string>
|
||||
<string>… a&nd not Selected</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>... and not Selected</string>
|
||||
<string>… and not Selected</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionAnalyzePAFOrNotSelected">
|
||||
<property name="text">
|
||||
<string>... o&r not Selected</string>
|
||||
<string>… o&r not Selected</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>... or not Selected</string>
|
||||
<string>… or not Selected</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionAnalyzeDisplayFilters">
|
||||
<property name="text">
|
||||
<string>Display Filters...</string>
|
||||
<string>Display Filters…</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionAnalyzeDisplayFilterMacros">
|
||||
|
@ -1276,7 +1276,7 @@
|
|||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Display Filter &Macros...</string>
|
||||
<string>Display Filter &Macros…</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionAnalyzeCreateAColumn">
|
||||
|
@ -1292,7 +1292,7 @@
|
|||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>&Find Packet...</string>
|
||||
<string>&Find Packet…</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Find a packet</string>
|
||||
|
@ -1303,7 +1303,7 @@
|
|||
</action>
|
||||
<action name="actionEditFindNext">
|
||||
<property name="text">
|
||||
<string>Find Ne&xt...</string>
|
||||
<string>Find Ne&xt</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Find the next packet</string>
|
||||
|
@ -1314,7 +1314,7 @@
|
|||
</action>
|
||||
<action name="actionEditFindPrevious">
|
||||
<property name="text">
|
||||
<string>Find Pre&vious...</string>
|
||||
<string>Find Pre&vious</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Find the previous packet</string>
|
||||
|
@ -1457,7 +1457,7 @@
|
|||
</action>
|
||||
<action name="actionEditTimeShift">
|
||||
<property name="text">
|
||||
<string>Time Shift...</string>
|
||||
<string>Time Shift…</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Shift or change packet timestamps</string>
|
||||
|
@ -1468,7 +1468,7 @@
|
|||
</action>
|
||||
<action name="actionEditPacketComment">
|
||||
<property name="text">
|
||||
<string>Packet Comment...</string>
|
||||
<string>Packet Comment…</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Add or change a packet comment</string>
|
||||
|
@ -1479,7 +1479,7 @@
|
|||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Configuration Profiles...</string>
|
||||
<string>Configuration Profiles…</string>
|
||||
</property>
|
||||
<property name="iconText">
|
||||
<string>Configuration profiles</string>
|
||||
|
@ -1496,7 +1496,7 @@
|
|||
</action>
|
||||
<action name="actionEditPreferences">
|
||||
<property name="text">
|
||||
<string>&Preferences...</string>
|
||||
<string>&Preferences…</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Manage Wireshark's preferences</string>
|
||||
|
@ -1776,7 +1776,7 @@
|
|||
</action>
|
||||
<action name="actionAnalyzeDecodeAs">
|
||||
<property name="text">
|
||||
<string>Decode &As...</string>
|
||||
<string>Decode &As…</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Change the way packets are dissected</string>
|
||||
|
@ -1872,7 +1872,7 @@
|
|||
</action>
|
||||
<action name="actionFileExportPDU">
|
||||
<property name="text">
|
||||
<string>Export PDUs to File...</string>
|
||||
<string>Export PDUs to File…</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionStatisticsIOGraph">
|
||||
|
@ -2348,7 +2348,7 @@
|
|||
</action>
|
||||
<action name="actionViewColoringRules">
|
||||
<property name="text">
|
||||
<string>&Coloring Rules...</string>
|
||||
<string>&Coloring Rules…</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Edit the packet list coloring rules.</string>
|
||||
|
@ -2406,10 +2406,10 @@
|
|||
</action>
|
||||
<action name="actionDisplayFilterExpression">
|
||||
<property name="text">
|
||||
<string>&Expression...</string>
|
||||
<string>&Expression…</string>
|
||||
</property>
|
||||
<property name="iconText">
|
||||
<string>Expression...</string>
|
||||
<string>Expression…</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Add an expression to the display filter.</string>
|
||||
|
@ -2541,7 +2541,7 @@
|
|||
</action>
|
||||
<action name="actionViewColorizeNewConversationRule">
|
||||
<property name="text">
|
||||
<string>New Conversation Rule...</string>
|
||||
<string>New Conversation Rule…</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Create a new coloring rule based on this conversation.</string>
|
||||
|
@ -2576,7 +2576,7 @@
|
|||
</action>
|
||||
<action name="actionAnalyzeEnabledProtocols">
|
||||
<property name="text">
|
||||
<string>Enable Protocols...</string>
|
||||
<string>Enable Protocols…</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Enable and disable specific protocols</string>
|
||||
|
|
|
@ -70,7 +70,7 @@
|
|||
<item row="1" column="2">
|
||||
<widget class="QPushButton" name="foStyleSpecifiedPushButton">
|
||||
<property name="text">
|
||||
<string>Browse...</string>
|
||||
<string>Browse…</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
|
|
@ -698,7 +698,7 @@ void MainWindow::captureFileSaveStarted(const QString &file_path)
|
|||
{
|
||||
QFileInfo file_info(file_path);
|
||||
main_ui_->statusBar->popFileStatus();
|
||||
main_ui_->statusBar->pushFileStatus(tr("Saving %1...").arg(file_info.baseName()));
|
||||
main_ui_->statusBar->pushFileStatus(tr("Saving %1" UTF8_HORIZONTAL_ELLIPSIS).arg(file_info.baseName()));
|
||||
}
|
||||
|
||||
void MainWindow::filterExpressionsChanged()
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
#include "ui/iface_lists.h"
|
||||
#include "ui/preference_utils.h"
|
||||
#include "ui/ui_util.h"
|
||||
#include "ui/utf8_entities.h"
|
||||
|
||||
#include "qt_ui_utils.h"
|
||||
|
||||
|
@ -799,7 +800,7 @@ QWidget* PathChooserDelegate::createEditor(QWidget *parent, const QStyleOptionVi
|
|||
QPushButton *pb = new QPushButton(path_editor_);
|
||||
|
||||
path_le_->setText(item->text(col_p_pipe_));
|
||||
pb->setText(QString(tr("Browse...")));
|
||||
pb->setText(QString(tr("Browse" UTF8_HORIZONTAL_ELLIPSIS)));
|
||||
|
||||
hbox->setContentsMargins(0, 0, 0, 0);
|
||||
hbox->addWidget(path_le_);
|
||||
|
|
|
@ -28,6 +28,8 @@
|
|||
|
||||
#include <epan/prefs-int.h>
|
||||
|
||||
#include "ui/utf8_entities.h"
|
||||
|
||||
#include <QAbstractButton>
|
||||
#include <QButtonGroup>
|
||||
#include <QCheckBox>
|
||||
|
@ -185,7 +187,7 @@ pref_show(pref_t *pref, gpointer layout_ptr)
|
|||
QLabel *label = new QLabel(pref->title);
|
||||
label->setToolTip(tooltip);
|
||||
hb->addWidget(label);
|
||||
QPushButton *uat_pb = new QPushButton(QObject::tr("Edit..."));
|
||||
QPushButton *uat_pb = new QPushButton(QObject::tr("Edit" UTF8_HORIZONTAL_ELLIPSIS));
|
||||
uat_pb->setToolTip(tooltip);
|
||||
uat_pb->setProperty(pref_prop_, qVariantFromValue(pref));
|
||||
hb->addWidget(uat_pb);
|
||||
|
@ -212,7 +214,7 @@ pref_show(pref_t *pref, gpointer layout_ptr)
|
|||
)
|
||||
.arg(path_le->style()->subElementRect(QStyle::SE_CheckBoxContents, &style_opt).left()));
|
||||
hb->addWidget(path_le);
|
||||
QPushButton *path_pb = new QPushButton(QObject::tr("Browse..."));
|
||||
QPushButton *path_pb = new QPushButton(QObject::tr("Browse" UTF8_HORIZONTAL_ELLIPSIS));
|
||||
path_pb->setProperty(pref_prop_, qVariantFromValue(pref));
|
||||
hb->addWidget(path_pb);
|
||||
hb->addSpacerItem(new QSpacerItem(1, 1, QSizePolicy::Expanding, QSizePolicy::Minimum));
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
<item>
|
||||
<widget class="QToolButton" name="modulePreferencesToolButton">
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
<string>…</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
|
|
@ -22,6 +22,8 @@
|
|||
#include "print_dialog.h"
|
||||
#include <ui_print_dialog.h>
|
||||
|
||||
#include "ui/utf8_entities.h"
|
||||
|
||||
#include <QPrintDialog>
|
||||
#include <QPageSetupDialog>
|
||||
#include <QPainter>
|
||||
|
@ -73,7 +75,7 @@ PrintDialog::PrintDialog(QWidget *parent, capture_file *cf) :
|
|||
cur_printer_(NULL),
|
||||
cur_painter_(NULL),
|
||||
preview_(new QPrintPreviewWidget(&printer_)),
|
||||
print_bt_(new QPushButton(tr("&Print..."))),
|
||||
print_bt_(new QPushButton(tr("&Print" UTF8_HORIZONTAL_ELLIPSIS))),
|
||||
cap_file_(cf)
|
||||
{
|
||||
if (!cf) done(QDialog::Rejected); // ...or assert?
|
||||
|
@ -115,7 +117,7 @@ PrintDialog::PrintDialog(QWidget *parent, capture_file *cf) :
|
|||
pd_ui_->rangeGroupBox->initRange(&print_args_.range);
|
||||
|
||||
pd_ui_->buttonBox->addButton(print_bt_, QDialogButtonBox::ActionRole);
|
||||
pd_ui_->buttonBox->addButton(tr("Page &Setup..."), QDialogButtonBox::ResetRole);
|
||||
pd_ui_->buttonBox->addButton(tr("Page &Setup" UTF8_HORIZONTAL_ELLIPSIS), QDialogButtonBox::ResetRole);
|
||||
print_bt_->setDefault(true);
|
||||
|
||||
connect(preview_, SIGNAL(paintRequested(QPrinter*)), this, SLOT(paintPreview(QPrinter*)));
|
||||
|
|
|
@ -247,7 +247,7 @@ RtpStreamDialog::RtpStreamDialog(QWidget &parent, CaptureFile &cf) :
|
|||
find_reverse_button_->setToolTip(ui->actionFindReverse->toolTip());
|
||||
prepare_button_ = ui->buttonBox->addButton(ui->actionPrepareFilter->text(), QDialogButtonBox::ApplyRole);
|
||||
prepare_button_->setToolTip(ui->actionPrepareFilter->toolTip());
|
||||
export_button_ = ui->buttonBox->addButton(tr("Export..."), QDialogButtonBox::ApplyRole);
|
||||
export_button_ = ui->buttonBox->addButton(tr("Export" UTF8_HORIZONTAL_ELLIPSIS), QDialogButtonBox::ApplyRole);
|
||||
export_button_->setToolTip(ui->actionExportAsRtpDump->toolTip());
|
||||
copy_button_ = ui->buttonBox->addButton(tr("Copy"), QDialogButtonBox::ApplyRole);
|
||||
analyze_button_ = ui->buttonBox->addButton(ui->actionAnalyze->text(), QDialogButtonBox::ApplyRole);
|
||||
|
|
|
@ -121,7 +121,7 @@ SequenceDialog::SequenceDialog(QWidget &parent, CaptureFile &cf, seq_analysis_in
|
|||
}
|
||||
|
||||
QPushButton *save_bt = ui->buttonBox->button(QDialogButtonBox::Save);
|
||||
save_bt->setText(tr("Save As..."));
|
||||
save_bt->setText(tr("Save As" UTF8_HORIZONTAL_ELLIPSIS));
|
||||
|
||||
// XXX Use recent settings instead
|
||||
resize(parent.width(), parent.height() * 4 / 5);
|
||||
|
|
|
@ -89,7 +89,7 @@ TapParameterDialog::TapParameterDialog(QWidget &parent, CaptureFile &cf, int hel
|
|||
button = ui->buttonBox->addButton(tr("Copy"), QDialogButtonBox::ActionRole);
|
||||
connect(button, SIGNAL(clicked()), this, SLOT(on_actionCopyToClipboard_triggered()));
|
||||
|
||||
button = ui->buttonBox->addButton(tr("Save as..."), QDialogButtonBox::ActionRole);
|
||||
button = ui->buttonBox->addButton(tr("Save as" UTF8_HORIZONTAL_ELLIPSIS), QDialogButtonBox::ActionRole);
|
||||
connect(button, SIGNAL(clicked()), this, SLOT(on_actionSaveAs_triggered()));
|
||||
|
||||
if (help_topic_ < 1) {
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
</action>
|
||||
<action name="actionSaveAs">
|
||||
<property name="text">
|
||||
<string>Save as...</string>
|
||||
<string>Save as…</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Save the displayed data in various formats</string>
|
||||
|
|
|
@ -208,7 +208,7 @@ TCPStreamDialog::TCPStreamDialog(QWidget *, capture_file *cf, tcp_graph_type gra
|
|||
toggleTracerStyle(true);
|
||||
|
||||
QPushButton *save_bt = ui->buttonBox->button(QDialogButtonBox::Save);
|
||||
save_bt->setText(tr("Save As..."));
|
||||
save_bt->setText(tr("Save As" UTF8_HORIZONTAL_ELLIPSIS));
|
||||
|
||||
connect(sp, SIGNAL(mousePress(QMouseEvent*)), this, SLOT(graphClicked(QMouseEvent*)));
|
||||
connect(sp, SIGNAL(mouseMove(QMouseEvent*)), this, SLOT(mouseMoved(QMouseEvent*)));
|
||||
|
|
|
@ -93,7 +93,7 @@
|
|||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>...then set packet</string>
|
||||
<string>…then set packet</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
|
Loading…
Reference in New Issue