File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- #
21# SPDX-FileCopyrightText: 2021-2026 Sébastien Helleu <flashcode@flashtux.org>
32#
43# SPDX-License-Identifier: GPL-3.0-or-later
5- #
6- # This file is part of msgcheck.
7- #
8- # Msgcheck is free software; you can redistribute it and/or modify
9- # it under the terms of the GNU General Public License as published by
10- # the Free Software Foundation; either version 3 of the License, or
11- # (at your option) any later version.
12- #
13- # Msgcheck is distributed in the hope that it will be useful,
14- # but WITHOUT ANY WARRANTY; without even the implied warranty of
15- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16- # GNU General Public License for more details.
17- #
18- # You should have received a copy of the GNU General Public License
19- # along with msgcheck. If not, see <https://www.gnu.org/licenses/>.
20- #
214
225all : check
236
Original file line number Diff line number Diff line change 1- #
21# SPDX-FileCopyrightText: 2009-2026 Sébastien Helleu <flashcode@flashtux.org>
32#
43# SPDX-License-Identifier: GPL-3.0-or-later
5- #
6- # This file is part of msgcheck.
7- #
8- # Msgcheck is free software; you can redistribute it and/or modify
9- # it under the terms of the GNU General Public License as published by
10- # the Free Software Foundation; either version 3 of the License, or
11- # (at your option) any later version.
12- #
13- # Msgcheck is distributed in the hope that it will be useful,
14- # but WITHOUT ANY WARRANTY; without even the implied warranty of
15- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16- # GNU General Public License for more details.
17- #
18- # You should have received a copy of the GNU General Public License
19- # along with msgcheck. If not, see <https://www.gnu.org/licenses/>.
20- #
214
225"""Gettext file checker."""
236
Original file line number Diff line number Diff line change 1- #
21# SPDX-FileCopyrightText: 2009-2026 Sébastien Helleu <flashcode@flashtux.org>
32#
43# SPDX-License-Identifier: GPL-3.0-or-later
5- #
6- # This file is part of msgcheck.
7- #
8- # Msgcheck is free software; you can redistribute it and/or modify
9- # it under the terms of the GNU General Public License as published by
10- # the Free Software Foundation; either version 3 of the License, or
11- # (at your option) any later version.
12- #
13- # Msgcheck is distributed in the hope that it will be useful,
14- # but WITHOUT ANY WARRANTY; without even the implied warranty of
15- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16- # GNU General Public License for more details.
17- #
18- # You should have received a copy of the GNU General Public License
19- # along with msgcheck. If not, see <https://www.gnu.org/licenses/>.
20- #
214
225"""Perform various checks on gettext files.
236
Original file line number Diff line number Diff line change 1- #
21# SPDX-FileCopyrightText: 2009-2026 Sébastien Helleu <flashcode@flashtux.org>
32#
43# SPDX-License-Identifier: GPL-3.0-or-later
5- #
6- # This file is part of msgcheck.
7- #
8- # Msgcheck is free software; you can redistribute it and/or modify
9- # it under the terms of the GNU General Public License as published by
10- # the Free Software Foundation; either version 3 of the License, or
11- # (at your option) any later version.
12- #
13- # Msgcheck is distributed in the hope that it will be useful,
14- # but WITHOUT ANY WARRANTY; without even the implied warranty of
15- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16- # GNU General Public License for more details.
17- #
18- # You should have received a copy of the GNU General Public License
19- # along with msgcheck. If not, see <https://www.gnu.org/licenses/>.
20- #
214
225"""Classes to read and check PO (gettext) files."""
236
Original file line number Diff line number Diff line change 1- #
21# SPDX-FileCopyrightText: 2009-2026 Sébastien Helleu <flashcode@flashtux.org>
32#
43# SPDX-License-Identifier: GPL-3.0-or-later
5- #
6- # This file is part of msgcheck.
7- #
8- # Msgcheck is free software; you can redistribute it and/or modify
9- # it under the terms of the GNU General Public License as published by
10- # the Free Software Foundation; either version 3 of the License, or
11- # (at your option) any later version.
12- #
13- # Msgcheck is distributed in the hope that it will be useful,
14- # but WITHOUT ANY WARRANTY; without even the implied warranty of
15- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16- # GNU General Public License for more details.
17- #
18- # You should have received a copy of the GNU General Public License
19- # along with msgcheck. If not, see <https://www.gnu.org/licenses/>.
20- #
214
225"""Some utility functions for msgcheck."""
236
Original file line number Diff line number Diff line change 1- #
21# SPDX-FileCopyrightText: 2009-2026 Sébastien Helleu <flashcode@flashtux.org>
32#
43# SPDX-License-Identifier: GPL-3.0-or-later
5- #
6- # This file is part of msgcheck.
7- #
8- # Msgcheck is free software; you can redistribute it and/or modify
9- # it under the terms of the GNU General Public License as published by
10- # the Free Software Foundation; either version 3 of the License, or
11- # (at your option) any later version.
12- #
13- # Msgcheck is distributed in the hope that it will be useful,
14- # but WITHOUT ANY WARRANTY; without even the implied warranty of
15- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16- # GNU General Public License for more details.
17- #
18- # You should have received a copy of the GNU General Public License
19- # along with msgcheck. If not, see <https://www.gnu.org/licenses/>.
20- #
214
225"""Tests on msgcheck."""
Original file line number Diff line number Diff line change 1- #
21# SPDX-FileCopyrightText: 2009-2026 Sébastien Helleu <flashcode@flashtux.org>
32#
43# SPDX-License-Identifier: GPL-3.0-or-later
5- #
6- # This file is part of msgcheck.
7- #
8- # Msgcheck is free software; you can redistribute it and/or modify
9- # it under the terms of the GNU General Public License as published by
10- # the Free Software Foundation; either version 3 of the License, or
11- # (at your option) any later version.
12- #
13- # Msgcheck is distributed in the hope that it will be useful,
14- # but WITHOUT ANY WARRANTY; without even the implied warranty of
15- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16- # GNU General Public License for more details.
17- #
18- # You should have received a copy of the GNU General Public License
19- # along with msgcheck. If not, see <https://www.gnu.org/licenses/>.
20- #
214
225#
236# Gettext file without errors.
Original file line number Diff line number Diff line change 1- #
21# SPDX-FileCopyrightText: 2009-2026 Sébastien Helleu <flashcode@flashtux.org>
32#
43# SPDX-License-Identifier: GPL-3.0-or-later
5- #
6- # This file is part of msgcheck.
7- #
8- # Msgcheck is free software; you can redistribute it and/or modify
9- # it under the terms of the GNU General Public License as published by
10- # the Free Software Foundation; either version 3 of the License, or
11- # (at your option) any later version.
12- #
13- # Msgcheck is distributed in the hope that it will be useful,
14- # but WITHOUT ANY WARRANTY; without even the implied warranty of
15- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16- # GNU General Public License for more details.
17- #
18- # You should have received a copy of the GNU General Public License
19- # along with msgcheck. If not, see <https://www.gnu.org/licenses/>.
20- #
214
225#
236# Gettext file that does not compile (msgfmt returns 1).
Original file line number Diff line number Diff line change 1- #
21# SPDX-FileCopyrightText: 2009-2026 Sébastien Helleu <flashcode@flashtux.org>
32#
43# SPDX-License-Identifier: GPL-3.0-or-later
5- #
6- # This file is part of msgcheck.
7- #
8- # Msgcheck is free software; you can redistribute it and/or modify
9- # it under the terms of the GNU General Public License as published by
10- # the Free Software Foundation; either version 3 of the License, or
11- # (at your option) any later version.
12- #
13- # Msgcheck is distributed in the hope that it will be useful,
14- # but WITHOUT ANY WARRANTY; without even the implied warranty of
15- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16- # GNU General Public License for more details.
17- #
18- # You should have received a copy of the GNU General Public License
19- # along with msgcheck. If not, see <https://www.gnu.org/licenses/>.
20- #
214
225#
236# Gettext file with 10 errors (11 with the fuzzy string):
Original file line number Diff line number Diff line change 1- #
21# SPDX-FileCopyrightText: 2024-2026 Sébastien Helleu <flashcode@flashtux.org>
32#
43# SPDX-License-Identifier: GPL-3.0-or-later
5- #
6- # This file is part of msgcheck.
7- #
8- # Msgcheck is free software; you can redistribute it and/or modify
9- # it under the terms of the GNU General Public License as published by
10- # the Free Software Foundation; either version 3 of the License, or
11- # (at your option) any later version.
12- #
13- # Msgcheck is distributed in the hope that it will be useful,
14- # but WITHOUT ANY WARRANTY; without even the implied warranty of
15- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16- # GNU General Public License for more details.
17- #
18- # You should have received a copy of the GNU General Public License
19- # along with msgcheck. If not, see <https://www.gnu.org/licenses/>.
20- #
214
225#
236# Gettext file with invalid UTF-8 chars.
You can’t perform that action at this time.
0 commit comments