fix: typos
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
parent
a1053a4c5a
commit
a0e03c41c0
@ -213,7 +213,7 @@ QVariant WorldList::data(const QModelIndex &index, int role) const
|
|||||||
|
|
||||||
case InfoColumn:
|
case InfoColumn:
|
||||||
if (world.isSymLinkUnder(instDirPath())) {
|
if (world.isSymLinkUnder(instDirPath())) {
|
||||||
return tr("This world is symbolicly linked from elsewhere.");
|
return tr("This world is symbolically linked from elsewhere.");
|
||||||
}
|
}
|
||||||
if (world.isMoreThanOneHardLink()) {
|
if (world.isMoreThanOneHardLink()) {
|
||||||
return tr("\nThis world is hard linked elsewhere.");
|
return tr("\nThis world is hard linked elsewhere.");
|
||||||
@ -237,11 +237,11 @@ QVariant WorldList::data(const QModelIndex &index, int role) const
|
|||||||
{
|
{
|
||||||
if (column == InfoColumn) {
|
if (column == InfoColumn) {
|
||||||
if (world.isSymLinkUnder(instDirPath())) {
|
if (world.isSymLinkUnder(instDirPath())) {
|
||||||
return tr("Warning: This world is symbolicly linked from elsewhere. Editing it will also change the origonal") +
|
return tr("Warning: This world is symbolically linked from elsewhere. Editing it will also change the original") +
|
||||||
tr("\nCanonical Path: %1").arg(world.canonicalFilePath());
|
tr("\nCanonical Path: %1").arg(world.canonicalFilePath());
|
||||||
}
|
}
|
||||||
if (world.isMoreThanOneHardLink()) {
|
if (world.isMoreThanOneHardLink()) {
|
||||||
return tr("Warning: This world is hard linked elsewhere. Editing it will also change the origonal");
|
return tr("Warning: This world is hard linked elsewhere. Editing it will also change the original");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return world.folderName();
|
return world.folderName();
|
||||||
|
@ -104,12 +104,12 @@ QVariant ModFolderModel::data(const QModelIndex &index, int role) const
|
|||||||
if (column == NAME_COLUMN) {
|
if (column == NAME_COLUMN) {
|
||||||
if (at(row)->isSymLinkUnder(instDirPath())) {
|
if (at(row)->isSymLinkUnder(instDirPath())) {
|
||||||
return m_resources[row]->internal_id() +
|
return m_resources[row]->internal_id() +
|
||||||
tr("\nWarning: This resource is symbolicly linked from elsewhere. Editing it will also change the origonal") +
|
tr("\nWarning: This resource is symbolically linked from elsewhere. Editing it will also change the original") +
|
||||||
tr("\nCanonical Path: %1").arg(at(row)->fileinfo().canonicalFilePath());
|
tr("\nCanonical Path: %1").arg(at(row)->fileinfo().canonicalFilePath());
|
||||||
}
|
}
|
||||||
if (at(row)->isMoreThanOneHardLink()) {
|
if (at(row)->isMoreThanOneHardLink()) {
|
||||||
return m_resources[row]->internal_id() +
|
return m_resources[row]->internal_id() +
|
||||||
tr("\nWarning: This resource is hard linked elsewhere. Editing it will also change the origonal");
|
tr("\nWarning: This resource is hard linked elsewhere. Editing it will also change the original");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return m_resources[row]->internal_id();
|
return m_resources[row]->internal_id();
|
||||||
|
@ -424,12 +424,12 @@ QVariant ResourceFolderModel::data(const QModelIndex& index, int role) const
|
|||||||
if (column == NAME_COLUMN) {
|
if (column == NAME_COLUMN) {
|
||||||
if (at(row).isSymLinkUnder(instDirPath())) {
|
if (at(row).isSymLinkUnder(instDirPath())) {
|
||||||
return m_resources[row]->internal_id() +
|
return m_resources[row]->internal_id() +
|
||||||
tr("\nWarning: This resource is symbolicly linked from elsewhere. Editing it will also change the origonal") +
|
tr("\nWarning: This resource is symbolically linked from elsewhere. Editing it will also change the original") +
|
||||||
tr("\nCanonical Path: %1").arg(at(row).fileinfo().canonicalFilePath());;
|
tr("\nCanonical Path: %1").arg(at(row).fileinfo().canonicalFilePath());;
|
||||||
}
|
}
|
||||||
if (at(row).isMoreThanOneHardLink()) {
|
if (at(row).isMoreThanOneHardLink()) {
|
||||||
return m_resources[row]->internal_id() +
|
return m_resources[row]->internal_id() +
|
||||||
tr("\nWarning: This resource is hard linked elsewhere. Editing it will also change the origonal");
|
tr("\nWarning: This resource is hard linked elsewhere. Editing it will also change the original");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -96,12 +96,12 @@ QVariant ResourcePackFolderModel::data(const QModelIndex& index, int role) const
|
|||||||
if (column == NAME_COLUMN) {
|
if (column == NAME_COLUMN) {
|
||||||
if (at(row)->isSymLinkUnder(instDirPath())) {
|
if (at(row)->isSymLinkUnder(instDirPath())) {
|
||||||
return m_resources[row]->internal_id() +
|
return m_resources[row]->internal_id() +
|
||||||
tr("\nWarning: This resource is symbolicly linked from elsewhere. Editing it will also change the origonal") +
|
tr("\nWarning: This resource is symbolically linked from elsewhere. Editing it will also change the original") +
|
||||||
tr("\nCanonical Path: %1").arg(at(row)->fileinfo().canonicalFilePath());;
|
tr("\nCanonical Path: %1").arg(at(row)->fileinfo().canonicalFilePath());;
|
||||||
}
|
}
|
||||||
if (at(row)->isMoreThanOneHardLink()) {
|
if (at(row)->isMoreThanOneHardLink()) {
|
||||||
return m_resources[row]->internal_id() +
|
return m_resources[row]->internal_id() +
|
||||||
tr("\nWarning: This resource is hard linked elsewhere. Editing it will also change the origonal");
|
tr("\nWarning: This resource is hard linked elsewhere. Editing it will also change the original");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return m_resources[row]->internal_id();
|
return m_resources[row]->internal_id();
|
||||||
|
@ -305,7 +305,7 @@
|
|||||||
<item row="2" column="0">
|
<item row="2" column="0">
|
||||||
<widget class="QCheckBox" name="symbolicLinksCheckbox">
|
<widget class="QCheckBox" name="symbolicLinksCheckbox">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Use symbloic links</string>
|
<string>Use symbolic links</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Use symbolic links instead of copying files.</string>
|
<string>Use symbolic links instead of copying files.</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user