summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-01-15 09:09:57 +0100
committerJulien Nabet <serval2412@yahoo.fr>2018-01-16 12:40:51 +0100
commit624f84c07ee798f6bbf4381c26262d5d2774a1ed (patch)
treea3a0334dbfda10f89c563344976cea321652f238 /bin
parent66a192ee63db9adc1d6df66a5e7996d5af5d5284 (diff)
Fix typos
Change-Id: I078626eaa3155cc429320cc8c1532003b382b22a Reviewed-on: https://gerrit.libreoffice.org/47855 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/find-german-comments6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/find-german-comments b/bin/find-german-comments
index 504ed0e2bcf1..a944aaedf2b3 100755
--- a/bin/find-german-comments
+++ b/bin/find-german-comments
@@ -37,12 +37,12 @@ import string
class Parser:
"""
This parser extracts comments from source files, tries to guess
- their language and then prints out the german ones.
+ their language and then prints out the German ones.
"""
def __init__(self):
self.strip = string.punctuation + " \n"
self.text_cat = self.start_text_cat()
- parser = argparse.ArgumentParser(description='Searches for german comments in cxx/hxx source files inside a given root directory recursively.')
+ parser = argparse.ArgumentParser(description='Searches for German comments in cxx/hxx source files inside a given root directory recursively.')
parser.add_argument("-f", "--filenames-only", action="store_true",
help="Only print the filenames of files containing German comments")
parser.add_argument("-v", "--verbose", action="store_true",
@@ -138,7 +138,7 @@ class Parser:
def is_german(self, s):
"""
- determines if a string is german or not
+ determines if a string is German or not
"""
# for short strings we can't do reliable recognition, so skip
# short strings and less than 4 words