aboutsummaryrefslogtreecommitdiff
path: root/source/pt/cui/messages.po
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2021-11-24 12:46:38 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2021-11-24 12:48:39 +0100
commit43a347a994090bf64fb97da9d9c7cafa4a74f392 (patch)
treecc0c9cd412a7c636ae98e06b5c741a45fb8048e5 /source/pt/cui/messages.po
parent2bc84baf3c71752347f44eebba769f4adadd6e8b (diff)
update translations for master/7.3.0 beta1
and force-fix errors using pocheck Change-Id: I38a315bbb47e60f4dc2a2268d3ec993d27cd8c46
Diffstat (limited to 'source/pt/cui/messages.po')
-rw-r--r--source/pt/cui/messages.po38
1 files changed, 19 insertions, 19 deletions
diff --git a/source/pt/cui/messages.po b/source/pt/cui/messages.po
index 6bfae980397..ff946e4446f 100644
--- a/source/pt/cui/messages.po
+++ b/source/pt/cui/messages.po
@@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: https://bugs.libreoffice.org/enter_bug.cgi?product=LibreOffice&bug_status=UNCONFIRMED&component=UI\n"
-"POT-Creation-Date: 2021-11-16 12:08+0100\n"
+"POT-Creation-Date: 2021-11-24 12:01+0100\n"
"PO-Revision-Date: 2021-10-08 21:06+0000\n"
"Last-Translator: Sérgio Marques <smarquespt@gmail.com>\n"
"Language-Team: Portuguese <https://translations.documentfoundation.org/projects/libo_ui-master/cuimessages/pt/>\n"
@@ -5551,40 +5551,40 @@ msgctxt "borderpage|label17"
msgid "_Color:"
msgstr "_Cor:"
-#. A95oJ
+#. XcftM
#: cui/uiconfig/ui/borderpage.ui:283
msgctxt "borderpage|linewidthlb"
-msgid "Hairline"
+msgid "Hairline (0.05pt)"
msgstr ""
-#. GMs8A
+#. u3nzv
#: cui/uiconfig/ui/borderpage.ui:284
msgctxt "borderpage|linewidthlb"
-msgid "Very thin"
+msgid "Very thin (0.5pt)"
msgstr ""
-#. 93Zah
+#. aWBEL
#: cui/uiconfig/ui/borderpage.ui:285
msgctxt "borderpage|linewidthlb"
-msgid "Thin"
-msgstr "Fino"
+msgid "Thin (0.75pt)"
+msgstr ""
-#. X8bWF
+#. NGkAL
#: cui/uiconfig/ui/borderpage.ui:286
msgctxt "borderpage|linewidthlb"
-msgid "Medium"
-msgstr "Normal"
+msgid "Medium (1.5pt)"
+msgstr ""
-#. URZL9
+#. H2AVr
#: cui/uiconfig/ui/borderpage.ui:287
msgctxt "borderpage|linewidthlb"
-msgid "Thick"
-msgstr "Espesso"
+msgid "Thick (2.25pt)"
+msgstr ""
-#. 5JQhz
+#. b5UoB
#: cui/uiconfig/ui/borderpage.ui:288
msgctxt "borderpage|linewidthlb"
-msgid "Extra thick"
+msgid "Extra thick (4.5pt)"
msgstr ""
#. ACvsP
@@ -7765,11 +7765,11 @@ msgctxt "extended_tip|enablepooling"
msgid "Select a driver from the list and mark the Enable pooling for this driver checkbox in order to pool its connection."
msgstr "Selecione um controlador a partir da lista e marque a caixa de verificação Ativar agregação para este controlador de modo a que esta ligação seja agregada."
-#. uzbLN
+#. mdxR9
#: cui/uiconfig/ui/connpooloptions.ui:158
msgctxt "connpooloptions|timeoutlabel"
-msgid "_Timeout (seconds)"
-msgstr "_Tempo de espera (segundos)"
+msgid "_Timeout (seconds):"
+msgstr ""
#. CUE56
#: cui/uiconfig/ui/connpooloptions.ui:180
e='libreoffice-4-1-4'>libreoffice-4-1-4 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2022-11-04 17:31:55 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2022-11-08 11:54:22 +0100
commit248be1fe7d31499fe7e237bb15ec67b55962c1a7 (patch)
treed2a3693af5d555f5c6cca31b625a9001af21e869 /sfx2
parent444bf8710d5da7b584fbcb94693e4ed8d2e29297 (diff)
UnoApiTest: simplify code by using tempfile member
SwModelTestBase does the same. this will help to make SwModelTestBase inherit from UnoApiTest Change-Id: If1c824cf92f0e8b70253e4d5fdeddcaa521d4632 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142287 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/CppunitTest_sfx2_classification.mk1
-rw-r--r--sfx2/CppunitTest_sfx2_view.mk1
-rw-r--r--sfx2/qa/cppunit/test_misc.cxx29
3 files changed, 13 insertions, 18 deletions
diff --git a/sfx2/CppunitTest_sfx2_classification.mk b/sfx2/CppunitTest_sfx2_classification.mk
index 90e2061009ae..bfb2c367ed93 100644
--- a/sfx2/CppunitTest_sfx2_classification.mk
+++ b/sfx2/CppunitTest_sfx2_classification.mk
@@ -21,6 +21,7 @@ $(eval $(call gb_CppunitTest_use_libraries,sfx2_classification, \
cppuhelper \
test \
unotest \
+ utl \
vcl \
sal \
subsequenttest \
diff --git a/sfx2/CppunitTest_sfx2_view.mk b/sfx2/CppunitTest_sfx2_view.mk
index a673d7b576fd..626fdfee8300 100644
--- a/sfx2/CppunitTest_sfx2_view.mk
+++ b/sfx2/CppunitTest_sfx2_view.mk
@@ -26,6 +26,7 @@ $(eval $(call gb_CppunitTest_use_libraries,sfx2_view, \
subsequenttest \
test \
unotest \
+ utl \
sfx \
svl \
))
diff --git a/sfx2/qa/cppunit/test_misc.cxx b/sfx2/qa/cppunit/test_misc.cxx
index 212dc1aea5bf..c93a3ad7335a 100644
--- a/sfx2/qa/cppunit/test_misc.cxx
+++ b/sfx2/qa/cppunit/test_misc.cxx
@@ -72,18 +72,15 @@ CPPUNIT_TEST_FIXTURE(MiscTest, testODFCustomMetadata)
uno::Sequence<beans::PropertyValue> mimeArgs({
beans::PropertyValue("MediaType", -1, uno::Any(OUString("application/vnd.oasis.opendocument.text")), beans::PropertyState_DIRECT_VALUE)
});
- utl::TempFileNamed aTempFile;
- xProps->storeToMedium(aTempFile.GetURL(), mimeArgs);
+ xProps->storeToMedium(maTempFile.GetURL(), mimeArgs);
// check that custom metadata is preserved
- xmlDocUniquePtr pXmlDoc = parseExport(aTempFile.GetURL(), "meta.xml");
+ xmlDocUniquePtr pXmlDoc = parseExport("meta.xml");
assertXPathContent(pXmlDoc, "/office:document-meta/office:meta/bork", "bork");
assertXPath(pXmlDoc, "/office:document-meta/office:meta/foo:bar", 1);
assertXPath(pXmlDoc, "/office:document-meta/office:meta/foo:bar/baz:foo", 1);
assertXPath(pXmlDoc, "/office:document-meta/office:meta/foo:bar/baz:foo[@baz:bar='foo']");
assertXPathContent(pXmlDoc, "/office:document-meta/office:meta/foo:bar/foo:baz", "bar");
-
- aTempFile.EnableKillingFile();
}
CPPUNIT_TEST_FIXTURE(MiscTest, testNoThumbnail)
@@ -97,21 +94,19 @@ CPPUNIT_TEST_FIXTURE(MiscTest, testNoThumbnail)
#endif
uno::Reference<frame::XStorable> xStorable(mxComponent, uno::UNO_QUERY);
CPPUNIT_ASSERT(xStorable.is());
- utl::TempFileNamed aTempFile;
- aTempFile.EnableKillingFile();
uno::Sequence<beans::PropertyValue> aProperties(
comphelper::InitPropertySequence({ { "NoThumbnail", uno::Any(true) } }));
- osl::File::remove(aTempFile.GetURL());
- xStorable->storeToURL(aTempFile.GetURL(), aProperties);
+ osl::File::remove(maTempFile.GetURL());
+ xStorable->storeToURL(maTempFile.GetURL(), aProperties);
uno::Reference<packages::zip::XZipFileAccess2> xZipFile
- = packages::zip::ZipFileAccess::createWithURL(m_xContext, aTempFile.GetURL());
+ = packages::zip::ZipFileAccess::createWithURL(m_xContext, maTempFile.GetURL());
CPPUNIT_ASSERT(!xZipFile->hasByName("Thumbnails/thumbnail.png"));
#ifndef _WIN32
// Check permissions of the URL after store.
osl::DirectoryItem aItem;
CPPUNIT_ASSERT_EQUAL(osl::DirectoryItem::E_None,
- osl::DirectoryItem::get(aTempFile.GetURL(), aItem));
+ osl::DirectoryItem::get(maTempFile.GetURL(), aItem));
osl::FileStatus aStatus(osl_FileStatus_Mask_Attributes);
CPPUNIT_ASSERT_EQUAL(osl::DirectoryItem::E_None, aItem.getFileStatus(aStatus));
@@ -122,7 +117,7 @@ CPPUNIT_TEST_FIXTURE(MiscTest, testNoThumbnail)
CPPUNIT_ASSERT(aStatus.getAttributes() & osl_File_Attribute_OthRead);
// Now "save as" again to trigger the "overwrite" case.
- xStorable->storeToURL(aTempFile.GetURL(), {});
+ xStorable->storeToURL(maTempFile.GetURL(), {});
CPPUNIT_ASSERT_EQUAL(osl::DirectoryItem::E_None, aItem.getFileStatus(aStatus));
// The following check used to fail in the past, result had temp file
// permissions.
@@ -174,25 +169,23 @@ CPPUNIT_TEST_FIXTURE(MiscTest, testHardLinks)
CPPUNIT_TEST_FIXTURE(MiscTest, testOverwrite)
{
// tdf#60237 - try to overwrite an existing file using the different settings of the Overwrite option
- utl::TempFileNamed aTempFile;
- aTempFile.EnableKillingFile();
mxComponent
- = loadFromDesktop(aTempFile.GetURL(), "com.sun.star.text.TextDocument");
+ = loadFromDesktop(maTempFile.GetURL(), "com.sun.star.text.TextDocument");
uno::Reference<frame::XStorable> xStorable(mxComponent, uno::UNO_QUERY);
CPPUNIT_ASSERT(xStorable.is());
// overwrite the file using the default case of the Overwrite option (true)
- CPPUNIT_ASSERT_NO_THROW(xStorable->storeToURL(aTempFile.GetURL(), {}));
+ CPPUNIT_ASSERT_NO_THROW(xStorable->storeToURL(maTempFile.GetURL(), {}));
// explicitly overwrite the file using the Overwrite option
CPPUNIT_ASSERT_NO_THROW(xStorable->storeToURL(
- aTempFile.GetURL(),
+ maTempFile.GetURL(),
comphelper::InitPropertySequence({ { "Overwrite", uno::Any(true) } })));
try
{
// overwrite an existing file with the Overwrite flag set to false
- xStorable->storeToURL(aTempFile.GetURL(), comphelper::InitPropertySequence(
+ xStorable->storeToURL(maTempFile.GetURL(), comphelper::InitPropertySequence(
{ { "Overwrite", uno::Any(false) } }));
CPPUNIT_ASSERT_MESSAGE("We expect an exception on overwriting an existing file", false);
}