finish making capitalization consistent (hopefully)

This commit is contained in:
Arisotura 2021-08-08 14:11:48 +02:00
parent 1ed86e4345
commit 6540e98f2e
2 changed files with 32 additions and 32 deletions

View File

@ -34,7 +34,7 @@ QString IntToHex(u64 num)
QString QStringBytes(u64 num) QString QStringBytes(u64 num)
{ {
return (QString::number(num) + " Bytes"); return (QString::number(num) + " bytes");
} }
ROMInfoDialog* ROMInfoDialog::currentDlg = nullptr; ROMInfoDialog* ROMInfoDialog::currentDlg = nullptr;
@ -51,7 +51,7 @@ ROMInfoDialog::ROMInfoDialog(QWidget* parent) : QDialog(parent), ui(new Ui::ROMI
ui->iconImage->setPixmap(QPixmap::fromImage(iconImage)); ui->iconImage->setPixmap(QPixmap::fromImage(iconImage));
if (NDSCart::Banner.Version == 0x103) if (NDSCart::Banner.Version == 0x103)
{ {
u32 animatedIconData[32 * 32 * 64] = {0}; u32 animatedIconData[32 * 32 * 64] = {0};
Frontend::AnimatedROMIcon(NDSCart::Banner.DSiIcon, NDSCart::Banner.DSiPalette, NDSCart::Banner.DSiSequence, animatedIconData, animatedSequence); Frontend::AnimatedROMIcon(NDSCart::Banner.DSiIcon, NDSCart::Banner.DSiPalette, NDSCart::Banner.DSiSequence, animatedIconData, animatedSequence);
@ -87,7 +87,7 @@ ROMInfoDialog::ROMInfoDialog(QWidget* parent) : QDialog(parent), ui(new Ui::ROMI
ui->chineseTitle->setText(QString::fromUtf16(NDSCart::Banner.ChineseTitle)); ui->chineseTitle->setText(QString::fromUtf16(NDSCart::Banner.ChineseTitle));
else else
ui->chineseTitle->setText("None"); ui->chineseTitle->setText("None");
if (NDSCart::Banner.Version > 2) if (NDSCart::Banner.Version > 2)
ui->koreanTitle->setText(QString::fromUtf16(NDSCart::Banner.KoreanTitle)); ui->koreanTitle->setText(QString::fromUtf16(NDSCart::Banner.KoreanTitle));
else else
@ -107,12 +107,12 @@ ROMInfoDialog::ROMInfoDialog(QWidget* parent) : QDialog(parent), ui(new Ui::ROMI
ui->arm7EntryAddress->setText(IntToHex(NDSCart::Header.ARM7EntryAddress)); ui->arm7EntryAddress->setText(IntToHex(NDSCart::Header.ARM7EntryAddress));
ui->arm7RamAddress->setText(IntToHex(NDSCart::Header.ARM7RAMAddress)); ui->arm7RamAddress->setText(IntToHex(NDSCart::Header.ARM7RAMAddress));
ui->arm7Size->setText(QStringBytes(NDSCart::Header.ARM7Size)); ui->arm7Size->setText(QStringBytes(NDSCart::Header.ARM7Size));
ui->fntOffset->setText(IntToHex(NDSCart::Header.FNTOffset)); ui->fntOffset->setText(IntToHex(NDSCart::Header.FNTOffset));
ui->fntSize->setText(QStringBytes(NDSCart::Header.FNTSize)); ui->fntSize->setText(QStringBytes(NDSCart::Header.FNTSize));
ui->fatOffset->setText(IntToHex(NDSCart::Header.FATOffset)); ui->fatOffset->setText(IntToHex(NDSCart::Header.FATOffset));
ui->fatSize->setText(QStringBytes(NDSCart::Header.FATSize)); ui->fatSize->setText(QStringBytes(NDSCart::Header.FATSize));
} }
ROMInfoDialog::~ROMInfoDialog() ROMInfoDialog::~ROMInfoDialog()

View File

@ -17,7 +17,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>ROM Info - melonDS</string> <string>ROM info - melonDS</string>
</property> </property>
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout">
<item row="2" column="0"> <item row="2" column="0">
@ -40,7 +40,7 @@
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>Japanese Title:</string> <string>Japanese title:</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -59,7 +59,7 @@
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>English Title:</string> <string>English title:</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -78,7 +78,7 @@
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>French Title:</string> <string>French title:</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -97,7 +97,7 @@
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>German Title:</string> <string>German title:</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -116,7 +116,7 @@
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>Italian Title:</string> <string>Italian title:</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -135,7 +135,7 @@
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>Spanish Title:</string> <string>Spanish title:</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -154,7 +154,7 @@
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>Chinese Title:</string> <string>Chinese title:</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -173,7 +173,7 @@
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>Korean Title:</string> <string>Korean title:</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -201,7 +201,7 @@
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>ARM9 ROM Offset: </string> <string>ARM9 ROM offset: </string>
</property> </property>
</widget> </widget>
</item> </item>
@ -220,7 +220,7 @@
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>ARM9 Entry Address:</string> <string>ARM9 entry address:</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -239,7 +239,7 @@
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>ARM9 RAM Address:</string> <string>ARM9 RAM address:</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -258,7 +258,7 @@
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>ARM9 Size:</string> <string>ARM9 size:</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -277,7 +277,7 @@
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>ARM7 ROM Offset: </string> <string>ARM7 ROM offset: </string>
</property> </property>
</widget> </widget>
</item> </item>
@ -296,7 +296,7 @@
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>ARM7 Entry Address:</string> <string>ARM7 entry address:</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -315,7 +315,7 @@
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>ARM7 RAM Address:</string> <string>ARM7 RAM address:</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -334,7 +334,7 @@
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>ARM7 Size:</string> <string>ARM7 size:</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -368,7 +368,7 @@
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>FNT Offset:</string> <string>FNT offset:</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -387,7 +387,7 @@
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>FNT Size:</string> <string>FNT size:</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -406,7 +406,7 @@
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>FAT Offset:</string> <string>FAT offset:</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -425,7 +425,7 @@
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>FAT Size:</string> <string>FAT size:</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -448,7 +448,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="title"> <property name="title">
<string>General Info</string> <string>General info</string>
</property> </property>
<layout class="QFormLayout" name="formLayout_3"> <layout class="QFormLayout" name="formLayout_3">
<item row="0" column="0"> <item row="0" column="0">
@ -459,7 +459,7 @@
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>Game Title:</string> <string>Game title:</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -478,7 +478,7 @@
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>Game Code:</string> <string>Game code:</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -497,7 +497,7 @@
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>Maker Code:</string> <string>Maker code:</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -516,7 +516,7 @@
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>Card Size:</string> <string>Card size:</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -784,7 +784,7 @@
<item row="1" column="1"> <item row="1" column="1">
<widget class="QPushButton" name="saveIconButton"> <widget class="QPushButton" name="saveIconButton">
<property name="text"> <property name="text">
<string>Save Icon</string> <string>Save icon</string>
</property> </property>
</widget> </widget>
</item> </item>