Bug 501657

Summary: Minor typo in src/backend/datasources/filters/AsciiFilter.cpp i18n string
Product: [Applications] LabPlot2 Reporter: Oliver Kellogg <okellogg>
Component: backendAssignee: Stefan Gerlach <stefan.gerlach>
Status: RESOLVED FIXED    
Severity: minor CC: stefan.gerlach
Priority: NOR    
Version First Reported In: latest   
Target Milestone: ---   
Platform: Other   
OS: All   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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"