diff --git a/i18n/nw_pt.qm b/i18n/nw_pt.qm
index 2c2dab3a..3e38fa2e 100644
Binary files a/i18n/nw_pt.qm and b/i18n/nw_pt.qm differ
diff --git a/i18n/nw_pt.ts b/i18n/nw_pt.ts
index f2f620c4..258650ec 100644
--- a/i18n/nw_pt.ts
+++ b/i18n/nw_pt.ts
@@ -1013,57 +1013,57 @@
Novo projeto criado...
-
+ The project is already open by another instance of novelWriter, and is therefore locked. Override lock and continue anyway?O projeto já está aberto em outra instância do novelWriter, e portanto foi bloqueado. Deseja sobrescrever o bloqueio e continuar mesmo assim?
-
+ Note: If the program or the computer previously crashed, the lock can safely be overridden. If, however, another instance of novelWriter has the project open, overriding the lock may corrupt the project, and is not recommended.Nota: Se o programa ou o computador sofreu uma falha anteriormente, o bloqueio pode ser sobrescrito com segurança. Se, no entanto, outra instância do novelWriter esteja com o projeto aberto, sobrescrever o bloqueio pode corromper o projeto e não é recomendado.
-
+ Text filesArquivos de texto
-
+ novelWriter filesArquivos do novelWriter
-
+ IndexingIndexando
-
+ Unknown itemItem desconhecido
-
+ InformationInformação
-
+ WarningAlerta
-
+ ErrorErro
-
+ This is a bug!Isto é um bug!
-
+ Internal ErrorErro Interno
@@ -1098,7 +1098,7 @@
Fechar o projeto atual?
-
+ Changes are saved automatically.As alterações serão salvas automaticamente.
@@ -1113,82 +1113,82 @@
Criar cópia de segurança do projeto atual?
-
+ Project LockedProjeto Bloqueado
-
+ Markdown filesArquivos Markdown
-
+ All filesTodos os Arquivos
-
+ Import FileImportar Arquivo
-
+ Could not read file. The file must be an existing text file.Não foi possível ler o arquivo. O arquivo deve ser um arquivo de texto existente.
-
+ Please open a document to import the text file into.Por favor, abra um documento para importar o text nele.
-
+ Import DocumentImportar Documento
-
+ Importing the file will overwrite the current content of the document. Do you want to proceed?Importar o arquivo vai sobrescrever o conteúdo atual do documento. Você deseja continuar?
-
+ The project index has been successfully rebuilt.O índice do projeto foi reconstruído com sucesso.
-
+ Save novelWriter ProjectSalvar o Projeto do novelWriter
-
+ ExitSair
-
+ Do you want to exit novelWriter?Você deseja realmente sair do novelWriter?
-
+ {0} ({1})
-
+ {0}: '{1}'
-
+ {0}: {1}
-
+ Indexing completed in {0} msIndexação completa em {0} ms
@@ -1218,15 +1218,15 @@
Configurações do Projeto
-
- The project was locked by the computer '{computerName}' ({osName} {osVersion}), last active on {activeTime}
- O projeto foi bloqueado pelo computador '{computerName}' ({osName} {osVersion}), ativo pela última vez em {activeTime}
-
-
-
+ The project index is outdated or broken. Rebuilding index.O índice do projeto está desatualizado ou quebrado. Reconstruíndo o indice.
+
+
+ The project was locked by the computer '{0}' ({1} {2}), last active on {3}.
+ O projeto foi bloqueado pelo computador '{0}' ({1} {2}), ativo pela última vez em {3}.
+ GuiMainMenu
diff --git a/nw/guimain.py b/nw/guimain.py
index 153c8cac..de9c6f04 100644
--- a/nw/guimain.py
+++ b/nw/guimain.py
@@ -466,16 +466,13 @@ class GuiMain(QMainWindow):
lockDetails = (
" %s" % self.tr(
"The project was locked by the computer "
- "'{computerName}' ({osName} {osVersion}), "
- "last active on {activeTime}"
+ "'{0}' ({1} {2}), last active on {3}."
)
).format(
- computerName = self.theProject.lockedBy[0],
- osName = self.theProject.lockedBy[1],
- osVersion = self.theProject.lockedBy[2],
- activeTime = datetime.fromtimestamp(
- int(self.theProject.lockedBy[3])
- ).strftime("%x %X")
+ self.theProject.lockedBy[0],
+ self.theProject.lockedBy[1],
+ self.theProject.lockedBy[2],
+ datetime.fromtimestamp(int(self.theProject.lockedBy[3])).strftime("%x %X")
)
except Exception:
lockDetails = ""