Bug 501657 - Minor typo in src/backend/datasources/filters/AsciiFilter.cpp i18n string
Summary: Minor typo in src/backend/datasources/filters/AsciiFilter.cpp i18n string
Status: RESOLVED FIXED
Alias: None
Product: LabPlot2
Classification: Applications
Component: backend (show other bugs)
Version: latest
Platform: Other All
: NOR minor
Target Milestone: ---
Assignee: Stefan Gerlach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-17 19:21 UTC by Oliver Kellogg
Modified: 2025-03-17 19:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Kellogg 2025-03-17 19:21:19 UTC
SUMMARY
Minor typo in src/backend/datasources/filters/AsciiFilter.cpp i18n string

STEPS TO REPRODUCE
1. Look at commit edd338e350a6dd1024d40b748cf19907a118ee52 (or newer) of
   src/backend/datasources/filters/AsciiFilter.cpp 
2. In function statusToString at approx. line 235, there is
   case Status::SerialDeviceUninitialized:
		return i18n("Serial devices must be initialized before reading data from it");

OBSERVED RESULT
The plural "Serial devices" does not fit with the singular ending "from it".

EXPECTED RESULT
The phrase should be either
    Serial devices must be initialized before reading data from them
or
    Serial device must be initialized before reading data from it
Comment 1 Stefan Gerlach 2025-03-17 19:48:45 UTC
Fix with commit a8224f7aaf4d2f9def125de0518bd67722a82d05

"Serial device must be initialized before reading data from it"