Skip to content

Commit 8cfc9d0

Browse files
authored
Merge pull request #7 from saaspegasus/pegasus-2026.7.2-1785416702.820972
Pegasus update to version 2026.7.2 (translations)
2 parents 6cd1f9c + 5f178ac commit 8cfc9d0

14 files changed

Lines changed: 58 additions & 44 deletions

pegasus-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ cli:
66
template_directory: templates
77
use_teams: false
88
default_context:
9-
_pegasus_version: 2026.7.1
9+
_pegasus_version: 2026.7.2
1010
api_framework: drf
1111
author_name: Cory Zue
1212
bundler: vite

templates/account/email.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ <h2 class="text-xl mb-1">{% translate "Add E-mail Address" %}</h2>
5959
var actions = document.getElementsByName('action_remove');
6060
if (actions.length) {
6161
actions[0].addEventListener("click", function (e) {
62-
console.log('asdlfkjsadlkjflsakjdflksdaj')
6362
if (!confirm(message)) {
6463
e.preventDefault();
6564
}

templates/account/logout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{% load i18n %}
44
{% block app %}
55
<section class="app-card">
6-
<h1 class="text-3xl font-bold mb-2">Sign out</h1>
6+
<h1 class="text-3xl font-bold mb-2">{% translate "Sign out" %}</h1>
77
<p class="text-xl mb-1">{% translate 'Are you sure you want to sign out?' %}</p>
88
<form method="post" action="{% url 'account_logout' %}">
99
{% csrf_token %}

templates/account/signup.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<div class="w-96 px-4 py-4">
1313
<div>
1414
<h2 class="mt-6 text-center text-2xl font-bold text-gray-900 dark:text-gray-100">
15-
Sign up
15+
{% translate "Sign up" %}
1616
</h2>
1717
<form class="mt-6 space-y-6" method="post">
1818
{% csrf_token %}

templates/error_base.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{% extends "web/base.html" %}
22
{% load static %}
3+
{% load i18n %}
34
{% block body %}
45
<section class="section mt-7">
56
<div class="container">
67
<div class="flex flex-col space-y-4 lg:flex-row lg:space-x-4 lg:space-y-0 lg:flex-row-reverse items-center">
78
<div class="flex-1">
8-
<img class="img-fluid" src="{% static 'images/undraw/undraw_alert.svg' %}" alt="Uh-Oh">
9+
<img class="img-fluid" src="{% static 'images/undraw/undraw_alert.svg' %}" alt="{% translate "Uh-Oh" %}">
910
</div>
1011
<div class="flex-1">
1112
{% block error_details %}

templates/web/app_home.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ <h2 class="text-xl mb-1">
1313
{% translate "This is your application's logged in home page." %}
1414
</h2>
1515
<p>
16-
Now go make something great!
16+
{% translate "Now go make something great!" %}
1717
</p>
1818
</div>
1919
</div>
2020
</section>
2121
<section class="app-card">
2222
<div class="prose max-w-none lg:prose-lg">
23-
<p>To add more to this page you can make new sections like this one.</p>
24-
<p>Tip: the source of this page can be found at <code>templates/web/app_home.html</code></p>
23+
<p>{% translate "To add more to this page you can make new sections like this one." %}</p>
24+
<p>{% blocktranslate trimmed %}Tip: the source of this page can be found at <code>templates/web/app_home.html</code>{% endblocktranslate %}</p>
2525
</div>
2626
</section>
2727
{% endblock %}

templates/web/components/cta.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1+
{% load i18n %}
12
<div class="bg-indigo-50 dark:bg-indigo-900">
23
<div class="mx-auto max-w-7xl py-12 px-6 lg:flex lg:items-center lg:justify-between lg:py-24 lg:px-8">
34
<h2 class="text-3xl font-bold tracking-tight text-gray-900 dark:text-gray-100 md:text-4xl">
4-
<span class="block">Ready to dive in?</span>
5-
<span class="block text-primary">Get your first customer in minutes.</span>
5+
<span class="block">{% translate "Ready to dive in?" %}</span>
6+
<span class="block text-primary">{% translate "Get your first customer in minutes." %}</span>
67
</h2>
78
<div class="mt-8 flex lg:mt-0 lg:shrink-0">
89
<div class="inline-flex rounded-md shadow-2xs">
9-
<a href="{% url 'account_signup' %}" class="btn btn-primary">Get started</a>
10+
<a href="{% url 'account_signup' %}" class="btn btn-primary">{% translate "Get started" %}</a>
1011
</div>
1112
</div>
1213
</div>

templates/web/components/feature_highlight.html

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
{% load i18n %}
12
<section>
23
<div class="py-8 px-4 mx-auto max-w-(--breakpoint-xl) sm:py-16 lg:px-6 text-black">
34
<div class="mx-auto text-center max-w-(--breakpoint-md) mb-8 lg:mb-16">
4-
<h2 class="text-base font-semibold leading-7 text-primary">Powerful Built-In Features</h2>
5+
<h2 class="text-base font-semibold leading-7 text-primary">{% translate "Powerful Built-In Features" %}</h2>
56
<h2 class="mt-2 mb-4 text-4xl tracking-tight font-extrabold text-gray-900 dark:text-gray-100">
6-
Headlines that catch your attention
7+
{% translate "Headlines that catch your attention" %}
78
</h2>
89
</div>
910
<div class="space-y-8 md:grid md:grid-cols-2 lg:grid-cols-3 md:gap-12 md:space-y-0">
@@ -22,11 +23,11 @@ <h2 class="mt-2 mb-4 text-4xl tracking-tight font-extrabold text-gray-900 dark:t
2223
</svg>
2324
</div>
2425
<div class="col-span-5 lg:col-span-0">
25-
<h3 class="mb-2 text-xl font-bold text-gray-900 dark:text-gray-100">Headline 1</h3>
26-
<p class="text-gray-500 dark:text-gray-400">Short explanation of headline 1</p>
26+
<h3 class="mb-2 text-xl font-bold text-gray-900 dark:text-gray-100">{% translate "Headline 1" %}</h3>
27+
<p class="text-gray-500 dark:text-gray-400">{% translate "Short explanation of headline 1" %}</p>
2728
<p class="mt-6">
2829
<a href="#section1" class="text-sm font-semibold leading-6 text-primary">
29-
Learn more<span aria-hidden="true"></span>
30+
{% translate "Learn more" %}<span aria-hidden="true"></span>
3031
</a>
3132
</p>
3233
</div>
@@ -43,10 +44,10 @@ <h3 class="mb-2 text-xl font-bold text-gray-900 dark:text-gray-100">Headline 1</
4344
</svg>
4445
</div>
4546
<div class="col-span-5 lg:col-span-0">
46-
<h3 class="mb-2 text-xl font-bold text-gray-900 dark:text-gray-100">Headline 2</h3>
47-
<p class="text-gray-500 dark:text-gray-400">Short explanation of headline 2</p>
47+
<h3 class="mb-2 text-xl font-bold text-gray-900 dark:text-gray-100">{% translate "Headline 2" %}</h3>
48+
<p class="text-gray-500 dark:text-gray-400">{% translate "Short explanation of headline 2" %}</p>
4849
<p class="mt-6">
49-
<a href="#section2" class="text-sm font-semibold leading-6 text-primary">Learn more
50+
<a href="#section2" class="text-sm font-semibold leading-6 text-primary">{% translate "Learn more" %}
5051
<span aria-hidden="true"></span>
5152
</a>
5253
</p>
@@ -64,8 +65,8 @@ <h3 class="mb-2 text-xl font-bold text-gray-900 dark:text-gray-100">Headline 2</
6465
</svg>
6566
</div>
6667
<div class="col-span-5 lg:col-span-0">
67-
<h3 class="mb-2 text-xl font-bold text-gray-900 dark:text-gray-100">Headline 3</h3>
68-
<p class="text-gray-500 dark:text-gray-400">Short explanation of headline 3</p>
68+
<h3 class="mb-2 text-xl font-bold text-gray-900 dark:text-gray-100">{% translate "Headline 3" %}</h3>
69+
<p class="text-gray-500 dark:text-gray-400">{% translate "Short explanation of headline 3" %}</p>
6970
</div>
7071
</div>
7172
</div>

templates/web/components/landing_section1.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1+
{% load i18n %}
12
{% load static %}
23
<section>
34
<div class="overflow-hidden py-12" id="section1">
45
<div class="py-8 px-4 mx-auto max-w-(--breakpoint-xl) sm:py-16 lg:px-6 text-black">
56
<div class="grid grid-cols-1 lg:grid-cols-2 gap-x-8">
67
<div class="space-y-8">
78
<div class="max-w-(--breakpoint-md) mb-8 lg:mb-8">
8-
<h2 class="text-base font-semibold leading-7 text-primary">Headline 1 in detail</h2>
9-
<p class="mt-2 text-3xl font-bold tracking-tight text-gray-900 dark:text-gray-100 sm:text-4xl">It really is amazing</p>
9+
<h2 class="text-base font-semibold leading-7 text-primary">{% translate "Headline 1 in detail" %}</h2>
10+
<p class="mt-2 text-3xl font-bold tracking-tight text-gray-900 dark:text-gray-100 sm:text-4xl">{% translate "It really is amazing" %}</p>
1011
<p class="mt-6 text-lg leading-8 text-gray-600 dark:text-gray-300">
1112
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed sit amet purus in odio ultricies
1213
</p>
@@ -19,7 +20,7 @@ <h2 class="text-base font-semibold leading-7 text-primary">Headline 1 in detail<
1920
</svg>
2021
</div>
2122
<div class="col-span-5">
22-
<h3 class="mb-2 text-xl font-bold text-gray-900 dark:text-gray-100">Something good</h3>
23+
<h3 class="mb-2 text-xl font-bold text-gray-900 dark:text-gray-100">{% translate "Something good" %}</h3>
2324
<p class="text-gray-500 dark:text-gray-400">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed sit amet purus in odio ultricies</p>
2425
</div>
2526
</div>
@@ -30,7 +31,7 @@ <h3 class="mb-2 text-xl font-bold text-gray-900 dark:text-gray-100">Something go
3031
</svg>
3132
</div>
3233
<div class="col-span-5">
33-
<h3 class="mb-2 text-xl font-bold text-gray-900 dark:text-gray-100">Something better</h3>
34+
<h3 class="mb-2 text-xl font-bold text-gray-900 dark:text-gray-100">{% translate "Something better" %}</h3>
3435
<p class="text-gray-500 dark:text-gray-400">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed sit amet purus in odio ultricies</p>
3536
</div>
3637
</div>
@@ -42,13 +43,13 @@ <h3 class="mb-2 text-xl font-bold text-gray-900 dark:text-gray-100">Something be
4243
</svg>
4344
</div>
4445
<div class="col-span-5">
45-
<h3 class="mb-2 text-xl font-bold text-gray-900 dark:text-gray-100">Best yet!</h3>
46+
<h3 class="mb-2 text-xl font-bold text-gray-900 dark:text-gray-100">{% translate "Best yet!" %}</h3>
4647
<p class="text-gray-500 dark:text-gray-400">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed sit amet purus in odio ultricies</p>
4748
</div>
4849
</div>
4950
</div>
5051
<div class="mt-8 lg:mt-0">
51-
<img src="{% static 'images/undraw/undraw_outer_space.svg' %}" alt="Incredible" class="w-[48rem] max-w-none sm:w-[57rem] md:-ml-4 lg:-ml-0" width="2432" height="1442">
52+
<img src="{% static 'images/undraw/undraw_outer_space.svg' %}" alt="{% translate "Incredible" %}" class="w-[48rem] max-w-none sm:w-[57rem] md:-ml-4 lg:-ml-0" width="2432" height="1442">
5253
</div>
5354
</div>
5455
</div>

templates/web/components/landing_section2.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
1+
{% load i18n %}
12
{% load static %}
23
<section>
34
<div class="overflow-hidden py-12" id="section2">
45
<div class="py-8 px-4 mx-auto max-w-(--breakpoint-xl) sm:py-16 lg:px-6 text-black">
56
<div class="grid grid-cols-1 lg:grid-cols-2 gap-x-8">
67
<div class="mb-8 lg:mb-0 relative">
7-
<img src="{% static 'images/undraw/undraw_outer_space.svg' %}" alt="Amazing" class="lg:absolute top-0 right-0 w-[48rem] max-w-none sm:w-[57rem]" width="2432" height="1442">
8+
<img src="{% static 'images/undraw/undraw_outer_space.svg' %}" alt="{% translate "Amazing" %}" class="lg:absolute top-0 right-0 w-[48rem] max-w-none sm:w-[57rem]" width="2432" height="1442">
89
</div>
910
<div class="ml-8 space-y-8">
1011
<div class="max-w-(--breakpoint-md) mb-8 lg:mb-8">
11-
<h2 class="text-base font-semibold leading-7 text-primary">Headline 2 in detail</h2>
12-
<p class="mt-2 text-3xl font-bold tracking-tight text-gray-900 dark:text-gray-100 sm:text-4xl">This app is so great</p>
12+
<h2 class="text-base font-semibold leading-7 text-primary">{% translate "Headline 2 in detail" %}</h2>
13+
<p class="mt-2 text-3xl font-bold tracking-tight text-gray-900 dark:text-gray-100 sm:text-4xl">{% translate "This app is so great" %}</p>
1314
<p class="mt-6 text-lg leading-8 text-gray-600 dark:text-gray-300">
1415
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed sit amet purus in odio ultricies
1516
</p>
@@ -21,7 +22,7 @@ <h2 class="text-base font-semibold leading-7 text-primary">Headline 2 in detail<
2122
</svg>
2223
</div>
2324
<div class="col-span-5">
24-
<h3 class="mb-2 text-xl font-bold dark:text-gray-100">A feature</h3>
25+
<h3 class="mb-2 text-xl font-bold dark:text-gray-100">{% translate "A feature" %}</h3>
2526
<p class="text-gray-500 dark:text-gray-400">And lorem ipsum</p>
2627
</div>
2728
</div>
@@ -32,7 +33,7 @@ <h3 class="mb-2 text-xl font-bold dark:text-gray-100">A feature</h3>
3233
</svg>
3334
</div>
3435
<div class="col-span-5">
35-
<h3 class="mb-2 text-xl font-bold dark:text-gray-100">Another one</h3>
36+
<h3 class="mb-2 text-xl font-bold dark:text-gray-100">{% translate "Another one" %}</h3>
3637
<p class="text-gray-500 dark:text-gray-400">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed sit amet purus in odio ultricies</p>
3738
</div>
3839
</div>
@@ -44,7 +45,7 @@ <h3 class="mb-2 text-xl font-bold dark:text-gray-100">Another one</h3>
4445
</svg>
4546
</div>
4647
<div class="col-span-5">
47-
<h3 class="mb-2 text-xl font-bold dark:text-gray-100">And a third</h3>
48+
<h3 class="mb-2 text-xl font-bold dark:text-gray-100">{% translate "And a third" %}</h3>
4849
<p class="text-gray-500 dark:text-gray-400">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed sit amet purus in odio ultricies</p>
4950
</div>
5051
</div>

0 commit comments

Comments
 (0)