mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2025-08-04 04:22:25 -07:00
general: fix spelling mistakes
This commit is contained in:
@@ -110,7 +110,7 @@ private:
|
||||
/**
|
||||
* Handles button presses to execute functions assigned in yuzu_key_callbacks.
|
||||
* yuzu_key_callbacks contains specialized functions for the buttons in the window footer
|
||||
* that can be overriden by games to achieve desired functionality.
|
||||
* that can be overridden by games to achieve desired functionality.
|
||||
*
|
||||
* @tparam HIDButton The list of buttons contained in yuzu_key_callbacks
|
||||
*/
|
||||
|
@@ -76,7 +76,7 @@ void CompatDB::Submit() {
|
||||
compatibility_Graphical->addButton(ui->radioButton_Audio_Minor, 1);
|
||||
compatibility_Audio->addButton(ui->radioButton_Audio_No, 2);
|
||||
|
||||
const int compatiblity = static_cast<int>(CalculateCompatibility());
|
||||
const int compatibility = static_cast<int>(CalculateCompatibility());
|
||||
|
||||
switch ((static_cast<CompatDBPage>(currentId()))) {
|
||||
case CompatDBPage::Intro:
|
||||
@@ -113,9 +113,9 @@ void CompatDB::Submit() {
|
||||
break;
|
||||
case CompatDBPage::Final:
|
||||
back();
|
||||
LOG_INFO(Frontend, "Compatibility Rating: {}", compatiblity);
|
||||
LOG_INFO(Frontend, "Compatibility Rating: {}", compatibility);
|
||||
telemetry_session.AddField(Common::Telemetry::FieldType::UserFeedback, "Compatibility",
|
||||
compatiblity);
|
||||
compatibility);
|
||||
|
||||
button(NextButton)->setEnabled(false);
|
||||
button(NextButton)->setText(tr("Submitting"));
|
||||
|
@@ -34,7 +34,7 @@ public:
|
||||
|
||||
/**
|
||||
* Populates the hotkey list widget using data from the provided registry.
|
||||
* Called everytime the Configure dialog is opened.
|
||||
* Called every time the Configure dialog is opened.
|
||||
* @param registry The HotkeyRegistry whose data is used to populate the list.
|
||||
*/
|
||||
void Populate(const HotkeyRegistry& registry);
|
||||
|
@@ -224,7 +224,7 @@ private:
|
||||
|
||||
/// Bottom row is where console wide settings are held, and its "owned" by the parent
|
||||
/// ConfigureInput widget. On show, add this widget to the main layout. This will change the
|
||||
/// parent of the widget to this widget (but thats fine).
|
||||
/// parent of the widget to this widget (but that's fine).
|
||||
QWidget* bottom_row;
|
||||
|
||||
Core::HID::HIDCore& hid_core;
|
||||
|
@@ -43,7 +43,7 @@ public:
|
||||
// Handles emulated controller events
|
||||
void ControllerUpdate(Core::HID::ControllerTriggerType type);
|
||||
|
||||
// Updates input on sheduled interval
|
||||
// Updates input on scheduled interval
|
||||
void UpdateInput();
|
||||
|
||||
protected:
|
||||
|
@@ -153,7 +153,7 @@ void LoadingScreen::OnLoadProgress(VideoCore::LoadCallbackStage stage, std::size
|
||||
}
|
||||
|
||||
QString estimate;
|
||||
// If theres a drastic slowdown in the rate, then display an estimate
|
||||
// If there's a drastic slowdown in the rate, then display an estimate
|
||||
if (now - previous_time > milliseconds{50} || slow_shader_compile_start) {
|
||||
if (!slow_shader_compile_start) {
|
||||
slow_shader_start = steady_clock::now();
|
||||
|
@@ -274,7 +274,7 @@ static QString PrettyProductName() {
|
||||
|
||||
#ifdef _WIN32
|
||||
static void OverrideWindowsFont() {
|
||||
// Qt5 chooses these fonts on Windows and they have fairly ugly alphanumeric/cyrllic characters
|
||||
// Qt5 chooses these fonts on Windows and they have fairly ugly alphanumeric/cyrillic characters
|
||||
// Asking to use "MS Shell Dlg 2" gives better other chars while leaving the Chinese Characters.
|
||||
const QString startup_font = QApplication::font().family();
|
||||
const QStringList ugly_fonts = {QStringLiteral("SimSun"), QStringLiteral("PMingLiU")};
|
||||
@@ -3596,7 +3596,7 @@ bool GMainWindow::CreateShortcut(const std::string& shortcut_path, const std::st
|
||||
const std::string& command, const std::string& arguments,
|
||||
const std::string& categories, const std::string& keywords) {
|
||||
#if defined(__linux__) || defined(__FreeBSD__)
|
||||
// This desktop file template was writting referencing
|
||||
// This desktop file template was writing referencing
|
||||
// https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.0.html
|
||||
std::string shortcut_contents{};
|
||||
shortcut_contents.append("[Desktop Entry]\n");
|
||||
|
@@ -278,7 +278,7 @@ void Lobby::OnRefreshLobby() {
|
||||
}
|
||||
}
|
||||
|
||||
// Reenable the refresh button and resize the columns
|
||||
// Re-enable the refresh button and resize the columns
|
||||
ui->refresh_list->setEnabled(true);
|
||||
ui->refresh_list->setText(tr("Refresh List"));
|
||||
ui->room_list->header()->stretchLastSection();
|
||||
|
@@ -112,7 +112,7 @@ void MultiplayerState::SetNotificationStatus(NotificationStatus status) {
|
||||
|
||||
void MultiplayerState::UpdateNotificationStatus() {
|
||||
switch (notification_status) {
|
||||
case NotificationStatus::Unitialized:
|
||||
case NotificationStatus::Uninitialized:
|
||||
status_icon->setPixmap(QIcon::fromTheme(QStringLiteral("disconnected")).pixmap(16));
|
||||
status_text->setText(tr("Not Connected. Click here to find a room!"));
|
||||
leave_room->setEnabled(false);
|
||||
|
@@ -23,7 +23,7 @@ class MultiplayerState : public QWidget {
|
||||
|
||||
public:
|
||||
enum class NotificationStatus {
|
||||
Unitialized,
|
||||
Uninitialized,
|
||||
Disconnected,
|
||||
Connected,
|
||||
Notification,
|
||||
@@ -98,7 +98,7 @@ private:
|
||||
QAction* show_room;
|
||||
std::shared_ptr<Core::AnnounceMultiplayerSession> announce_multiplayer_session;
|
||||
Network::RoomMember::State current_state = Network::RoomMember::State::Uninitialized;
|
||||
NotificationStatus notification_status = NotificationStatus::Unitialized;
|
||||
NotificationStatus notification_status = NotificationStatus::Uninitialized;
|
||||
bool has_mod_perms = false;
|
||||
Network::RoomMember::CallbackHandle<Network::RoomMember::State> state_callback_handle;
|
||||
Network::RoomMember::CallbackHandle<Network::RoomMember::Error> error_callback_handle;
|
||||
|
@@ -86,7 +86,7 @@ bool StartupChecks(const char* arg0, bool* has_broken_vulkan, bool perform_vulka
|
||||
return false;
|
||||
}
|
||||
|
||||
// Wait until the processs exits and get exit code from it
|
||||
// Wait until the process exits and get exit code from it
|
||||
WaitForSingleObject(process_info.hProcess, INFINITE);
|
||||
DWORD exit_code = STILL_ACTIVE;
|
||||
const int err = GetExitCodeProcess(process_info.hProcess, &exit_code);
|
||||
|
@@ -71,7 +71,7 @@ private:
|
||||
const QString& left_button_text, const QString& right_button_text,
|
||||
Qt::Alignment alignment);
|
||||
|
||||
/// Moves and resizes the dialog to be fully overlayed on top of the parent window.
|
||||
/// Moves and resizes the dialog to be fully overlaid on top of the parent window.
|
||||
void MoveAndResizeWindow();
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user