-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTagEditorWeb.Gettext.html
486 lines (454 loc) · 24.3 KB
/
TagEditorWeb.Gettext.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="ExDoc v0.19.3">
<title>TagEditorWeb.Gettext — Belethor's General Mods v0.0.1-2</title>
<link rel="stylesheet" href="dist/html-399e30b9b028e3059575.css" />
<script src="dist/sidebar_items-668dd872e9.js"></script>
<script async src="dist/html-399e30b9b028e3059575.js"></script>
</head>
<body data-type="modules">
<script>try { if(localStorage.getItem('night-mode')) document.body.className += ' night-mode'; } catch (e) { }</script>
<div class="main">
<button class="sidebar-button sidebar-toggle">
<span class="icon-menu" aria-hidden="true"></span>
<span class="sr-only">Toggle Sidebar</span>
</button>
<button class="sidebar-button night-mode-toggle">
<span class="icon-theme" aria-hidden="true"></span>
<span class="sr-only">Toggle Theme</span>
</button>
<section class="sidebar">
<a href="https://bgm.tetrarch.co" class="sidebar-projectLink">
<div class="sidebar-projectDetails">
<h1 class="sidebar-projectName">
Belethor's General Mods </h1>
<h2 class="sidebar-projectVersion">
v0.0.1-2
</h2>
</div>
</a>
<form class="sidebar-search" action="search.html">
<button type="submit" class="search-button">
<span class="icon-search" aria-hidden="true"></span>
</button>
<input name="q" type="text" id="search-list" class="search-input" placeholder="Search" aria-label="Search" autocomplete="off" />
</form>
<ul class="sidebar-listNav">
<li><a id="extras-list" href="#full-list">GUIDES</a></li>
<li><a id="modules-list" href="#full-list">Modules</a></li>
</ul>
<div class="gradient"></div>
<ul id="full-list" class="sidebar-fullList"></ul>
</section>
<section class="content">
<div class="content-outer">
<div id="content" class="content-inner">
<h1>
<small class="visible-xs">Belethor's General Mods v0.0.1-2</small>
TagEditorWeb.Gettext
<a href="https://github.com/Belethors-General-Mods/belethor/blob/master/apps/tag_editor/lib/tag_editor_web/gettext.ex#L1" title="View Source" class="view-source" rel="help">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
</h1>
<section id="moduledoc">
<p>A module providing Internationalization with a gettext-based API.</p>
<p>By using <a href="https://hexdocs.pm/gettext">Gettext</a>,
your module gains a set of macros for translations, for example:</p>
<pre><code class="nohighlight makeup elixir"><span class="kn">import</span><span class="w"> </span><span class="nc">TagEditorWeb.Gettext</span><span class="w">
</span><span class="c1"># Simple translation</span><span class="w">
</span><span class="n">gettext</span><span class="p" data-group-id="3775829752-1">(</span><span class="s">"Here is the string to translate"</span><span class="p" data-group-id="3775829752-1">)</span><span class="w">
</span><span class="c1"># Plural translation</span><span class="w">
</span><span class="n">ngettext</span><span class="p" data-group-id="3775829752-2">(</span><span class="s">"Here is the string to translate"</span><span class="p">,</span><span class="w">
</span><span class="s">"Here are the strings to translate"</span><span class="p">,</span><span class="w">
</span><span class="mi">3</span><span class="p" data-group-id="3775829752-2">)</span><span class="w">
</span><span class="c1"># Domain-based translation</span><span class="w">
</span><span class="n">dgettext</span><span class="p" data-group-id="3775829752-3">(</span><span class="s">"errors"</span><span class="p">,</span><span class="w"> </span><span class="s">"Here is the error message to translate"</span><span class="p" data-group-id="3775829752-3">)</span></code></pre>
<p>See the <a href="https://hexdocs.pm/gettext">Gettext Docs</a> for detailed usage.</p>
</section>
<section id="summary" class="details-list">
<h1 class="section-heading">
<a class="hover-link" href="#summary">
<span class="icon-link" aria-hidden="true"></span>
<span class="sr-only">Link to this section</span>
</a>
Summary
</h1>
<div class="summary-functions summary">
<h2>
<a href="#functions">Functions</a>
</h2>
<div class="summary-row">
<div class="summary-signature">
<a href="#dgettext/3">dgettext(domain, msgid, bindings \\ Macro.escape(%{}))</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#dgettext_noop/2">dgettext_noop(domain, msgid)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#dngettext/5">dngettext(domain, msgid, msgid_plural, n, bindings \\ Macro.escape(%{}))</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#dngettext_noop/3">dngettext_noop(domain, msgid, msgid_plural)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#gettext/2">gettext(msgid, bindings \\ Macro.escape(%{}))</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#gettext_comment/1">gettext_comment(comment)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#gettext_noop/1">gettext_noop(msgid)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#handle_missing_bindings/2">handle_missing_bindings(exception, incomplete)</a>
</div>
<div class="summary-synopsis"><p>Default handling for missing bindings</p>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#handle_missing_plural_translation/6">handle_missing_plural_translation(locale, domain, msgid, msgid_plural, n, bindings)</a>
</div>
<div class="summary-synopsis"><p>Default handling for plural translations with a missing translation</p>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#handle_missing_translation/4">handle_missing_translation(locale, domain, msgid, bindings)</a>
</div>
<div class="summary-synopsis"><p>Default handling for translations with a missing translation</p>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#lgettext/4">lgettext(locale, domain, msgid, bindings)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#lngettext/6">lngettext(locale, domain, msgid, msgid_plural, n, bindings)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#ngettext/4">ngettext(msgid, msgid_plural, n, bindings \\ Macro.escape(%{}))</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#ngettext_noop/2">ngettext_noop(msgid, msgid_plural)</a>
</div>
</div>
</div>
</section>
<section id="functions" class="details-list">
<h1 class="section-heading">
<a class="hover-link" href="#functions">
<span class="icon-link" aria-hidden="true"></span>
<span class="sr-only">Link to this section</span>
</a>
Functions </h1>
<div class="functions-list">
<section class="detail" id="dgettext/3">
<span id="dgettext/2"></span>
<div class="detail-header">
<a href="#dgettext/3" class="detail-link" title="Link to this macro">
<span class="icon-link" aria-hidden="true"></span>
<span class="sr-only">Link to this macro</span>
</a>
<h1 class="signature">dgettext(domain, msgid, bindings \\ Macro.escape(%{}))</span>
<a href="https://github.com/Belethors-General-Mods/belethor/blob/master/apps/tag_editor/lib/tag_editor_web/gettext.ex#L1" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
<span class="note">(macro)</span>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="dgettext_noop/2">
<div class="detail-header">
<a href="#dgettext_noop/2" class="detail-link" title="Link to this macro">
<span class="icon-link" aria-hidden="true"></span>
<span class="sr-only">Link to this macro</span>
</a>
<h1 class="signature">dgettext_noop(domain, msgid)</span>
<a href="https://github.com/Belethors-General-Mods/belethor/blob/master/apps/tag_editor/lib/tag_editor_web/gettext.ex#L1" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
<span class="note">(macro)</span>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="dngettext/5">
<span id="dngettext/4"></span>
<div class="detail-header">
<a href="#dngettext/5" class="detail-link" title="Link to this macro">
<span class="icon-link" aria-hidden="true"></span>
<span class="sr-only">Link to this macro</span>
</a>
<h1 class="signature">dngettext(domain, msgid, msgid_plural, n, bindings \\ Macro.escape(%{}))</span>
<a href="https://github.com/Belethors-General-Mods/belethor/blob/master/apps/tag_editor/lib/tag_editor_web/gettext.ex#L1" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
<span class="note">(macro)</span>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="dngettext_noop/3">
<div class="detail-header">
<a href="#dngettext_noop/3" class="detail-link" title="Link to this macro">
<span class="icon-link" aria-hidden="true"></span>
<span class="sr-only">Link to this macro</span>
</a>
<h1 class="signature">dngettext_noop(domain, msgid, msgid_plural)</span>
<a href="https://github.com/Belethors-General-Mods/belethor/blob/master/apps/tag_editor/lib/tag_editor_web/gettext.ex#L1" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
<span class="note">(macro)</span>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="gettext/2">
<span id="gettext/1"></span>
<div class="detail-header">
<a href="#gettext/2" class="detail-link" title="Link to this macro">
<span class="icon-link" aria-hidden="true"></span>
<span class="sr-only">Link to this macro</span>
</a>
<h1 class="signature">gettext(msgid, bindings \\ Macro.escape(%{}))</span>
<a href="https://github.com/Belethors-General-Mods/belethor/blob/master/apps/tag_editor/lib/tag_editor_web/gettext.ex#L1" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
<span class="note">(macro)</span>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="gettext_comment/1">
<div class="detail-header">
<a href="#gettext_comment/1" class="detail-link" title="Link to this macro">
<span class="icon-link" aria-hidden="true"></span>
<span class="sr-only">Link to this macro</span>
</a>
<h1 class="signature">gettext_comment(comment)</span>
<a href="https://github.com/Belethors-General-Mods/belethor/blob/master/apps/tag_editor/lib/tag_editor_web/gettext.ex#L1" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
<span class="note">(macro)</span>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="gettext_noop/1">
<div class="detail-header">
<a href="#gettext_noop/1" class="detail-link" title="Link to this macro">
<span class="icon-link" aria-hidden="true"></span>
<span class="sr-only">Link to this macro</span>
</a>
<h1 class="signature">gettext_noop(msgid)</span>
<a href="https://github.com/Belethors-General-Mods/belethor/blob/master/apps/tag_editor/lib/tag_editor_web/gettext.ex#L1" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
<span class="note">(macro)</span>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="handle_missing_bindings/2">
<div class="detail-header">
<a href="#handle_missing_bindings/2" class="detail-link" title="Link to this function">
<span class="icon-link" aria-hidden="true"></span>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature">handle_missing_bindings(exception, incomplete)</span>
<a href="https://github.com/Belethors-General-Mods/belethor/blob/master/apps/tag_editor/lib/tag_editor_web/gettext.ex#L23" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
<p>Default handling for missing bindings.</p>
<p>This function is called when there are missing bindings in a translation. It
takes a <a href="https://hexdocs.pm/gettext/0.16.1/Gettext.MissingBindingsError.html"><code class="inline">Gettext.MissingBindingsError</code></a> struct and the translation with the
wrong bindings left as is with the <code class="inline">%{}</code> syntax.</p>
<p>For example, if something like this is called:</p>
<pre><code class="nohighlight makeup elixir"><span class="nc">MyApp.Gettext</span><span class="o">.</span><span class="n">gettext</span><span class="p" data-group-id="9244811380-1">(</span><span class="s">"Hello %{name}, welcome to %{country}"</span><span class="p">,</span><span class="w"> </span><span class="ss">name</span><span class="p">:</span><span class="w"> </span><span class="s">"Jane"</span><span class="p">,</span><span class="w"> </span><span class="ss">country</span><span class="p">:</span><span class="w"> </span><span class="s">"Italy"</span><span class="p" data-group-id="9244811380-1">)</span></code></pre>
<p>and our <code class="inline">it/LC_MESSAGES/default.po</code> looks like this:</p>
<pre><code class="nohighlight makeup elixir"><span class="n">msgid</span><span class="w"> </span><span class="s">"Hello %{name}, welcome to %{country}"</span><span class="w">
</span><span class="n">msgstr</span><span class="w"> </span><span class="s">"Ciao %{name}, benvenuto in %{cowntry}"</span><span class="w"> </span><span class="c1"># (typo)</span></code></pre>
<p>then Gettext will call:</p>
<pre><code class="nohighlight makeup elixir"><span class="nc">MyApp.Gettext</span><span class="o">.</span><span class="n">handle_missing_bindings</span><span class="p" data-group-id="4382792475-1">(</span><span class="n">exception</span><span class="p">,</span><span class="w"> </span><span class="s">"Ciao Jane, benvenuto in %{cowntry}"</span><span class="p" data-group-id="4382792475-1">)</span></code></pre>
<p>where <code class="inline">exception</code> is a struct that looks like this:</p>
<pre><code class="nohighlight makeup elixir"><span class="p" data-group-id="9674114140-1">%</span><span class="nc" data-group-id="9674114140-1">Gettext.MissingBindingsError</span><span class="p" data-group-id="9674114140-1">{</span><span class="w">
</span><span class="ss">backend</span><span class="p">:</span><span class="w"> </span><span class="nc">MyApp.Gettext</span><span class="p">,</span><span class="w">
</span><span class="ss">domain</span><span class="p">:</span><span class="w"> </span><span class="s">"default"</span><span class="p">,</span><span class="w">
</span><span class="ss">locale</span><span class="p">:</span><span class="w"> </span><span class="s">"it"</span><span class="p">,</span><span class="w">
</span><span class="ss">msgid</span><span class="p">:</span><span class="w"> </span><span class="s">"Hello %{name}, welcome to %{country}"</span><span class="p">,</span><span class="w">
</span><span class="ss">bindings</span><span class="p">:</span><span class="w"> </span><span class="p" data-group-id="9674114140-2">[</span><span class="ss">:country</span><span class="p" data-group-id="9674114140-2">]</span><span class="p">,</span><span class="w">
</span><span class="p" data-group-id="9674114140-1">}</span></code></pre>
<p>The return value of the <code class="inline">c:handle_missing_bindings/2</code> callback is used as the
translated string that the translation macros and functions return.</p>
<p>The default implementation for this function uses <a href="https://hexdocs.pm/logger/Logger.html#error/1"><code class="inline">Logger.error/1</code></a> to warn
about the missing binding and returns the translated message with the
incomplete bindings.</p>
<p>This function can be overridden. For example, to raise when there are missing
bindings:</p>
<pre><code class="nohighlight makeup elixir"><span class="kd">def</span><span class="w"> </span><span class="nf">handle_missing_bindings</span><span class="p" data-group-id="2066426933-1">(</span><span class="n">exception</span><span class="p">,</span><span class="w"> </span><span class="c">_incomplete</span><span class="p" data-group-id="2066426933-1">)</span><span class="w"> </span><span class="k" data-group-id="2066426933-2">do</span><span class="w">
</span><span class="k">raise</span><span class="w"> </span><span class="n">exception</span><span class="w">
</span><span class="k" data-group-id="2066426933-2">end</span></code></pre>
<p>Callback implementation for <a href="https://hexdocs.pm/gettext/0.16.1/Gettext.Backend.html#c:handle_missing_bindings/2"><code class="inline">Gettext.Backend.handle_missing_bindings/2</code></a>.</p>
</section>
</section>
<section class="detail" id="handle_missing_plural_translation/6">
<div class="detail-header">
<a href="#handle_missing_plural_translation/6" class="detail-link" title="Link to this function">
<span class="icon-link" aria-hidden="true"></span>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature">handle_missing_plural_translation(locale, domain, msgid, msgid_plural, n, bindings)</span>
<a href="https://github.com/Belethors-General-Mods/belethor/blob/master/apps/tag_editor/lib/tag_editor_web/gettext.ex#L23" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
<p>Default handling for plural translations with a missing translation.</p>
<p>Same as <code class="inline">c:handle_missing_translation/4</code>, but for plural translations. In this case, <code class="inline">n</code> is
the number used for pluralizing the translated string.</p>
<p>Callback implementation for <a href="https://hexdocs.pm/gettext/0.16.1/Gettext.Backend.html#c:handle_missing_plural_translation/6"><code class="inline">Gettext.Backend.handle_missing_plural_translation/6</code></a>.</p>
</section>
</section>
<section class="detail" id="handle_missing_translation/4">
<div class="detail-header">
<a href="#handle_missing_translation/4" class="detail-link" title="Link to this function">
<span class="icon-link" aria-hidden="true"></span>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature">handle_missing_translation(locale, domain, msgid, bindings)</span>
<a href="https://github.com/Belethors-General-Mods/belethor/blob/master/apps/tag_editor/lib/tag_editor_web/gettext.ex#L23" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
<p>Default handling for translations with a missing translation.</p>
<p>When a Gettext function/macro is called with a string to translate into a locale but that
locale doesn't provide a translation for that string, this callback is invoked. <code class="inline">msgid</code> is the
string that Gettext tried to translate.</p>
<p>This function should return <code class="inline">{:ok, translated}</code> if a translation can be fetched or constructed
for the given string, or <code class="inline">{:default, msgid}</code> otherwise.</p>
<p>Callback implementation for <a href="https://hexdocs.pm/gettext/0.16.1/Gettext.Backend.html#c:handle_missing_translation/4"><code class="inline">Gettext.Backend.handle_missing_translation/4</code></a>.</p>
</section>
</section>
<section class="detail" id="lgettext/4">
<div class="detail-header">
<a href="#lgettext/4" class="detail-link" title="Link to this function">
<span class="icon-link" aria-hidden="true"></span>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature">lgettext(locale, domain, msgid, bindings)</span>
<a href="https://github.com/Belethors-General-Mods/belethor/blob/master/apps/tag_editor/lib/tag_editor_web/gettext.ex#L1" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="lngettext/6">
<div class="detail-header">
<a href="#lngettext/6" class="detail-link" title="Link to this function">
<span class="icon-link" aria-hidden="true"></span>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature">lngettext(locale, domain, msgid, msgid_plural, n, bindings)</span>
<a href="https://github.com/Belethors-General-Mods/belethor/blob/master/apps/tag_editor/lib/tag_editor_web/gettext.ex#L1" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="ngettext/4">
<span id="ngettext/3"></span>
<div class="detail-header">
<a href="#ngettext/4" class="detail-link" title="Link to this macro">
<span class="icon-link" aria-hidden="true"></span>
<span class="sr-only">Link to this macro</span>
</a>
<h1 class="signature">ngettext(msgid, msgid_plural, n, bindings \\ Macro.escape(%{}))</span>
<a href="https://github.com/Belethors-General-Mods/belethor/blob/master/apps/tag_editor/lib/tag_editor_web/gettext.ex#L1" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
<span class="note">(macro)</span>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="ngettext_noop/2">
<div class="detail-header">
<a href="#ngettext_noop/2" class="detail-link" title="Link to this macro">
<span class="icon-link" aria-hidden="true"></span>
<span class="sr-only">Link to this macro</span>
</a>
<h1 class="signature">ngettext_noop(msgid, msgid_plural)</span>
<a href="https://github.com/Belethors-General-Mods/belethor/blob/master/apps/tag_editor/lib/tag_editor_web/gettext.ex#L1" class="view-source" rel="help" title="View Source">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
<span class="note">(macro)</span>
</div>
<section class="docstring">
</section>
</section>
</div>
</section>
<footer class="footer">
<p>
<span class="line">
Built using
<a href="https://github.com/elixir-lang/ex_doc" title="ExDoc" target="_blank" rel="help noopener">ExDoc</a> (v0.19.3),
</span>
<span class="line">
designed by
<a href="https://twitter.com/dignifiedquire" target="_blank" rel="noopener" title="@dignifiedquire">Friedel Ziegelmayer</a>.
</span>
</p>
</footer>
</div>
</div>
</section>
</div>
</body>
</html>