Skip to content

Commit

Permalink
i18n: Remove deleted translations from PO files
Browse files Browse the repository at this point in the history
Since we bundle the whole files in the editor binary, they actual impact the
binary size needlessly.

Automate it via `make merge`.

(cherry picked from commit 6fb47a2)
  • Loading branch information
akien-mga committed Dec 10, 2021
1 parent d3d12a7 commit 04cc06b
Show file tree
Hide file tree
Showing 88 changed files with 2 additions and 67,809 deletions.
1 change: 1 addition & 0 deletions doc/translations/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ merge:
echo -e "\nMerging $$po..."; \
msgmerge -w 79 -C $$po $$po $(TEMPLATE) > "$$po".new; \
mv -f "$$po".new $$po; \
msgattrib --output-file=$$po --no-obsolete $$po; \
done

check:
Expand Down
11 changes: 0 additions & 11 deletions doc/translations/ar.po
Original file line number Diff line number Diff line change
Expand Up @@ -70060,14 +70060,3 @@ msgstr ""
msgid ""
"If [code]true[/code], child nodes are sorted, otherwise sorting is disabled."
msgstr ""

#, fuzzy
#~ msgid "Returns the close [TextureButton]."
#~ msgstr "يُرجع جيب التمام \"cosine \" لقيمة المَعلم."

#~ msgid ""
#~ "https://docs.godotengine.org/en/latest/getting_started/step_by_step/"
#~ "animations.html"
#~ msgstr ""
#~ "https://docs.godotengine.org/en/latest/getting_started/step_by_step/"
#~ "animations.html"
7 changes: 0 additions & 7 deletions doc/translations/ca.po
Original file line number Diff line number Diff line change
Expand Up @@ -69856,10 +69856,3 @@ msgstr ""
msgid ""
"If [code]true[/code], child nodes are sorted, otherwise sorting is disabled."
msgstr ""

#~ msgid ""
#~ "https://docs.godotengine.org/en/latest/getting_started/step_by_step/"
#~ "animations.html"
#~ msgstr ""
#~ "https://docs.godotengine.org/en/latest/getting_started/step_by_step/"
#~ "animations.html"
137 changes: 0 additions & 137 deletions doc/translations/cs.po
Original file line number Diff line number Diff line change
Expand Up @@ -70542,140 +70542,3 @@ msgstr ""
msgid ""
"If [code]true[/code], child nodes are sorted, otherwise sorting is disabled."
msgstr ""

#, fuzzy
#~ msgid "Returns the close [TextureButton]."
#~ msgstr "Vrátí kosinus parametru."

#~ msgid ""
#~ "Returns the cosine of angle [code]s[/code] in radians.\n"
#~ "[codeblock]\n"
#~ "# Prints 1 then -1\n"
#~ "print(cos(PI * 2))\n"
#~ "print(cos(PI))\n"
#~ "[/codeblock]"
#~ msgstr ""
#~ "Vrátí kosinusoidu úhlu [code]s[/code] v radiánech.\n"
#~ "[codeblock]\n"
#~ "# Vypíše 1 a poté -1\n"
#~ "print(cos(PI * 2))\n"
#~ "print(cos(PI))\n"
#~ "[/codeblock]"

#~ msgid ""
#~ "Converts one or more arguments to strings in the best way possible and "
#~ "prints them to the console.\n"
#~ "[codeblock]\n"
#~ "a = [1, 2, 3]\n"
#~ "print(\"a\", \"b\", a) # Prints ab[1, 2, 3]\n"
#~ "[/codeblock]"
#~ msgstr ""
#~ "Převede jeden nebo více argumentů na řetězec v té nejlepší možné formě a "
#~ "vytiskne je na konzoli.\n"
#~ "[codeblock]\n"
#~ "a = [1, 2, 3]\n"
#~ "print(\"a\", \"b\", a) # Vytiskne ab[1, 2, 3]\n"
#~ "[/codeblock]"

#~ msgid ""
#~ "Returns an array with the given range. Range can be 1 argument N (0 to "
#~ "N-1), two arguments (initial, final-1) or three arguments (initial, "
#~ "final-1, increment).\n"
#~ "[codeblock]\n"
#~ "for i in range(4):\n"
#~ " print(i)\n"
#~ "for i in range(2, 5):\n"
#~ " print(i)\n"
#~ "for i in range(0, 6, 2):\n"
#~ " print(i)\n"
#~ "[/codeblock]\n"
#~ "Output:\n"
#~ "[codeblock]\n"
#~ "0\n"
#~ "1\n"
#~ "2\n"
#~ "3\n"
#~ "\n"
#~ "2\n"
#~ "3\n"
#~ "4\n"
#~ "\n"
#~ "0\n"
#~ "2\n"
#~ "4\n"
#~ "[/codeblock]"
#~ msgstr ""
#~ "Vrací pole v daném rozsahu. Rozsah může být jedno-argumentový N (od 0 do "
#~ "N-1), dvou-argumentový (výchozí, finální-1), nebo tří-argumentový "
#~ "(výchozí, finální-1, inkrement).\n"
#~ "[codeblock]\n"
#~ "for i in range(4):\n"
#~ " print(i)\n"
#~ "for i in range(2, 5):\n"
#~ " print(i)\n"
#~ "for i in range(0, 6, 2):\n"
#~ " print(i)\n"
#~ "[/codeblock]\n"
#~ "Výstup:\n"
#~ "[codeblock]\n"
#~ "0\n"
#~ "1\n"
#~ "2\n"
#~ "3\n"
#~ "\n"
#~ "2\n"
#~ "3\n"
#~ "4\n"
#~ "\n"
#~ "0\n"
#~ "2\n"
#~ "4\n"
#~ "[/codeblock]"

#~ msgid ""
#~ "Returns the nearest larger power of 2 for integer [code]value[/code].\n"
#~ "[codeblock]\n"
#~ "nearest_po2(3) # Returns 4\n"
#~ "nearest_po2(4) # Returns 4\n"
#~ "nearest_po2(5) # Returns 8\n"
#~ "[/codeblock]"
#~ msgstr ""
#~ "Vrací nejbližší větší celočíselnou mocninu dvou od integeru "
#~ "[code]hodnota[/code].\n"
#~ "[codeblock]\n"
#~ "nearest_po2(3) # Vrací 4\n"
#~ "nearest_po2(4) # Vrací 4\n"
#~ "nearest_po2(5) # Vrací 8\n"
#~ "[/codeblock]"

#~ msgid ""
#~ "Returns a resource from the filesystem that is loaded during script "
#~ "parsing.\n"
#~ "[b]Note:[/b] Resource paths can be obtained by right clicking on a "
#~ "resource in the Assets Panel and choosing \"Copy Path\".\n"
#~ "[codeblock]\n"
#~ "# Load a scene called main located in the root of the project directory.\n"
#~ "var main = preload(\"res://main.tscn\")\n"
#~ "[/codeblock]"
#~ msgstr ""
#~ "Vrací zdroj ze souborového systému, který he nahrán během syntaktické "
#~ "analýzy (parsing) skriptu.\n"
#~ "[b]Poznámka:[/b] Zdrojová cesta může být získána kliknutím pravého "
#~ "tlačítka myši na zdroj ve zdrojovém panelu a výběrem \"Kopírovat cestu"
#~ "\".\n"
#~ "[codeblock]\n"
#~ "# Nahraje scénu s názvem main, která se nachází ve zdrojovém adresáři "
#~ "projektového adresáře.\n"
#~ "var main = preload(\"res://main.tscn\")\n"
#~ "[/codeblock]"

#~ msgid ""
#~ "Returns the square root of [code]s[/code].\n"
#~ "[codeblock]\n"
#~ "sqrt(9) # Returns 3\n"
#~ "[/codeblock]"
#~ msgstr ""
#~ "Vrací odmocninu z [code]s[/code].\n"
#~ "[codeblock]\n"
#~ "sqrt(9) # Vrací 3\n"
#~ "[/codeblock]"
Loading

0 comments on commit 04cc06b

Please sign in to comment.