2121 @if (strtoupper (substr (PHP_OS , 0 , 3 )) === ' WIN' )
2222 @if (env (' JOIN_BETA' ) === true )
2323 <p ><?php echo " latest beta version= " . external_file_get_contents (" https://beta.linkstack.org/vbeta.json" ); ? > </p >
24- <p ><?php if (file_exists (base_path (" vbeta.json" ))) {echo " Installed beta version= " . file_get_contents (base_path (" vbeta.json" ));} else {echo " Installed beta version= none " ;} ? > </p >
25- <p ><?php if ($Vgit > $Vlocal ) {echo " You need to update to the latest mainline release" ;} else {echo " You' re running the latest mainline release" ;} ? > </p >
24+ <p ><?php if (file_exists (base_path (" vbeta.json" ))) {echo __ ( ' messages. Installed beta version' ) . " = " . file_get_contents (base_path (" vbeta.json" ));} else {echo __ ( ' messages. Installed beta version' ) . " = " . __ ( ' messages.none ' ) ;} ? > </p >
25+ <p ><?php if ($Vgit > $Vlocal ) {echo __ ( ' messages. You need to update to the latest mainline release' ) ;} else {echo __ ( " messages. You’ re running the latest mainline release" ) ;} ? > </p >
2626 @else
27- <h4 class = " " >You can update your installation automatically or download the update and install it manually: </h4 >
28- <h5 class = " " >Windows users can use the alternative updater. This updater won't create a backup. Use at your own discretion. </h5 >
27+ <h4 > {{ __ ( ' messages. update. manually' ) } } </h4 >
28+ <h5 > {{ __ ( ' messages.update.windows ' ) } } </h5 >
2929 @endif
3030 <br ><div class =" row" >
31- &ensp ; <a class =" btn" href =" {{ url ()-> current ()} } /?updating-windows" ><button ><i class =" fa-solid fa-user-gear btn" ></i > Update automatically</button ></a >&ensp ;
32- &ensp ; <a class =" btn" href =" https://linkstack.org/update" target =" _blank" ><button ><i class =" fa-solid fa-download btn" ></i > Update manually</button ></a >&ensp ;
31+ &ensp ; <a class =" btn" href =" {{ url ()-> current ()} } /?updating-windows" ><button ><i class =" fa-solid fa-user-gear btn" ></i > {{ __ ( ' messages. Update automatically' ) } } </button ></a >&ensp ;
32+ &ensp ; <a class =" btn" href =" https://linkstack.org/update" target =" _blank" ><button ><i class =" fa-solid fa-download btn" ></i > {{ __ ( ' messages. Update manually' ) } } </button ></a >&ensp ;
3333 </div >
3434 @else
3535 @if (env (' JOIN_BETA' ) === true )
3838 <p ><?php if ($Vgit > $Vlocal ) {echo " You need to update to the latest mainline release" ;} else {echo " You're running the latest mainline release" ;} ? > </p >
3939 @else
4040 <a target =" _blank" href =" https://github.com/linkstackorg/linkstack/releases" ><code style =" color :#222 ;transform :scale (.9 );" >{{ $Vlocal } } -> {{ $Vgit } } </code ></a >
41- <h4 class = " " >You can update your installation automatically or download the update and install it manually: </h4 >
41+ <h4 > {{ __ ( ' messages. update. manually' ) } } </h4 >
4242 @endif
4343 <br ><div class =" row" >
4444 @if (env (' SKIP_UPDATE_BACKUP' ) == true )
45- &ensp ; <a class =" btn" href =" {{ url ()-> current ()} } /?preparing" ><button ><i class =" fa-solid fa-user-gear btn" ></i > Update automatically</button ></a >&ensp ;
45+ &ensp ; <a class =" btn" href =" {{ url ()-> current ()} } /?preparing" ><button ><i class =" fa-solid fa-user-gear btn" ></i > {{ __ ( ' messages. Update automatically' ) } } </button ></a >&ensp ;
4646 @else
47- &ensp ; <a class =" btn" href =" {{ url ()-> current ()} } /?backup" ><button ><i class =" fa-solid fa-user-gear btn" ></i > Update automatically</button ></a >&ensp ;
47+ &ensp ; <a class =" btn" href =" {{ url ()-> current ()} } /?backup" ><button ><i class =" fa-solid fa-user-gear btn" ></i > {{ __ ( ' messages. Update automatically' ) } } </button ></a >&ensp ;
4848 @endif
49- &ensp ; <a class =" btn" href =" https://linkstack.org/update" target =" _blank" ><button ><i class =" fa-solid fa-download btn" ></i > Update manually</button ></a >&ensp ;
49+ &ensp ; <a class =" btn" href =" https://linkstack.org/update" target =" _blank" ><button ><i class =" fa-solid fa-download btn" ></i > {{ __ ( ' messages. Update manually' ) } } </button ></a >&ensp ;
5050 </div >
5151 @endif
5252
5858 <div class =" logo-container fadein" >
5959<img class =" logo-img" src =" {{ asset (' assets/linkstack/images/logo-loading.svg' ) } }" alt =" Logo" >
6060 </div >
61- <h1 class =" loadingtxt" >Updating</h1 >
61+ <h1 class =" loadingtxt" >{{ __ ( ' messages. Updating' ) } } </h1 >
6262 @Push (' updater-head' )
6363 <meta http-equiv =" refresh" content =" 2; URL={{ url ()-> current ()} } /?preparing" />
6464 @endpush
110110 <div class =" logo-container fadein" >
111111<img class =" logo-img" src =" {{ asset (' assets/linkstack/images/logo-loading.svg' ) } }" alt =" Logo" >
112112 </div >
113- <h1 class =" loadingtxt" >Creating backup</h1 >
113+ <h1 class =" loadingtxt" >{{ __ ( ' messages. Creating backup' ) } } </h1 >
114114@endif
115115
116116@if ($_SERVER [' QUERY_STRING' ] === ' backups' )
130130 <div class =" logo-container fadein" >
131131<img class =" logo-img" src =" {{ asset (' assets/linkstack/images/logo-loading.svg' ) } }" alt =" Logo" >
132132 </div >
133- <h1 class =" loadingtxt" >Preparing update</h1 >
133+ <h1 class =" loadingtxt" >{{ __ ( ' messages. Preparing update' ) } } </h1 >
134134
135135 <?php // Get update preperation script from GitHub
136136 try {
154154 <div class =" logo-container fadein" >
155155<img class =" logo-img" src =" {{ asset (' assets/linkstack/images/logo-loading.svg' ) } }" alt =" Logo" >
156156 </div >
157- <h1 class =" loadingtxt" >Updating</h1 >
157+ <h1 class =" loadingtxt" >{{ __ ( ' messages. Updating' ) } } </h1 >
158158 @Push (' updater-head' )
159159 <meta http-equiv =" refresh" content =" 2; URL={{ url ()-> current ()} } /../updating" />
160160 @endpush
166166 <div class =" logo-container fadein" >
167167<img class =" logo-img" src =" {{ asset (' assets/linkstack/images/logo.svg' ) } }" alt =" Logo" >
168168 </div >
169- <h1 >No new version</h1 >
170- <h4 class = " " > There is no new version available</h4 >
169+ <h1 >{{ __ ( ' messages. No new version' ) } } </h1 >
170+ <h4 > {{ __ ( ' messages. There is no new version available' ) } } </h4 >
171171 <br ><div class =" row" >
172- &ensp ; <a class =" btn" href =" {{ url (' dashboard' ) } }" ><button ><i class =" fa-solid fa-house-laptop btn" ></i > Admin Panel</button ></a >&ensp ;
172+ &ensp ; <a class =" btn" href =" {{ url (' dashboard' ) } }" ><button ><i class =" fa-solid fa-house-laptop btn" ></i > {{ __ ( ' messages. Admin Panel' ) } } </button ></a >&ensp ;
173173 </div >
174174
175175@endif
188188 <div class =" logo-container fadein" >
189189<img class =" logo-img" src =" {{ asset (' assets/linkstack/images/logo-loading.svg' ) } }" alt =" Logo" >
190190 </div >
191- <h1 class =" loadingtxt" >Finishing up</h1 >
191+ <h1 class =" loadingtxt" >{{ __ ( ' messages. Finishing up' ) } } </h1 >
192192
193193 @include (' components.finishing' )
194194
210210 <div class =" logo-container fadein" >
211211<img class =" logo-img" src =" {{ asset (' assets/linkstack/images/logo.svg' ) } }" alt =" Logo" >
212212 </div >
213- <h1 >Success!</h1 >
213+ <h1 >{{ __ ( ' messages. Success!' ) } } </h1 >
214214 @if (env (' JOIN_BETA' ) === true )
215215 <p ><?php echo " latest beta version= " . external_file_get_contents (" https://beta.linkstack.org/vbeta.json" ); ? > </p >
216- <p ><?php if (file_exists (base_path (" vbeta.json" ))) {echo " Installed beta version= " . file_get_contents (base_path (" vbeta.json" ));} else {echo " Installed beta version= none " ;} ? > </p >
217- <p ><?php if ($Vgit > $Vlocal ) {echo " You need to update to the latest mainline release" ;} else {echo " You' re running the latest mainline release" ;} ? > </p >
216+ <p ><?php if (file_exists (base_path (" vbeta.json" ))) {echo __ ( ' messages. Installed beta version' ) . " = " . file_get_contents (base_path (" vbeta.json" ));} else {echo __ ( ' messages. Installed beta version' ) . " = " . __ ( ' messages.none ' ) ;} ? > </p >
217+ <p ><?php if ($Vgit > $Vlocal ) {echo __ ( ' messages. You need to update to the latest mainline release' ) ;} else {echo __ ( " messages. You’ re running the latest mainline release" ) ;} ? > </p >
218218 @else
219- <h4 class = " " > The update was successful, you can now return to the Admin Panel. </h4 >
219+ <h4 > {{ __ ( ' messages. The update was successful' ) } } </h4 >
220220 <style >.noteslink :hover {color :#006fd5 ;text-shadow :0px 6px 7px rgba (23 ,10 ,6 ,0.66 );} </style >
221- <a class =" noteslink" href =" https://github.com/linkstackorg/linkstack/releases/latest" target =" _blank" ><i class =" fa-solid fa-up-right-from-square" ></i > View the release notes</a >
221+ <a class =" noteslink" href =" https://github.com/linkstackorg/linkstack/releases/latest" target =" _blank" ><i class =" fa-solid fa-up-right-from-square" ></i > {{ __ ( ' messages. View the release notes' ) } } </a >
222222 <br >
223223 @endif
224224 <br ><div class =" row" >
225- &ensp ; <a class =" btn" href =" {{ url (' dashboard' ) } }" ><button ><i class =" fa-solid fa-house-laptop btn" ></i > Admin Panel</button ></a >&ensp ;
225+ &ensp ; <a class =" btn" href =" {{ url (' dashboard' ) } }" ><button ><i class =" fa-solid fa-house-laptop btn" ></i > {{ __ ( ' messages. Admin Panel' ) } } </button ></a >&ensp ;
226226
227227 @if (env (' JOIN_BETA' ) === true )
228- &ensp ; <a class =" btn" href =" {{ url ()-> current ()} } /" ><button ><i class =" fa-solid fa-arrow-rotate-right btn" ></i > Run again</button ></a >&ensp ;
228+ &ensp ; <a class =" btn" href =" {{ url ()-> current ()} } /" ><button ><i class =" fa-solid fa-arrow-rotate-right btn" ></i > {{ __ ( ' messages. Run again' ) } } </button ></a >&ensp ;
229229 @endif
230230 </div >
231231
239239 <div class =" logo-container fadein" >
240240<img class =" logo-img" src =" {{ asset (' assets/linkstack/images/logo.svg' ) } }" alt =" Logo" >
241241 </div >
242- <h1 >Error</h1 >
243- <h4 class = " " > Something went wrong with the update :(</h4 >
242+ <h1 >{{ __ ( ' messages. Error' ) } } </h1 >
243+ <h4 > {{ __ ( ' messages. Something went wrong with the update' ) } } :(</h4 >
244244 <br ><div class =" row" >
245- &ensp ; <a class =" btn" href =" {{ url (' dashboard' ) } }" ><button ><i class =" fa-solid fa-house-laptop btn" ></i > Admin Panel</button ></a >&ensp ;
245+ &ensp ; <a class =" btn" href =" {{ url (' dashboard' ) } }" ><button ><i class =" fa-solid fa-house-laptop btn" ></i > {{ __ ( ' messages. Admin Panel' ) } } </button ></a >&ensp ;
246246 </div >
247247
248248@endif
249249
250- @if (" 8" > phpversion () ) <br ><br ><a style =" background-color :tomato ;color :#fff ;border-radius :5px ;" class =" nav-link" href =" {{ url (' /studio/profile' ) } }" target =" " ><i class =" bi bi-exclamation-circle-fill" ></i > <strong >You are using an outdated version of PHP! Official support for this version will end soon.</strong ></a > @endif
251-
252250</div >
253251@endpush
0 commit comments