# Path: KPC/classes.py
# class Error:
#     '''An individual error from a check against an entry. One check
#     usually returns list of errors or empty list if there's no error.
#     '''
#     SUCCESS = 0
#     DEPRECATED = 1
#     WARNING = 2
#     ERROR = 3
# 
#     def __init__(self, message):
#         self.pos = 0
#         self.level = Error.ERROR
#         self.message = message
# 
# class BaseCheck:
#     '''Base class to check an entry from PO files. Subclasses should
#     implement check() function. check() returns list of errors if any.
#     '''
#     def _get_context(self, entry):
#         if not hasattr(self, 'get_context'):
#             return {}
#         fields = {}
#         # parse msgstr
#         for line in entry.msgstr.split('\n'):
#             try:
#                 k, v = line.split(': ', 1)
#                 fields[k] = v
#             except ValueError:
#                 pass
#         return self.get_context(entry, fields)
# 
#     def _check(self, entry, context):
#         return self.check(entry, context)


from KPC.classes import Error, BaseCheck
# -*- coding: utf-8 -*-
# terminology/desktop-commons

# UI 나타나는 전형적인 단어들의 전형적인 번역 확인.  지정한 번역이
# 아니면 애러를 리턴한다.  번역 일관성 유지를 위한 검사.


data = [
    ('about', '정보'),
    ('add', '추가'),
    ('always on top', '항상 위'),
    ('browse', '찾아보기'),
    ('case sensitive', '대소문자 구별'),
    ('change', '바꾸기'),
    ('clear', '지우기'),
    ('copy', '복사'),
    ('create', '만들기'),
    ('cut', '잘라내기'),
    ('delete', '삭제'),
    ('display', '표시'),

# Path: KPC/classes.py
# class Error:
#     '''An individual error from a check against an entry. One check
#     usually returns list of errors or empty list if there's no error.
#     '''
#     SUCCESS = 0
#     DEPRECATED = 1
#     WARNING = 2
#     ERROR = 3
# 
#     def __init__(self, message):
#         self.pos = 0
#         self.level = Error.ERROR
#         self.message = message
# 
# class BaseCheck:
#     '''Base class to check an entry from PO files. Subclasses should
#     implement check() function. check() returns list of errors if any.
#     '''
#     def _get_context(self, entry):
#         if not hasattr(self, 'get_context'):
#             return {}
#         fields = {}
#         # parse msgstr
#         for line in entry.msgstr.split('\n'):
#             try:
#                 k, v = line.split(': ', 1)
#                 fields[k] = v
#             except ValueError:
#                 pass
#         return self.get_context(entry, fields)
# 
#     def _check(self, entry, context):
#         return self.check(entry, context)


# Path: KPC/checks/terminology/desktop-commons.py
from KPC.classes import Error, BaseCheck

# -*- coding: utf-8 -*-
# terminology/desktop-commons

# UI 나타나는 전형적인 단어들의 전형적인 번역 확인.  지정한 번역이
# 아니면 애러를 리턴한다.  번역 일관성 유지를 위한 검사.


data = [
    ('about', '정보'),
    ('add', '추가'),
    ('always on top', '항상 위'),
    ('browse', '찾아보기'),
    ('case sensitive', '대소문자 구별'),
    ('change', '바꾸기'),
    ('clear', '지우기'),
    ('copy', '복사'),
    ('create', '만들기'),
    ('cut', '잘라내기'),
    ('delete', '삭제'),
    ('display', '표시'),

    ('edit', '편집'),