@@ -9,7 +9,7 @@ msgstr ""
99"Project-Id-Version: Fortran-lang.org website\n"
1010"Report-Msgid-Bugs-To: \n"
1111"POT-Creation-Date: 2022-10-01 14:47+0530\n"
12- "PO-Revision-Date: 2025-03-01 21:09 +0000\n"
12+ "PO-Revision-Date: 2025-03-10 09:05 +0000\n"
1313"Last-Translator: Agnieszka Ziora <
[email protected] >\n"
1414"Language-Team: Polish <https://hosted.weblate.org/projects/fortran-lang/"
1515"webpage/pl/>\n"
@@ -6174,25 +6174,36 @@ msgid ""
61746174"library. There are several ways — depending on the compiler you use — to "
61756175"achieve this. One method is via a so-called compiler directive:"
61766176msgstr ""
6177+ "Istnieje jeszcze jedna rzecz, której musisz być świadomy. Na Windowsie "
6178+ "musisz dokładnie sprecyzować, że procedura ma zostać _wyeksportowana_, np. "
6179+ "widoczna w dynamicznej bibliotece. Jest kilka sposobów na osiągnięcie tego w "
6180+ "zależności jakiego kompilatora używasz. Jedną z metod jest zrobienie tego "
6181+ "poprzez tak zwaną dyrektywę kompilatora:"
61776182
61786183#: ../../source/learn/building_programs/managing_libraries.md:111
61796184msgid "Or, with the Intel Fortran compiler:"
6180- msgstr ""
6185+ msgstr "Lub, przez kompilator Intel Fortran: "
61816186
61826187#: ../../source/learn/building_programs/managing_libraries.md:118
61836188msgid "Besides a dynamic library (DLL), a so-called import library may be generated."
61846189msgstr ""
6190+ "Oprócz dynamicznej biblioteki (DLL), tak zwane biblioteki importowane mogą "
6191+ "zostać wygenerowane."
61856192
61866193#: ../../source/learn/building_programs/managing_libraries.md:121
61876194msgid ""
61886195"Because the details differ per compiler, here are two examples: gfortran on "
61896196"Cygwin and Intel Fortran on Windows. In both cases we look at the `tabulate` "
61906197"program in the file \"tabulate.f90\"."
61916198msgstr ""
6199+ "Z uwagi na to, że detale różnią się w zależności od kompilatora, "
6200+ "zamieszczone są tutaj dwa przykłady: gfortran na Cygwinie oraz Intel Fortran "
6201+ "na Windowsie. W obu przypadkach pokazujemy program `tabulate` w pliku "
6202+ "\"tabulate.f90\"."
61926203
61936204#: ../../source/learn/building_programs/managing_libraries.md:125
61946205msgid "GNU/Linux and gfortran"
6195- msgstr ""
6206+ msgstr "GNU/Linux i gfortran "
61966207
61976208#: ../../source/learn/building_programs/managing_libraries.md:127
61986209msgid ""
@@ -6201,42 +6212,60 @@ msgid ""
62016212" implementation of the function by putting another dynamic library in the "
62026213"directory. No need to rebuild the program as such."
62036214msgstr ""
6215+ "Program `tabulate` wymaga zdefiniowanej przez użytkownika procedury `f`. "
6216+ "Jeśli pozwolimy na przechowywanie jej w dynamicznej bibliotece, jak "
6217+ "\"functions.dll\", możemy łatwo zamienić implementację funkcji poprzez "
6218+ "dodanie innej dynamicznej biblioteki do folderu. Nie ma potrzeby ponownej "
6219+ "kompilacji programu."
62046220
62056221#: ../../source/learn/building_programs/managing_libraries.md:132
62066222msgid ""
62076223"On Cygwin it is not necessary to explicitly export a procedure — all "
62086224"publically visible routines are exported when you build a dynamic library. "
62096225"Also, no import library is generated."
62106226msgstr ""
6227+ "Na systemie Cygwin nie jest konieczne jawne eksportowanie procedury - "
6228+ "wszystkie publicznie widoczne rutyny są eksportowane podczas tworzenia "
6229+ "dynamicznej biblioteki. Ponadto, nie jest generowana żadna biblioteki "
6230+ "importowana."
62116231
62126232#: ../../source/learn/building_programs/managing_libraries.md:136
62136233msgid ""
62146234"Since our dynamic library can be built from a single source file, we can take"
62156235" a shortcut:"
62166236msgstr ""
6237+ "Ponieważ nasza dynamiczna biblioteki może być stworzona z jednego pliku "
6238+ "źródłowego, możemy zrobić to szybciej:"
62176239
62186240#: ../../source/learn/building_programs/managing_libraries.md:143
62196241msgid ""
62206242"This produces the files \"functions.dll\" and \"user_functions.mod\". The "
62216243"utility `nm` tells us the exact name of the function `f`:"
62226244msgstr ""
6245+ "Dzięki temu zostały stworzone pliki \"functions.dll\" i "
6246+ "\"user_functions.mod\". Funkcja `nm` daje nam dokładną nazwę funkcji `f`:"
62236247
62246248#: ../../source/learn/building_programs/managing_libraries.md:158
62256249msgid ""
62266250"It has received a prefix `__function_MOD_` to distinguish it from any other "
62276251"routine \"f\" that might be defined in another module."
62286252msgstr ""
6253+ "Otrzymała ona prefiks `__function_MOD_`, aby rozróżnić ją od inny rutyn \"f\""
6254+ ", które mogą być zdefiniowane w innym module."
62296255
62306256#: ../../source/learn/building_programs/managing_libraries.md:161
62316257msgid "The next step is to build the program:"
6232- msgstr ""
6258+ msgstr "Następnym krokiem jest kompilacja programu: "
62336259
62346260#: ../../source/learn/building_programs/managing_libraries.md:167
62356261msgid ""
62366262"The DLL and the .mod file are used to build the executable program with "
62376263"checks on the function's interface, the right name and the reference to \"a\""
62386264" DLL, called \"functions.dll\"."
62396265msgstr ""
6266+ "DLL oraz plik .mod będą używane do skompilowania programu wykonywalnego ze "
6267+ "sprawdzeniami interfejsu funkcji, poprawną nazwą oraz odniesieniem do "
6268+ "\"jakiegoś\" DLL'a, nazwanego \"functions.dll\"."
62406269
62416270#: ../../source/learn/building_programs/managing_libraries.md:171
62426271msgid ""
@@ -6245,27 +6274,36 @@ msgid ""
62456274" use the correct interface for this function. The compiler/linker are not "
62466275"invoked anymore, so they can do no checking."
62476276msgstr ""
6277+ "Możesz zamienić bibliotekę współdzieloną \"functions.dll\" na inną, "
6278+ "implementując inną funkcję \"f\". Oczywiście, musisz być ostrożnym i "
6279+ "zastosować poprawny interfejs dla tej funkcji. Kompilator/program łączący "
6280+ "nie jest uruchamiany, dlatego nie może tego sprawdzić."
62486281
62496282#: ../../source/learn/building_programs/managing_libraries.md:176
62506283msgid "Windows and Intel Fortran"
6251- msgstr ""
6284+ msgstr "Windows i Intel Fortran "
62526285
62536286#: ../../source/learn/building_programs/managing_libraries.md:178
62546287msgid ""
62556288"The setup is the same as with Linux, but on Windows it is necessary to "
62566289"explicitly export the routines. And an import library is generated — this is "
62576290"the library that should be used in the link step."
62586291msgstr ""
6292+ "Konfiguracja jest taka sama jak na Linuksie, jednak na Windowsie konieczne "
6293+ "jest jawne eksportowanie rutyn. Tworzona jest również biblioteki importowana "
6294+ "- jest to biblioteki, która powinna zostać użyta w procesie łączenia."
62596295
62606296#: ../../source/learn/building_programs/managing_libraries.md:182
62616297msgid ""
62626298"The source file must contain the compiler directive, otherwise the function "
62636299"`f` is not exported:"
62646300msgstr ""
6301+ "Plik źródłowy musi zawierać dyrektywę kompilatora, inaczej funkcja `f` nie "
6302+ "zostanie wyeksportowana:"
62656303
62666304#: ../../source/learn/building_programs/managing_libraries.md:190
62676305msgid "Again we take a shortcut:"
6268- msgstr ""
6306+ msgstr "Ponownie możemy to zrobić szybciej: "
62696307
62706308#: ../../source/learn/building_programs/managing_libraries.md:196
62716309msgid ""
@@ -6275,30 +6313,44 @@ msgid ""
62756313"\"f\" is `FUNCTION_mp_F`. It is also exported, so that it can be found by the"
62766314" linker in the next step:"
62776315msgstr ""
6316+ "Dzięki temu zostały stworzone pliki \"functions.dll\", \"user_functions.mod\""
6317+ " oraz \"functions.lib\" (dwa pozostałe pliki nie są tutaj ważne). Program "
6318+ "\"dependency walker\" daje nam dokładną nazwę funkcji \"f\", czyli "
6319+ "`FUNCTION_mp_F`. Jest ona również eksportowana, żeby mogła być znaleziona "
6320+ "przez program łączący w kolejnym kroku:"
62786321
62796322#: ../../source/learn/building_programs/managing_libraries.md:205
62806323msgid "Note that we need to specify the name of the export library, not the DLL!"
62816324msgstr ""
6325+ "Zauważ, że musimy sprecyzować nazwę eksportowanej biblioteki, nie DLL'a!"
62826326
62836327#: ../../source/learn/building_programs/managing_libraries.md:207
62846328msgid ""
62856329"(Note also: the Intel Fortran compiler uses the name of the first source file"
62866330" as the name for the executable — here we do without the `-exe` option.)"
62876331msgstr ""
6332+ "(Zauważ również: kompilator Intel Fortran używa nazwy pierwszego pliku "
6333+ "źródłowego jaki nazwy pliku wykonywalnego - tutaj bez opcji `-exe`.)"
62886334
62896335#: ../../source/learn/building_programs/managing_libraries.md:210
62906336msgid ""
62916337"Just as under Cygwin, the DLL and the .mod file are used to build the "
62926338"executable program with checks on the function's interface, the right name "
62936339"and the reference to \"a\" DLL, called \"functions.dll\"."
62946340msgstr ""
6341+ "Tak samo jak na Cygwinie, DLL plik .mod są używane do skompilowanie programu "
6342+ "wykonywalnego ze sprawdzeniem interfejsu funkcji, poprawną nazwą oraz "
6343+ "odniesieniem do \"jakiegoś\" DLL'a, nazwanego \"functions.dll\"."
62956344
62966345#: ../../source/learn/building_programs/managing_libraries.md:214
62976346msgid ""
62986347"You can replace the shared library \"functions.dll\" by another one, but the "
62996348"same caution is required: while the implementation can be quite different, "
63006349"the function's interface must be the same."
63016350msgstr ""
6351+ "Możesz zastąpić bibliotekę współdzieloną \"functions.dll\" inną, ale musisz "
6352+ "być ostrożnym: mimo tego, że implementacja może być inna, interfejs funkcji "
6353+ "musi pozostać taki sam."
63026354
63036355#: ../../source/learn/building_programs/project_make.md:3
63046356msgid ""
0 commit comments